Skip to content

tsonglew/Gomoku

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

♨️ terminal gomoku with programmed AI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages