Skip to content

monicahomescu/Obstruction-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Obstruction-Game

The game starts with an empty 6 x 6 grid of squares. Two players are involved: the computer and the human that can choose who the game should be started by (typing either 'computer' or 'human').

The players take turns in writing their symbol in an empty cell. Placing a symbol blocks all of the neighbouring cells from both players, which are indicated by shading. Computer player employs a strategy when making its moves in order to attempt to win the game and provide an entertaining opponent for the human player. The first player unable to move loses.

The application involves:

  • object oriented programming and layered architecture;
  • specifications and PyUnit test cases for all modules with the exception of the UI;
  • protection against the user’s invalid input.

About

6 x 6 grid game of human against computer.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages