summaryrefslogtreecommitdiff
path: root/server/score.h
diff options
context:
space:
mode:
Diffstat (limited to 'server/score.h')
-rw-r--r--server/score.h40
1 files changed, 0 insertions, 40 deletions
diff --git a/server/score.h b/server/score.h
deleted file mode 100644
index 6dee09a..0000000
--- a/server/score.h
+++ /dev/null
@@ -1,40 +0,0 @@
-#ifndef SCORE_H
-#define SCORE_H
-
-class Score {
- public:
- //! Points (doubles).
- int yaku;
-
- //! Minipoints.
- int fu;
-
- //! Bonus points.
- int dora;
-
- //! Constructor.
- Score(int yaku_ = 0, int fu_ = 0, int dora_ = 0);
-
- //! Calculate han. (yaku + dora)
- int han();
-
- //! Calculate fu rounded up to closest 10.
- int fu_rounded();
-
- //! Calculate base points.
- int base_points();
-
- //! Score paid upon ron. (4 BP)
- int ron();
-
- //! Score paid upon ron by east. (6 BP)
- int ron_east();
-
- //! Score paid by others upon tsumo by others. (BP)
- int tsumo();
-
- //! Score paid by east upon tsumo by others or others upon tsumo by east. (2 BP)
- int tsumo_east();
-};
-
-#endif