https://github.com/RedInfinityPro/Boggle
The project uses Pygame to digitally execute Boggle, a classic word game where players form words from adjacent letters, competing against a computer to find valid words within a set time.
https://github.com/RedInfinityPro/Boggle
customtkinter random string time
Last synced: 4 months ago
JSON representation
The project uses Pygame to digitally execute Boggle, a classic word game where players form words from adjacent letters, competing against a computer to find valid words within a set time.
- Host: GitHub
- URL: https://github.com/RedInfinityPro/Boggle
- Owner: RedInfinityPro
- Created: 2022-06-04T00:36:45.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-11-05T02:16:53.000Z (8 months ago)
- Last Synced: 2025-03-09T03:04:16.394Z (4 months ago)
- Topics: customtkinter, random, string, time
- Language: Python
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Boggle
The project uses Pygame to digitally execute Boggle, a classic word game where players form words from adjacent letters, competing against a computer to find valid words within a set time.[](https://pypi.org/project/nltk/)
[](https://pypi.org/project/random,/)
[](https://pypi.org/project/pygame/)
[](https://pypi.org/project/nltk/)## Table of Contents
- [About](#about)
- [Features](#features)
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
- [License](#license)## About
The project is a digital version of Boggle, a word game developed using Pygame. Players form words from adjacent letters on a random 4x4 board, competing against a computer to find as many valid words as possible within a set time.
## Features
- Random Letter Board: A 4x4 grid of randomly generated letters.
- Word Validation: Ensures words are valid based on a dictionary from NLTK.
- Multiline Input: Allows players to input multiple words.
- Timer: Tracks the time for each round.
- Scoring System: Calculates points for valid words based on their length and complexity.
- Computer Opponent: Competes against the player by generating its own words.
- Restart Button: Allows the player to restart the game.## Installation
Prerequisites
- Python 3.6 or higher
- Reddit API credentials
- Wikipedia API library
- Holidays library
- Pycountry libraryPrerequisites
- Python 3.x
- Pygame
- NLTK## Usage
Run the game:
- python main.pyPlaying the game:
- The game starts with a random 4x4 letter board.
- Enter words using the multiline input box.
- Words must be at least 3 letters long and formed from adjacent letters.
- Press the "Play" button to start a new game.
- The game automatically ends a round every 3 minutes and updates the scores.
- The game continues until either the player or the computer reaches the target score (50 or 100 points).## Contributing
Contributions are welcome! To contribute to Monster Maze, follow these steps:
1. Fork the repository.
2. Create a new branch:
```bash
git checkout -b feature/YourFeature
```
3. Make your changes and commit them:
```bash
git commit -m "Add new feature"
```
4. Push to the branch:
```bash
git push origin feature/YourFeature
```
5. Create a new Pull Request.## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.