Skip to content

AdamSWS/Unscrambled-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Unscrambler Game

Overview

Unscrambler is a word puzzle game developed for CS 141 at UIC. The game challenges players to unscramble words by rotating rows and columns on a grid. It's a console-based game that offers a fun and engaging way to play with words.

Features

  • Dynamic Board Size: Players can choose the size of the game board.
  • Word Scrambling: The game board is filled with randomly scrambled words.
  • Interactive Gameplay: Players can rotate rows and columns to unscramble words.
  • Game State Manipulation: Options to reset the game board or generate a new board.
  • Win Detection: The game detects when all words have been correctly unscrambled.

How to Play

  1. Start the Game: Run the program, and choose to begin the game.
  2. Set Game Parameters: Select the size of the game board and the level of scrambling.
  3. Unscramble Words: Rotate rows and columns to align the words correctly.
  4. Win the Game: Successfully unscramble all words to win.

Game Commands

  • R: Rotate a row or column.
  • C: View the completed board layout.
  • B: Reset the board to its initial state.
  • G: Generate a new board with different words.
  • Q: Quit the game.

Installation

  1. Clone the repository or download the source code.
  2. Compile the C++ code using a suitable compiler, e.g., g++ -o unscrambler unscrambler.cpp.
  3. Run the compiled program to start playing.

Dependencies

  • C++ Standard Library
  • C++11 (or newer) compliant compiler

Contributing

Feel free to fork the repository and submit pull requests. You can also open issues for any bugs found or features you think would improve the game.

License

MIT License

Copyright (c) 2023 Adam Saad Walid Shaar

Acknowledgments

  • Course: CS 141, UIC
  • Developer: Adam Saad Walid Shaar

About

A word puzzle game developed for CS 141 at UIC.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages