Skip to content

paperplane110/gobang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gobang--五子棋

可以在终端上和朋友一起玩的五子棋! A little Gobang game running in terminal where you can play it with your friend!

How to play

Open your terminal and cd to a dir which you feel convenient

git clone https://github.com/paperplane110/gobang.git
python3 gobang.py

Start the game!

gobang.py

All game play methods have been stored in this file. It tells the order of the players' action and when to quit the game. It is the main body of the game.

chess_map.py

Defined the map of the gobang. Containing the method of how to print the map.

chesses.py

Defined the chesses appearence, location and check who is the winner.

comment.py

Some hints and greeting shown in prompt.

About

A little Gobang game running in terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages