Welcome to Chase, an exciting structured game where players navigate through a maze to avoid being caught by robots. The objective is to make the robots collide with each other or with obstacles to destroy them. Players can also move the obstacles within the maze to create strategic advantages. This project is an implementation of the Chase game in Python, utilizing structured programming principles.
- Features
- Installation
- Usage
- Game Symbols
- Images
- File Structure
- Technologies
- Contributing
- License
- About This Project
- Engaging gameplay with maze navigation
- Avoid being caught by robots
- Create collisions between robots or with obstacles to destroy them
- Move obstacles strategically within the maze
- Intuitive graphical interface with keyboard controls
To run this project locally, follow these steps:
- 
Clone the repository: git clone https://github.com/SebaB29/chase.git 
- 
Navigate to the project directory: cd chase
- 
Run the game: python main.py 
Use the following controls to play the game:
- W: Move up
- A: Move left
- S: Move down
- D: Move right
- Q: Move diagonally up-left
- E: Move diagonally up-right
- Z: Move diagonally down-left
- C: Move diagonally down-right
- P: Pause
- Space: Teleport to a random position
Avoid being caught while trying to create collisions between robots and obstacles!
- JUGADOR: "♥" (Player)
- ROBOT: "☻" (Robot)
- OBSTACULO: "☼" (Obstacle)
The project structure is as follows:
Chase/
├── graphics/
│   ├── gamelib.py
│   └── inter_gráfica.py
├── img/
│   └── [2 demo images of the game]
├── src/
│   └── chase.py
├── main.py
├── .gitignore
├── README.md
├── LICENSE
- graphics/: Contains libraries for rendering the game (gamelib and graphical logic).
- img/: Includes demo images showcasing the game's functionality.
- src/: Contains the source code file for game logic (chase).
- main.py: The entry point of the application.
This project is built with:
- Python
- Gamelib (A library created by the instructor to facilitate the use of threads and rendering for the interface)
Contributions are welcome! If you'd like to improve the game, feel free to fork the repository and submit a pull request.
- Fork the repository
- Create your feature branch (git checkout -b feature/AmazingFeature)
- Commit your changes (git commit -m 'Add some AmazingFeature')
- Push to the branch (git push origin feature/AmazingFeature)
- Open a pull request
Distributed under the MIT License. See LICENSE for more information.
This project was developed as a practical assignment for university. It aims to implement the Chase game using Python, focusing on game logic and graphical interface through structured programming principles.

