Skip to content

PranjayPathak/SUDOKUprj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sudoku Game & Solver : Using Backtracking Visualization

About the Project

A Sudoku game developed with Express.js, EJS, JQuery and CSS. The game provides all the fundamental aspects of the flow, uses cookies to store the game status between re-renders and is playable on any device having a browser (touchscreen or keyboard).
The solver visualization part is implemented using the backtracking algorithm and asynchronous Javascript for animation (Click on "SOLVE" to visualize the backtracking algorithm to solve the Sudoku game).

image


How to play Sudoku

The classic Sudoku game involves a grid of 81 squares. The grid is divided into nine blocks, each containing nine squares.
The rules of the game are simple: each of the nine blocks has to contain all the numbers 1-9 within its squares. Each number can only appear once in a row, column or box.
The difficulty lies in that each vertical nine-square column, or horizontal nine-square line across, within the larger square, must also contain the numbers 1-9, without repetition or omission.


Sudoku Tips

Sudoku is a fun puzzle game once you get the hang of it. At the same time, learning to play Sudoku can be a bit intimidating for beginners. So, if you are a complete beginner, here are a few Sudoku tips that you can use to improve your Sudoku skills.

  • Tip 1: Look for rows, columns of 3×3 sections that contain 5 or more numbers. Work through the remaining empty cells, trying the numbers that have not been used. In many cases, you will find numbers that can only be placed in one position considering the other numbers that are already in its row, column, and 3×3 grid.
  • Tip 2: Break the grid up visually into 3 columns and 3 rows. Each large column will have 3, 3×3 grids and each row will have 3, 3×3 grids. Now, look for columns or grids that have 2 of the same number. Logically, there must be a 3rd copy of the same number in the only remaining 9-cell section. Look at each of the remaining 9 positions and see if you can find the location of the missing number. Now that you know a little more about Sudoku, play and enjoy this free online game.

👤 Author

Pranjay Pathak

About

Online Sudoku game with its solver implemented and visualized using Javascript and Backtracking Algo.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors