This project is a web-based game where players try to create the longest word possible from a given set of letters.
- Random letter generation for each game.
- Validation of words based on dictionary API.
- Scoring system based on word length and complexity.
- User-friendly interface for playing the game.
- Ruby (version 3.0.0 or later)
- Rails (version 6.1.3 or later)
- PostgreSQL (for database)
-
Clone the repository:
git clone https://github.com/shliamin/Rails-Longest-Word-Game.git cd Rails-Longest-Word-Game -
Install dependencies:
bundle install
-
Set up the database:
rails db:create rails db:migrate
To start the Rails server, run:
rails server- Visit the homepage to start a new game.
- A set of random letters will be displayed.
- Enter the longest word you can form using the given letters.
- Submit the word to see your score.