Boggle Game with frontend developed in React and backend in Ruby on Rails.
- 4x4 game board
- User can type the words which they think they found.
- Client side validation to check word is valid. Server side validation to check if word is actually available in dictionary.
If both validation is successfull, then word in added to successful word list. - Error displayed if word is invalid.
- Successfully matched words with corresponding score are always shown in table.
- When timer runs out, user is no longer allowed to enter word.
- Board letters can be clicked to be used as input.
- At server side, dictionary is loaded in trie datastructure for efficient word lookup.
- Ability to reset game without refreshing browser.
- Ability to pause game(for quick break)
- Clone the following repo and move to project folder:
git clone https://github.com/santoshkc/BoggleMerge.git
- Initialize all submodules
git submodule update --init --recursive --remote
- Update all files and checkout to master
git submodule foreach git pull origin master
git submodule foreach git checkout master
Ruby 2.7.1bundler 2.1.4Rails 6.0.3.2
- Move to ruby_rails_dictionary_api directory and install dependencies using
yarnand thenbundle install - Run
rake testto run test cases. - Run
rails server -p 4000to start backend server(frontend uses hardcoded port 4000)
React 16.13.1(Created using create-react-app)
- Move to SimpleBoggleApp directory and install dependencies using
npm install - Run
npm testto run test cases - Run
npm startto run front end.