Skip to content

hughmancoder/sudoku-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Soduku

Rules of Sudoku

9x9 Sudoku

  1. Grid Layout: The game is played on a 9x9 grid, divided into 9 smaller 3x3 grids (called "regions" or "boxes").
  2. Numbers: Fill the grid so that every row, every column, and every 3x3 box contains the numbers 1 through 9, without repeating
  3. Single Solution: Each valid puzzle has only one correct solution.

User Interface

Game demo

Object Oriented Design

Display object handle graphics. Sudoku object handles game logic such as board generation and validateion. The sudoku object is injected as a dependency into the Display class.

Running the game

In the root directory run

./setup.bash

If you encounter a permission denied error, you might need to make setup.bash executable. Run the following command:

chmod +x *

Ensure Dependencies Are Installed

  • SFML:
    • On Mac: Run brew install sfml in the terminal.

TODO

  • display simple grid
  • interact with user clicks
  • validation checking
  • validation algorithm
  • 4 by 4 grid working
  • 16 by 16 grid
  • diffuculty levels (easy (4x4), medium (9x9) 60% filled, hard (9x9 30% filled)
  • save states working
  • unit tests for all classes

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published