Skip to content

Scrabble Game: A simple C project for word scoring. Enjoy the classic game of Scrabble!

License

Notifications You must be signed in to change notification settings

OldSchool78/scrabble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scrabble - Word Scoring Game

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.

How to Play

  1. Compilation and Execution:

    • Clone the repository and navigate to the cloned directory.

    • Use the Makefile to compile the code:

      make
    • Run the program:

      ./scrabble
  2. 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.

Manual Compilation

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.

Project Structure

  • src/: Contains the source code of the project.
  • build/: Build directory where compiled files are stored.
  • Makefile: File to facilitate the compilation process.

Contribution

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! 🚀



GitLab GitHub Instagram Linkedin


About

Scrabble Game: A simple C project for word scoring. Enjoy the classic game of Scrabble!

Topics

Resources

License

Stars

Watchers

Forks