Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tandy-1000/minmax-checkers
A simple minmax checkers game in Nim.
https://github.com/tandy-1000/minmax-checkers
alpha-beta-pruning checkers game minimax nim
Last synced: 20 days ago
JSON representation
A simple minmax checkers game in Nim.
- Host: GitHub
- URL: https://github.com/tandy-1000/minmax-checkers
- Owner: tandy-1000
- License: gpl-3.0
- Created: 2021-11-02T17:42:11.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-08T19:04:09.000Z (about 3 years ago)
- Last Synced: 2023-03-06T03:51:08.711Z (almost 2 years ago)
- Topics: alpha-beta-pruning, checkers, game, minimax, nim
- Language: Nim
- Homepage: https://tandy-1000.github.io/minmax-checkers/checkers.html
- Size: 2.91 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# minmax-checkers [![CI](https://github.com/tandy-1000/minmax-checkers/actions/workflows/ci.yml/badge.svg)](https://github.com/tandy-1000/minmax-checkers/actions/workflows/ci.yml) [![Windows build](https://github.com/tandy-1000/minmax-checkers/actions/workflows/window.yml/badge.svg)](https://github.com/tandy-1000/minmax-checkers/actions/workflows/window.yml) [![Emscripten deployment](https://github.com/tandy-1000/minmax-checkers/actions/workflows/emscripten.yml/badge.svg)](https://github.com/tandy-1000/minmax-checkers/actions/workflows/emscripten.yml)
A simple minmax checkers game in Nim with [nico](https://github.com/ftsf/nico).[Click here to play!](https://tandy-1000.github.io/minmax-checkers/checkers.html)
## Features
- [x] Selectable player color
- [x] Varying difficulty (varying minimax depth)
- [x] Click and drop
- [x] Only allows legal moves with error messaging
- [x] King conversion at baseline
- [x] Regicide
- [x] Forced capture
- [x] Multi-leg captures on same piece
- [x] Hint feature
- [x] Clue feature
- [x] Minimax AI with Alpha-Beta pruning
- [x] Human-like AI move making
- [x] Rules page
- [x] Turn indicator## Compilation on windows
Get SDL2 dll: `nimble deps`Install dependencies: `nimble build`
Compile a release executable: `nimble release`