Skip to content

Ostap2003/puzzle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Puzzle (lab)

puzzle.py recieves a board and checks if it is valid or not. For more details, check the rules.

Explanation of the rules:

The playing field of the logic puzzle has a square shape of 9 × 9 cells. The playing field contains cells of different colors that are used in the game and white areas that are not used for the game.

  • The colored cells of each line must contain numbers from 1 to 9 without repetition.
  • The colored cells of each column must contain the numbers 1 to 9 without repetition.
  • Each block of cells of the same color must contain numbers from 1 to 9 without repetition

Example of the game board:

About

Lab project, validation of the game board

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages