Added brutus agent

This commit is contained in:
2024-03-06 09:56:04 -08:00
parent 4ee7f8a9ac
commit b39c618a2a
8 changed files with 247 additions and 65 deletions

View File

@@ -22,7 +22,15 @@ As always, run this project with `cargo run`. The app takes one argument by defa
- `random`: Play against a random agent (very easy)
- `chase`: Play against a simple extremum-chasing agent (easy)
- `diffuse`: Play against a slightly more intellegent extremum chaser (medium)
- `brutus`: Play against a simple brute-force agent (hard)
For example, `cargo run -- random` will play a game against a random player. Use your arrow keys and space bar to play the game.
For example, `cargo run -- random` will start a game against a random player. Use your arrow keys and space bar to play.
Additional options are available, see `cargo run -- --help`.
Additional options are available, see `cargo run -- --help`.
Win rates against random are as follows:
- `human`: ~100%
- `random`: ~50%
- `chase`: ~70%
- `diffuse`: ~76%
- `brutus`: ~90%