- cd folder: service/boogle-api/
- review any setup steps in README.md
- run rails on port 3001
rails s -p 3001
http://localhost:3001/boggle/v1/boards/new
{"board":"XEASYEUHAENTYEBC"}
http://localhost:3001/boggle/v1/boards/EASYEUHAENTYEBCX?word=EASY
{"board":"EASYEUHAENTYEBCX","word":"EASY","found_on_board":true,"word_valid":true}
http://localhost:3001/boggle/v1/boards/EASYEUHAENTYEBCX/words
[EASY, ...]
http://localhost:3001/boggle/v1/boards/EASYEUHAENTYEBCX
E A S Y
E U H A
E N T Y
E B C X
- cd folder: ui
- review any setup steps in README.md
- run ReactJs
npm start
- Improve responsive UI
- Support clicking letters
- Visually indicating the word path on the board
- Front-end should directly verify if a word is on board
Add a button to slove the board automaticallythe backend will require a local dictionary instead of calling a service for each guessthe backend will need to implement a trie with statistics on each layer to support quick lookup and DFS pruning
- Better stategy to generate a board with more words
- Backend can pre-generate/store boards and their solved words
- Add redux/saga
- Allow saving the game