1 //-----------------------------------------------------------------------------
2 /** @file libboardgame_mcts/PlayerMove.h
3     @author Markus Enzenberger
4     @copyright GNU General Public License version 3 or later */
5 //-----------------------------------------------------------------------------
6 
7 #ifndef LIBBOARDGAME_MCTS_PLAYER_MOVE_H
8 #define LIBBOARDGAME_MCTS_PLAYER_MOVE_H
9 
10 #include <cstdint>
11 
12 namespace libboardgame_mcts {
13 
14 //-----------------------------------------------------------------------------
15 
16 using PlayerInt = uint_fast8_t;
17 
18 //-----------------------------------------------------------------------------
19 
20 template<typename MOVE>
21 struct PlayerMove
22 {
23     PlayerInt player;
24 
25     MOVE move;
26 };
27 
28 //-----------------------------------------------------------------------------
29 
30 } // namespace libboardgame_mcts
31 
32 #endif // LIBBOARDGAME_MCTS_PLAYER_MOVE_H
33