Skip to content

sandipkatel/Sudoku

Repository files navigation

Sudoku Game

Sudoku Game is a C++ application that generates and allows you to play Sudoku puzzles. This project is designed to demonstrate object-oriented programming concepts, C++ programming skills, and basic game development principles. Some of the game screen shots are below. image

image

Features

  • Generate Sudoku puzzles of different difficulty levels: Easy, Medium, and Hard.
  • Interactive graphic interface for playing the game.
  • Ability to enter numbers and navigate through the grid using keyboard inputs or button selection by mouse.
  • In-game hints and assistance to help players when stuck.
  • Provides a unique Sudoku puzzle every time you start a new game.

Requirements

Installation

  • Clone this repository to your local machine.
  • Compile the code using your C++ compiler (use Makefile to compile).

For VS code like code editors

  • If your terminal supports 'make' command just type it to compile.
  • Else copy the code in Makefile and run the command if all is set it will be compiled and main.exe file will be displayed otherwise you messed up anywhere during setup.
  • Run ./main in your terminal.

For Others

  • If you have set up all requirements properly no need to do anything just build and run executable file.

How to Play?

  • Select start game at home screen
  • Enter username after getting started,
  • Choose a level after entering user name,
  • There are three levels
    • Easy
    • Medium
    • Hard
  • It is up-to you which level do you desire,
  • The game will generate a Sudoku puzzle for you to solve,
  • If you are not happy with generated Sudoku press “New” button,
  • Follow Sudoku rules: Each row, column, and 3x3 subgrid must contain numbers 1-9 without repetition.
  • Enter the inputs using input button on right side,
  • Keyboard input is also valid,
  • Use “Hint” button if got stuck,
  • Enjoy the game.

Technical Details

The Sudoku Game is developed in C++ programming language usind SDL2 graphic library. It is based on object oriented concept. It utilizes various C++ features, including classes, functions, inheritance, polymerphism, etc.

Contributing

Contributions to the Sudoku project are welcome! If you find any bugs or have ideas for improvements, feel free to create issues or submit pull requests.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published