summaryrefslogtreecommitdiff
path: root/server/game.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/game.h')
-rw-r--r--server/game.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/server/game.h b/server/game.h
index 5613751..8bf89e8 100644
--- a/server/game.h
+++ b/server/game.h
@@ -59,9 +59,15 @@ class Game : public boost::enable_shared_from_this<Game> {
//! Check if it's possible to make a concealed kan or extend an open kan.
Targets can_kan();
- // Check if tile can be called to kan target.
+ //! Check if tile can be called to kan target.
bool can_kan(Tile tile, int target);
+ //! Check if hand is complete.
+ bool can_tsumo();
+
+ //! Check if tile can be called to complete hand.
+ bool can_ron(Tile tile);
+
//! Draw tile.
void draw(Tile tile);