Skip to content

C++ Implementation of 2048, Tic-tac-toe, Demining, Sudoku, Nim and their AI

License

Notifications You must be signed in to change notification settings

yuxqiu/AI-For-Games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AI-For-Games

GitHub issues GitHub issues GitHub stars GitHub license

This repository contains several games written by C++ and implementation of their AI.

2048, Tic-Tac-Toe, Demining, Sudoku, Nim... More games are coming!

Get Started

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.

Development

2048

Tic-tac-toe

Demining

Sudoku

Nim

Contribute

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.

New Games in the Future

  • Sudoku
  • Nim
  • Flappy Bird
  • Tetris

UI for the Games

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

License

GNU General Public License version 3

About

C++ Implementation of 2048, Tic-tac-toe, Demining, Sudoku, Nim and their AI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published