An open API service indexing awesome lists of open source software.

https://github.com/raravi/sudoku

A Sudoku web app in React.
https://github.com/raravi/sudoku

react responsive-web-design sudoku typescript

Last synced: 6 months ago
JSON representation

A Sudoku web app in React.

Awesome Lists containing this project

README

          

# sudoku

A Sudoku game in React!

![license](https://img.shields.io/github/license/raravi/sudoku)  ![version](https://img.shields.io/github/package-json/v/raravi/sudoku)  ![dependencies](https://img.shields.io/depfu/raravi/sudoku)  ![last-commit](https://img.shields.io/github/last-commit/raravi/sudoku)

This project aims to highlight the use of React to build a game and also maintaining state in one place. By having a 'Single Source of Truth', it becomes easier to keep updating the different parts of the UI based on state changes!

A fun way to learn React for those who are still in the beginning stages!

Features:

* Only functional components!
* useEffect, useState hooks instead of state.
* Simple use of `props`.
* All the game logic resides in a single component.
* Use CSS Custom properties to keep the stylesheet DRY.
* Understand how functions can be sent down as `props` and consumed.
* Typescript for static type checking!

[![ko-fi](https://www.ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/Y8Y21VCIL)