An open API service indexing awesome lists of open source software.

https://github.com/anshulranjan2004/escape-the-maze

Escape the Maze is a Python-based multiplayer game that uses Pygame and socket programming for real-time competition.
https://github.com/anshulranjan2004/escape-the-maze

pygame python socket-programming

Last synced: over 1 year ago
JSON representation

Escape the Maze is a Python-based multiplayer game that uses Pygame and socket programming for real-time competition.

Awesome Lists containing this project

README

          

# Escape-The-Maze
Escape the Maze is a simple multiplayer game that involves navigating through a maze to reach the end point before your opponent does. The game is built using the Pygame library for the graphical interface and Socket programming in Python for the multiplayer aspect. The game allows players to connect over a network and compete in real-time to reach the end of the maze.

To play the game, players need to first start the server and then connect to it using the client. Once both players have connected, they will be taken to the game screen where they can navigate through the maze using the arrow keys. The first player to reach the end of the maze wins the game.

## Requisites
Python 3.x and pygame.

## Instructions
You need to run the server first
> python server.py

Then you can execute the client up to four times
> python client.py

#### Important

- Wait for the client to load before executing the next

- The server needs to be restarted whenever the match ends or a player is disconnected

## Screenshots
![screenshot1](https://user-images.githubusercontent.com/91585064/228032050-a226d2b9-bc17-4e27-a43c-20b235cd98e3.jpeg)

![screenshot2](https://user-images.githubusercontent.com/91585064/228033195-725f31d4-bebb-4014-ad15-ba543ff9d427.jpg)

![screenshot4](https://user-images.githubusercontent.com/91585064/228033466-62f24481-d9e1-4a84-a991-3996d9204b58.jpg)