Git Product home page Git Product logo

sudoku-project's Introduction

Sudoku-Project

This project is a simple Sudoku game written in C++. The game has three difficulty levels: easy, medium, and hard. The user can choose a difficulty level at the start of the game.

The game is played on a 9x9 grid. The user can enter numbers in the empty squares. The numbers must be unique in each row, column, and 3x3 square. The user can also use the q key to give up and see the solved puzzle.

The game uses the backtracking algorithm to solve the puzzle. The backtracking algorithm is a recursive algorithm that tries all possible combinations of numbers until it finds a solution.

The game is written in C++ and uses the following libraries:

  • iostream
  • stdlib.h
  • cstdbool
  • string The game is a simple project that can be used to learn the basics of C++ programming. It can also be used to learn the backtracking algorithm.

How to Play To play the game, follow these steps:

  • Choose a difficulty level.
  • Enter numbers in the empty squares.
  • Use the q key to give up and see the solved puzzle.

Features The game has the following features:

  • Three difficulty levels: easy, medium, and hard
  • Backtracking algorithm to solve the puzzle
  • User-friendly interface

To-Do The following are some of the things that can be improved in the game:

  • Add a timer to the game.
  • Add a scoring system to the game.
  • Add a difficulty slider to the game.

How to Install To install the game, follow these steps:

  • Clone the repository.
  • Open the project in a C++ IDE.
  • Build and run the project.

The game is licensed under the MIT License.

sudoku-project's People

Contributors

nikhilasornapudi avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.