Skip to content

Mariaakhtar0035/spelling-bee

Repository files navigation

Spelling Bee Game 🐝

Overview

The Spelling Bee Game is a console-based word game inspired by the NYT's Spelling Bee game. In this game, players are given a set of seven unique letters arranged in a honeycomb-like grid. One of the letters is designated as the center letter, and the objective is to form as many words as possible using these seven letters.

Rules

  • 1. Each word must be at least 4 letters long.
  • 2. Every word must include the center letter.
  • 3. The game has a 1-minute timer. Try to score as high as possible before time runs out.
  • 4. Words can be formed by combining the letters in any order.
  • 5. You can use any of the seven letters multiple times, as long as they appear in the puzzle grid.
  • 6. Each valid word earns you points based on its length.

Menu Options:

Once the game starts, you’ll see the following menu options:

  1. PLAY GAME: Start a new game session and begin the challenge.
  2. HIGH SCORES: View the leaderboard displaying the top players' scores.
  3. READ RULES: Review the rules of the game to understand how to play.
  4. QUIT: Exit the game and return to the terminal.

Select an option by entering the corresponding number (e.g., type 1 to start the game).


Gameplay Instructions

  1. Start the Game: Run the program to enter the Spelling Bee challenge.
  2. Select Play Game: Start the game through the menu.
  3. Spell Words:
    • A word is presented.
    • Type your spelling and press Enter.
  4. Earn Points:
    • Correct spelling: Gain points based on the word’s length.
  5. End of Game:
    • View your score and the leaderboard once the timer ends.

Setup and Installation

Prerequisites

  • A C compiler (e.g., GCC, Clang).
  • A terminal or command-line interface.

How to Compile

To simplify the process, we have included a Makefile that handles the compilation and execution. To compile and run the game, just use the following command:

make

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors