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

https://github.com/skovy/sudoku-reasonml

📝 A simple Sudoku board implemented with ReasonML React
https://github.com/skovy/sudoku-reasonml

reason-react reasonml sudoku

Last synced: 10 months ago
JSON representation

📝 A simple Sudoku board implemented with ReasonML React

Awesome Lists containing this project

README

          

# Sudoku ReasonML 📝 ⚛️

[![Build Status](https://travis-ci.org/Skovy/sudoku-reasonml.svg?branch=master)](https://travis-ci.org/Skovy/sudoku-reasonml)
[![Coverage Status](https://coveralls.io/repos/github/Skovy/sudoku-reasonml/badge.svg?branch=master)](https://coveralls.io/github/Skovy/sudoku-reasonml?branch=master)

A simple Sudoku board and validation implemented with [ReasonML React](https://reasonml.github.io/reason-react/). [View the demo](https://skovy.github.io/sudoku-reasonml/)

![Sudoku Board](/docs/sudoku.png)

## Run this project

```bash
yarn # install dependencies
yarn start # build and watch files
yarn webpack # in another tab build the bundle
open docs/index.html # open in your browser
```

After you see the webpack compilation succeed (the `yarn webpack` step), open up
the nested html files in `docs/*` (**no server needed!**). Then modify whichever
file in `src` and refresh the page to see the changes.

## Board Validation

### Valid Board

![Valid Sudoku Board](/docs/valid-sudoku.gif)

### Invalid Board

![Valid Sudoku Board](/docs/invalid-sudoku.gif)