This project is an implementation of the classic Scrabble game built with the Pygame framework for a dissertation project. It aims to be an interactive, educational, and entertaining way to enjoy the game of Scrabble, and also serves as an excellent tool for language learning. The game includes an intuitive and user-friendly interface, multiple difficulty levels, an AI opponent, and a comprehensive word dictionary and scoring system for accurate word validation and scoring.
- User-friendly graphical interface
- Multiple difficulty levels
- Strategic AI opponent
- Comprehensive word dictionary
- Accurate scoring system
- Operating System: [Windows 10]
- Python 3.7 or above
- Pygame library version 2.0.0 or above
- Ensure Python 3.7 (or later) is installed on your machine. If not, you can download and install it from the official Python website (https://www.python.org/downloads/).
- Install the Pygame library. Open your terminal and run the following command:
pip install pygame
3. Clone or download this repository to your local machine.
- Open your terminal and navigate to the directory where you downloaded the project.
- To run the game, execute the main Python file (for example, if your main file is called main.py, you would use the following command):
python main.py
3. The game should now start and you can begin playing!
- mf314
- pyScrabbleProject
- resources
- fonts
- OpenSans-Regular.ttf
- FuturaExtended.ttf
- images
- LetterSprite.png
- tile_resources.png
- tile_resources.xcf
- board_data.txt
- fonts
- board.py : Contains the code for the game board.
- colours.py
- computerplayer.py :Contains the code for the computer mode
- game.py: The main Python file to start the game
- singleplayer.py : Contains the code for the single player mode
- LettersSpritesheet.py : Contains the code for the LettersSpritesheet
- player.py : Contains the code for the player class
- resourceFile.py : Contains the code for the resource manager
- scoringSystem.py : Contains the code for the scoring system.
- scrabble.py : Contains the code for the word validation.
- ScrabbleAI.py : Contains the code for the AI algorithm.
- tileModule.py : Contains the code for the tiles.
- TwoPlayerMode.py : Contains the code for the TwoPlayer mode
- word_dictionary.py : Contains the code for the word dictionary
- resources
Please note that this project is for a dissertation and is not currently accepting contributions.
[Muneer Fakih] [2023]. All rights reserved.