This is a simple C project that simulates the Scrabble game, where players enter words and receive scores based on the letters in the entered words.
-
Compilation and Execution:
-
Clone the repository and navigate to the cloned directory.
-
Use the Makefile to compile the code:
make
-
Run the program:
./scrabble
-
-
Game Instructions:
-
Enter a word when prompted for player 1.
-
Enter a word when prompted for player 2.
-
The program will calculate the scores and announce the winner or if there's a tie.
-
If you prefer to compile manually, use the following command:
gcc -o scrabble src/scrabble.c -lm
Make sure you are in the root directory of the project when running the above command.
src/
: Contains the source code of the project.build/
: Build directory where compiled files are stored.Makefile
: File to facilitate the compilation process.
Contributions are welcome! Feel free to suggest improvements and fix issues. Just fork the repository, implement your changes, and send a pull request.
Thank you for visiting the Scrabble Game. If you have any questions or need further assistance, please don't hesitate to reach out. Happy gaming! ๐