3
* \brief The class representing the state of the game.
6
#ifndef __MATCHES_HPP__
7
#define __MATCHES_HPP__
9
#include "claw/game_ai.hpp"
14
* \brief The class representing the state of the game.
15
* \author Julien Jorge
18
public claw::ai::game::game_state<int>
21
typedef claw::ai::game::game_state<int> state;
24
friend std::ostream& operator<<
25
(std::ostream& os, const state_matches& e);
27
state_matches( int matches, bool computer );
32
// methods from game_state
35
state* do_action( const int& a ) const;
37
void next_actions( std::list<int>& l ) const;
41
// End of the methods from game_state
45
/** \brief Tell if it is the computer's turn. */
48
/** \brief Remaining matches. */