Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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`