mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-21 10:27:26 +08:00
* v2.1.0 [omit consensus and adjacent] - this commit will be amended with the full release after the file copy is complete * 2.1.0 main node rollup
16 lines
179 B
Go
16 lines
179 B
Go
// -*- go -*-
|
|
//
|
|
// Rock, Paper, Scissors
|
|
|
|
package main
|
|
|
|
func main(g, e int8) string {
|
|
if g == e {
|
|
return "-"
|
|
}
|
|
if (g+1)%3 == e {
|
|
return "evaluator"
|
|
}
|
|
return "garbler"
|
|
}
|