Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.06 KB

README.md

File metadata and controls

32 lines (23 loc) · 1.06 KB

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 <name1> <name2> 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:

  • Play with your friend
  • Play with the computer
  • [ ] With UI

Screenshot