GithubHelp home page GithubHelp logo

sudoku-game's Introduction

Sudoko Game

Participants:

1.Ayush kumar
2.Ravish kumar

It is a Console Interface Program with Object-Oriented Approach written in C++ to play the Game of Sudoku which can handle some of the commands like:

1. choose a mode of hardness out of 5 modes
2. Followed by Some commands to play game by user 
    2.1 (Row no.)(Col no.) (Value)
    2.2 focus digit
    2.3 quit
    2.4 hint (Row no.)(Col no.)
    2.5 help

This Console Application serves as a user interface to the user to play and solve the sodoku with the given option of hint and focus .

Table of Content:

    1. How to install and run the project
    2. Explanation of Project
    3. Tutorial of Project

1. How to install and run the project

    1. Open the Github Page where project is located.
    2. On top right corner click code buttton
    3. Copy HTTPS link
    4. use command "git clone < paste HTTPS link>"
    5. Then Compile and run the cpp file in your console.
    6. Choose the option on the display on the console and Enjoy the Game .
    
    (or)
    
    1. Open the Github Page where project is located.
    2. On top right corner click code buttton
    3. Click on Download Zip
    4. After download ,Extract the file 
    5. Then Compile and run the .cpp file in your console.
    6. Choose the option on the display on the console and Enjoy the Game.

2. Explanation of Project

    This project is based on object_Oriented Programmming
    The aim of this project is to apply OOPs concept to reduce , reuse and encapsulate it to improve the efficiency.

Class Structure of Project

    1. It consist of 3 classes , of which 
        - one class makes the question and answer ,
            + It makes the new question from the filled value of 5 modes of question with the help of suffling the positions of digits
            + And stores the solve solution of it
        - second class contains the features of the game and 
            + Features like hint,focus a column, etc
        - the third one deals with the user input and output.

3. Tutorial of Project

    After compiling the program on terminal or command prompt using command (g++ sudoku.cpp -o sudoku) in the same directory as of the code file.
    
    Run the file using command (./sudoku) or simply click on the sudoku.exe file gernerated by compiling the sudoku.cpp file
    
    It will give you interface like this:

image

    Based on Your choice of hardness of level, it will display the game like this:

image

image

How to use the Commands (This also you can find by typing help in the console) :
    #  (Row no.)(Col no.) (Value) is used for filling the sudoku ,
        =>>12 8 ,here 12 are row and col and 8 is value to be filled.

image

        when entered wrong value

image

    #  focus digit is used for focusing on any digit of sudoku,
        =>>focus 1 ,here 1 will be highlighted.

image

    #  quit is used for existing the problem.
       Also it will display sudoku solution as well...

image

    #  hint (Row no.)(Col no.) will show you what are the possible number to be filled at that row-col,
        =>> hint 12,here all the possible digit to be filled at 11 will be displayed.

image

4. UML DIAGRAM of Project

uml-sudoku

sudoku-game's People

Contributors

rtnayush avatar ravish108coder 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.