game-ai.cr

Some board games + common AI

This repository contains an AI for simple board games, written in Crystal. It has an implementation of Othello and Connect Four.

To build:

make

To play a game, run ./main passing --game with the game name:

./main --game=othello

To run a AI-vs-AI simulation, run ./main passing --game and --benchmark:

./main --game=connect-four --benchmark

Supported games:

  • Othello (othello)
  • Connect Four (connect-four)
Repository

game-ai.cr

Owner
Statistic
  • 1
  • 1
  • 0
  • 0
  • 0
  • over 8 years ago
  • March 12, 2016
License

Links
Synced at

Thu, 21 Nov 2024 21:26:56 GMT

Languages