- Play with your friend or the computer
- Clone this repository
git clone https://github.com/kasheemlew/Gomoku.git
- Execute
python main.py
to start the game - Execute
python main.py <name1> <name2>
to set the players' names
- '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.
- Play with your friend
- Play with the computer
[ ] With UI