blob: 9ad73ec489c17517f2f73f6f35cd7cc03609729a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
#ifndef STANDARD_H
#define STANDARD_H
#include "gamevariant.h"
#include "wall.h"
#include "../common/set.h"
namespace RuleSet {
class Standard : public GameVariant {
private:
//! The wall that belongs to this game
Wall wall;
//! The current state of the game
State game_state;
//! Current player, used when discarding etc
int current_player;
//! Are we in draw or discard phase?
bool draw_phase;
//! Number of players doing action
int num_player_actions;
//! Highest value action done
Action most_value_action;
public:
virtual void round_start();
virtual State& round_update();
virtual bool round_action(Action action);
};
};
#endif // STANDARD_H
|