Giter VIP home page Giter VIP logo

2doku's Introduction

2doku

A Wordle inspired puzzle game featuring a 2x2 Sudoku board that is generated randomly each day.

Utilizes localstorage for the persistence of user progress on puzzles between sessions.

The application is React with Redux Toolkit for the front end and Express on Node for the back end. Written in TypeScript.

To play:

Click each square to change the number in that square. Left click increments, right click decrements the number.

Each row, column and quadrant must contain the numbers 1, 2, 3, 4 with no duplicates.

Once all squares have been populated, the 'submit' button will be available. An incorrect answer will cost 5s of time.

Each day there will be a new challenge.

Installation

Clone this repo and then "npm i" to install necessary dependencies.

For a development experience with HMR:

  • npm run serve

to start the Express server to serve the puzzle information

  • npm run dev

to run the application at localhost:8080 with HMR.

For the current build experience:

  • npm run build

to generate the bundle

  • npm run serve

to start the Express server to serve the puzzle information

and browse to localhost:3000 for Express to serve the application and puzzle information.

Known Issues/To Do

Issues:

  • The server generates a new puzzle every time it is queried (intended to store in database, retrieve if already generated)
    • The client does not properly handle the above issue
    • Puzzle data should include puzzle data
  • Puzzle generation needs refactoring (brute force implementation is slow)
  • Client does not properly handle mismatches between currently loaded data and served data

2doku's People

Contributors

mrbeearewhy avatar

Watchers

 avatar

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.