Code Monkey home page Code Monkey logo

sudoku-online-visualization-backtracking's Introduction

sudoku-online-visualization-backtracking

Online Sudoku game that allows the user to either play the game or visualize the computer solving it visit link to the deployed game

Sudoku Online Game

Sudoku online game is a web app built with the python flask framework that allows the user to play the game based on the chosen difficulty level. The user can also visualize how the computer solves the game.

How do we play Sudoko?

Sudoku is a popular puzzle game in which missing numbers are filled into a 9 by 9 grid of squares subdivided into 3 by 3 boxes so that every row, every column, and every box contains the numbers 1 through 9.

As mentioned above, three conditions need to be met to complete the puzzle:

  • Fill all the rows of the puzzle with the numbers 1 to 9 without repetition
  • Fill all the columns of the puzzle with the numbers 1 to 9 without repetition
  • Fill all the 3 by 3 boxes of the puzzle with the numbers 1 to 9 without repetition

follow this link for detailed information about the game

What I learn out of this project

  • Deeper Understanding of Backtracking Algorithm
  • How to break down big problems into smaller ones.
  • Flask and JavaScript revision

About the code

Languages used in the project

  1. Python (Flask Framework)
  2. JavaScript (Fetch API)
  3. HTML5
  4. CSS3

I used python to write the algorithms for the logic of the game. Some of these include generating a random, partially filled sudoku grid based on the difficulty level and solving the generated sudoku grid.

I used JavaScript (Fetch API) to send data to the backend (Python) for interpretation and analysis.

I also used javascript for visualizing the animation.

Feel free to go through the project, clone it, reproduce it, and play around with the code. I hope you learn as much as I did.

You can also send a pull request.

sudoku-online-visualization-backtracking's People

Contributors

zeumoweb avatar

Watchers

 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.