Giter Club home page Giter Club logo

huaminghuangtw / web-sudoku-puzzle-game Goto Github PK

View Code? Open in Web Editor NEW
15.0 2.0 1.0 919 KB

๐ŸŽฎ Welcome to my Sudoku puzzle game! - An interactive web Sudoku puzzle game developed in HTML, CSS, and JavaScript.

Home Page: https://huaminghuangtw.github.io/Web-Sudoku-Puzzle-Game/

License: MIT License

CSS 25.26% JavaScript 55.42% HTML 19.32%
javascript html css sudoku sudoku-solver sudoku-generator sudoku-puzzle sudoku-game web-application jquery

web-sudoku-puzzle-game's Introduction

Web Sudoku Puzzle Game

Open Source Love

Welcome to my Sudoku puzzle game! - An interactive web Sudoku puzzle game developed in HTML, CSS, and JavaScript.

Live Demo

๐Ÿ”— https://huaminghuangtw.github.io/Web-Sudoku-Puzzle-Game/


Motivation

Since I first studied parallel programming, I developed a personal side project that aims to solve large Sudoku puzzles as efficiently as possible by means of various parallelization techniques and solving algorithms. The main focus/goal of this project, however, is not only to make an interactive Sudoku puzzle game that the user can play around with, but also to hone my web development/design skills. Based on RedFlyer Coding's tutorial video on YouTube, I've added several widgets and features/functionalities in the webpage which I hope you will enjoy and have fun!๐Ÿ˜Š


Description

Sudoku is one of the most popular puzzle games of all time. The objective of Sudoku is to fill a 9-by-9 grid with digits from 1 to 9 such that each column, row, and box (or called "subgrid", "region", "block") contain every number in the set {1, ... , 9} exactly once.

This web application features generating and solving standard 9-by-9 Sudoku puzzles of different difficulty levels (i.e., easy, medium, and hard). For the Sudoku generating algorithm, please refer to [1]. The backtracking technique [2] is implemented as the solving algorithm here.


Test cases

A collection of test grids of various difficulty levels are present in the Test_Cases directory. These text files are used for the initial Sudoku boards of respective difficulty levels. When the user clicks the "Refresh puzzle" button, random Sudoku boards are subsequently generated via the approach proposed by Rob McGuir [1].


References

[1] A Sudoku puzzle generator and solver JavaScript library - sudoku.js

[2] Wikipedia - Sudoku solving algorithms: Backtracking


Support the project

Whether you use this project, have learned something from it, or just like it, please consider supporting it by buying me a coffee or making one-time donations via PayPal, so I can dedicate more time on open-source projects like this. ๐Ÿ’ช๐Ÿ™ƒ

Buy Me A Coffee paypal.me/huaminghuang

Thanks!:heart: and Cheers!:beers:


Contact

If you have any question or suggestion, feel free to contact me at [email protected]. Contributions are also welcomed. Please open a pull-request or an issue in this repository.


License

This project is licensed under the terms of MIT.

web-sudoku-puzzle-game's People

Contributors

huaminghuangtw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

datalover4ever

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.