Skip to content

chihina/othello-game-python

Repository files navigation

Othello-game-python

This is a othello game. It is written by python.

Environment

python 3.7.1

And you can use requirements.txt

pip install -r requirements.txt

How to Start game play

1. Command execution

You can only do below command.

python game.py 

After that, You can see below window. And, you also use the exe file.

Top page

2. Choice game mode

You can choice three game mode.

  • Human vs Human
  • Human vs CPU
  • CPU vs CPU

3. Choice Order of hitting (Only Human vs CPU mode)

You can choice order of hitting for human.
Choice human_page

4. Choice CPU mode (If you play Human vs Human mode, this part is unrelated)

You can choice three CPU mode

  • Weak: This CPU hit piece based on random number
  • Little strong: This CPU hit piece base on random number and rule ( rule: hit coorner cell prior to other pieces )
  • strong: This CPU hit piece based on static evaluation value of cell

Choice cpu_page

If you finished 1-4 part, game will start!!

How to play game

Click around cell you wanna hit.
( You can hit the cell which is annotated by red circle. The circle shows cell whice you can hit. )

Choice page

Result view

If you finish thisgame, you will see this result window.
Game result is located in lower right corner.
Result page

Contacts

If you can know about detail me, you can see my website.

About

This is a othello game. It is written by python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •