Skip to content

Web app with a react front end that creates and lets users play sudoku!

Notifications You must be signed in to change notification settings

f3mshep/sugoi-sudoku

Repository files navigation

SudokuNow

Sudoku Now is a web application for the sudoku puzzle game. Users can play a unique sudoku puzzle at a 'easy', 'medium', 'hard', and 'insanity' levels. The rails API generates sudoku puzzles out of curated 'seed' puzzles, and solves each puzzle with a backtracking algorithm. It uses a React-Redux to display data from the Rails API, with a clean, responsive UI.

Installation

To set up a local instance of this web app, clone this repository. Please ensure you have PostGres working properly on your computer. In the root of the application, run the following commands to set up the PostGres database:

rails db:create
rake db:migrate

rake db:seed

After setting up the database, change directory to the 'client' folder, which contains the react application. Run

npm install

And you are ready to play sudoku!

Usage

Run the following command:

rails start

This will set up a local server hosting the web app, 'start' is aliased as a rake task to start both the react application as well as the Rails API. Navigate to Local Host try it out!

There is a production build you can play with, hosted on heroku: Sudoku Now

Development

Developed by Alexandra Wright

Contributing

Pull requests are welcome! Please follow the Contributor's Code of Conduct.

About

Web app with a react front end that creates and lets users play sudoku!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published