https://github.com/fogmoe/fogmoegame
A Monopoly-like game demo. Later, it will use other game engines to reset the client to the web version, and optimize the gameplay, graphical interface, online servers, etc.
https://github.com/fogmoe/fogmoegame
bug demo issues monopoly pygame python unfinished
Last synced: 10 months ago
JSON representation
A Monopoly-like game demo. Later, it will use other game engines to reset the client to the web version, and optimize the gameplay, graphical interface, online servers, etc.
- Host: GitHub
- URL: https://github.com/fogmoe/fogmoegame
- Owner: FogMoe
- License: gpl-3.0
- Created: 2025-05-30T13:29:03.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-31T08:01:33.000Z (about 1 year ago)
- Last Synced: 2025-06-28T16:13:04.674Z (12 months ago)
- Topics: bug, demo, issues, monopoly, pygame, python, unfinished
- Language: Python
- Homepage: https://github.com/FogMoe/fogmoeGame/releases/download/v1.0.0/game.zip
- Size: 151 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FOGMOE
A simple Monopoly-style game supporting both single-player and LAN multiplayer modes, developed in Python using Pygame.
## Features
- **Single-Player Mode**: 1 human player versus 3 AI opponents
- **Multiplayer Mode**: Up to 4 players over a local area network (LAN)
- **Game Rules**
- Collect coins and return to your Home cell to win
- Victory condition: have 100 coins and land on your Home cell
- **Reward Cell** (Yellow): roll the dice to gain coins
- **Penalty Cell** (Dark Blue): roll the dice to lose coins
## Quick Start
### Install Dependencies
```bash
pip install pygame
```
### Single-Player Game
```bash
python main.py
```
Click “Single Player” to begin.
### Multiplayer Game
1. **Start the Server** (on the host machine):
```bash
python start_server.py
```
2. **Create or Join a Room**:
- Run `python main.py`
- Click “Multiplayer”
- The host clicks “Create Room”
- Other players click “Join Room” and enter the server’s IP address
3. **Begin the Game**:
- The host clicks the “Start Game” button
## Project Structure
```
Game Semi-finished outdated
```
## Multiplayer Details
- Players are assigned as Player 1, 2, 3, and 4 in join order
- Only the active player may roll the dice on their turn
- AI actions are calculated by the host and synchronized to all clients
- Game state is kept in sync across all clients in real time
## System Requirements
- Python 3.7 or higher
- Pygame 2.0 or higher
## Notes
- All players must be on the same LAN
- Ensure your firewall allows traffic on port 29188
- The server must remain running while the game is in progress
## License
This project is licensed under the GPL License.