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.
- 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.
Once the game starts, you’ll see the following menu options:
- PLAY GAME: Start a new game session and begin the challenge.
- HIGH SCORES: View the leaderboard displaying the top players' scores.
- READ RULES: Review the rules of the game to understand how to play.
- 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).
- Start the Game: Run the program to enter the Spelling Bee challenge.
- Select Play Game: Start the game through the menu.
- Spell Words:
- A word is presented.
- Type your spelling and press Enter.
- Earn Points:
- Correct spelling: Gain points based on the word’s length.
- End of Game:
- View your score and the leaderboard once the timer ends.
- A C compiler (e.g., GCC, Clang).
- A terminal or command-line interface.
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