Ejemplo n.º 1
0
 public static object dahai(int actor, int pai, bool tsumogiri)
 {
     return(new { type = "dahai", actor = actor, pai = Pai.dump(pai), tsumogiri = tsumogiri });
 }
Ejemplo n.º 2
0
 static object naki(string type, int actor, int target, int pai, List <int> consumed)
 {
     consumed.Sort();
     return(new { type = type, actor = actor, target = target, pai = Pai.dump(pai), consumed = consumed.Select(Pai.dump).ToList() });
 }
Ejemplo n.º 3
0
 public static object hora(int actor, int target, int pai)
 {
     return(new { type = "hora", actor = actor, target = target, pai = Pai.dump(pai) });
 }