/react-ts-sudoku

Sudoku is a logic-based, combinatorial number-placement puzzle.

Primary LanguageTypeScript

Table of contents

General info

STATUS: WIP

Sudoku (数独, sūdoku, digit-single) (/suːˈdoʊkuː, -ˈdɒk-, sə-/, originally called Number Place) is a logic-based, combinatorial number-placement puzzle. In classic sudoku, the objective is to fill a 9×9 grid with digits so that each column, each row, and each of the nine 3×3 subgrids that compose the grid (also called boxes, blocks, or regions) contain all of the digits from 1 to 9. The puzzle setter provides a partially completed grid, which for a well-posed puzzle has a single solution.

French newspapers featured variations of the Sudoku puzzles in the 19th century, and the puzzle has appeared since 1979 in puzzle books under the name Number Place. However, the modern Sudoku only began to gain widespread popularity in 1986 when it was published by the Japanese puzzle company Nikoli under the name Sudoku, meaning single number. It first appeared in a U.S. newspaper, and then The Times (London), in 2004, thanks to the efforts of Wayne Gould, who devised a computer program to rapidly produce unique puzzles.

Technologies

  • HTML5
  • CSS/Styled Components
  • React.js
  • JavaScript (ES6+)
  • npm

Setup

To run this project, install it locally using npm

Development server (compiles and hot-reloads)

# install dependencies
npm install

# serve with hot reload at localhost:3000
npm run start

Build setup (development)

# install dependencies
npm install

# build for production with minification in the "build" directory
npm run build

Demounting setup

# remove the "build" directory
npm run clean

Source

This project is written step by step according to this course. I only slightly modified it.