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

https://github.com/tsonglew/gomoku

:black_circle: Terminal gomoku with programmed AI
https://github.com/tsonglew/gomoku

artificial-intelligence gomoku python2

Last synced: about 1 year ago
JSON representation

:black_circle: Terminal gomoku with programmed AI

Awesome Lists containing this project

README

          

# Gomoku
* Play with your friend or the computer

### Steps
* Clone this repository `git clone https://github.com/kasheemlew/Gomoku.git`
* Execute `python main.py` to start the game
* Execute `python main.py ` to set the players' names

### Attention:

* 'X' represents Player1 who goes first, and then comes Player2 with 'O'.
* Question mark('?') represents the vertex you are on, and you could press 'C'
to set a chessman on this vertex.
* Press 'W', 'A', 'S', 'D' to move your question mark.
* After you set a chessman, the question mark will be covered by it. Use the
direction marks to move the question mark and you will see it again.
* Press 'R' to start over.
* Press 'T' to play with the computer.
* While the computer is thinking, you could press 'C' to push it.
* Press 'Q' to return to your terminal or console.

### Coming Soon:

- [x] Play with your friend
- [x] Play with the computer
- ~~[ ] With UI~~

### Screenshot

[![](http://p4dq6rjze.bkt.clouddn.com/IMG20180822_103838.png)](http://p4dq6rjze.bkt.clouddn.com/20180822_102549.mp4)