16 Engine(
const std::string &title);
35 int get_mouse_click(SDL_Event);
37 void handle_mouse_click(
int);
41 void handle_agent_move(std::pair<int, int>);
43 void set_possible_moves();
45 void test_for_checks();
Contains main game loop and turn handling.
Definition: engine.h:14
Used to create, store, and make changes to a game state.
Definition: chessboard.h:24
Class used to programmatically produce a Chess move.
Definition: agent.h:31
Creates, stores, and makes changes to data for a game state.
Handles all SDL2 functionalities require to visualize the game.
Definition: graphics.h:18
How the Agent finds its move.
void run()
Game loop.
Definition: engine.cpp:23