This repository contains several games written by C++ and implementation of their AI.
2048, Tic-Tac-Toe, Demining, Sudoku, Nim... More games are coming!
To use this project, first clone the repo on your device using the command below:
git clone https://github.com/qyxtim/AI-For-Games.git
Then, cd
into the directory you want to access and use the command below:
make
Then, a human-played version and an AI version will be compiled.
You are welcome to contribute to this repository. You can contribute to it in two ways:
- Add a new AI strategy for an existing game. This requires you upload a new AI interface, update makefile and provide a development explanation.
- Add a new game. This requires you to provide a human-played version and an AI version of your game. You should also provide makefile, and a detailed development explanation.
- Sudoku
- Nim
- Flappy Bird
- Tetris
The UI will be created for all games in the repository. These UI will be created based on opencv
. Thus, if you need to use the UI version, you will need to install opencv
. The cmake
configuration is provided in the README.md
for each game.
- Tic-Tac-Toe
- 2048
- Sudoku
- Demining
- Flappy Bird
- Tetris