oggy22 / BoardGames

A simple engine and end-tables for board games like chess, checkers and general tic-tac-toe (m,n,k-game) including connect 4. Heavy use of new C++ features like generator and concepts. Easy to add new engine and new game.
Apache License 2.0
2 stars 0 forks source link

Random move generator #6

Closed oggy22 closed 10 months ago

oggy22 commented 11 months ago

Implement a function like this which will work for any board.

template <Board B, Move m>
static Move random_move(Board& B);
oggy22 commented 10 months ago

Implemented