add button to move to a state farthest from any win condition

This commit is contained in:
2026-02-25 03:20:40 +01:00
parent 271902ab1f
commit 3f8274f1d9
6 changed files with 33 additions and 8 deletions

View File

@ -3,7 +3,6 @@
#include <raymath.h>
#include "config.hpp"
#include "distance.hpp"
#include "input.hpp"
#include "physics.hpp"
#include "renderer.hpp"
@ -16,8 +15,7 @@
// TODO: Graph interaction
// - Click states to display them in the board
// - Find shortest path to any winning state and mark it in the graph
// - Also mark the next move along the path on the board
// TODO: Add a move history and backspace to go back
auto main(int argc, char *argv[]) -> int {
std::string preset_file;