Skip to content

Rails application for a vocabulary game that challenges users to form the longest word from a random set of letters. This project tests both Ruby on Rails skills and linguistic creativity.

shliamin/Rails-Longest-Word-Game

Repository files navigation

Rails Longest Word Game

This project is a web-based game where players try to create the longest word possible from a given set of letters.

Features

  • 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.

Getting Started

Prerequisites

  • Ruby (version 3.0.0 or later)
  • Rails (version 6.1.3 or later)
  • PostgreSQL (for database)

Installation

  1. Clone the repository:

    git clone https://github.com/shliamin/Rails-Longest-Word-Game.git
    cd Rails-Longest-Word-Game
  2. Install dependencies:

    bundle install
  3. Set up the database:

    rails db:create
    rails db:migrate

Running the Server

To start the Rails server, run:

rails server

Usage

  • 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.

About

Rails application for a vocabulary game that challenges users to form the longest word from a random set of letters. This project tests both Ruby on Rails skills and linguistic creativity.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published