A responsive random generated sudoku game written in React, TypeScript and Vite. It consists of four difficulty levels: Easy, Medium, Hard, Expert.
Sudoku grid consists of 9x9 spaces. There are 9 3x3 block within the grid. You can only input numbers between 1 to 9.
All the grids have to satisfy three requirements below:
- Each vertical row can only contain one of 1 to 9 (no duplicate allowed)
- Each horizontal column can only contain one of 1 to 9 (no duplicate allowed)
- Each 3x3 block can only contain one of 1 to 9 (no duplicate allowed)
Clone this repository on your local machine
git clone https://github.com/lausk97/sudoku-ts.git
cd sudoku-ts
Run the following commands on your terminal to start the server locally
npm ci
npm run dev
Optional: Testing (w/ Jest & React Testing Library)
npm test
The project is currently deployed on Vercel, feel free to play the game through this link.