https://github.com/vojtamolda/game-ai
Game AI algorithms.
https://github.com/vojtamolda/game-ai
ai algorithm game python
Last synced: 18 days ago
JSON representation
Game AI algorithms.
- Host: GitHub
- URL: https://github.com/vojtamolda/game-ai
- Owner: vojtamolda
- Created: 2016-07-27T19:49:44.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2019-08-08T16:07:03.000Z (almost 6 years ago)
- Last Synced: 2025-05-07T09:04:46.781Z (18 days ago)
- Topics: ai, algorithm, game, python
- Language: Python
- Homepage:
- Size: 10.4 MB
- Stars: 15
- Watchers: 2
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Games and AIs :)
## Tic-Tac-Toe - [`tictactoe/`](tictactoe/)
Oldie but goodie 3 by 3 noughts against crosses with 4 different built-in AIs. Good luck trying to beat them ;)
Check out the `?` button the visualizes the current game graph as seen by the AI algorithm.
## Sheriff Chase - [`sheriff/`](sheriff/)
Implementation of value iteration, policy iteration and Q learning algorithms that search for the optimal
policy. The game is a simple deterministic implementation of an OpenAI gym environment extended to Markov
Decision Process.
## Game of Life - [`life/`](life/)
Gray-Scott reaction diffusion system and a simple cellular automaton with a fancy history fading visualization bundled
in one compact application.
## Tetris - [`tetris/`](tetris/)
Yet another clone of the greatest game of all time. Peppered up with fancy tetrimino bouncing animation.
## Fourplay - [`fourplay/`](fourplay/)
Logical game for two with a quite-hard (but not impossible) to beat AI. One algorithm uses depth first search with
branch pruning of obviously wrong choices for speed-up and looks 8 moves ahead.
## Maze - [`maze/`](maze/)
Maze typically found in a children's magazine generated by a stochastic DFS algorithm. This guarantees that the end of
the maze is always hard to get to. Also check out the fancy ball animations :)
## Minesweeper - [`minesweeper/`](minesweeper/)
Clone of the only good software produced by a certain Seattle company...
## Requirements
- [Python 3](https://www.python.org/downloads/)
- [PySide2](http://www.pyside.org/)
- [Numpy](http://www.numpy.org)This work is licensed under the [MIT License](https://opensource.org/licenses/MIT) © 2017.