Skip to content

jonathanreveille/project3_OC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenClassRooms projects

This is the third project in part of the Python course at OC

🐍 Python App Development - Projet 3 - Aidez MacGyver à s'échapper ! (Help MacGyver to escape)

Here is the link to the project

The project

For this project, we had to create a 2D maze in where our hero tries to escape. So far, we have just established the first level of the game. It works under the terminal mode or you can play it in graphics mode (pygame library). You have the free option to select in which mode you wish to play.

Description of the project (game) :

The hero (Macgyver) in the game that is represented as MacGyver, he is controlled by the gamer, and he needs to find items among the maze. Those items will allow him to build automatically a seringe. This item becomes a weapon to fight against the guard that is standing at the exit. If you manage to make the guard fall asleep you will win, without the seringe, you will loose. If you want to suceed, I strongly recommand to find the items before reaching the exit.

What is in this project ?

  • Use of OOP
  • Use of pipenv (virtual environment with Python 3)
  • Respect and follow recommandations from PEP8

Getting started:

  1. Clone this project if you wish to play.

First of all, first you need to install p ipenv

    1. pipenv install (install all requirements) This will install all requirements (pygame v.1.9.6 and python v.3.7.4) needed for this project. The advantage of pipenv is that it is cross-platform. It is recommended by the official documentation.

2.a. Then :

  • pipenv run python -m macgyver You are now ready to play.

Launch the game

In terminal mode :

2.b. Same steps above except the last one will be

  • pipenv run python -m app

Licence:

Acknowledgement:

I would like to give special thanks to Thierry Chappuis and Aurélien Massé for guiding me throughout this project.

Here is a screen shot of the game, enjoy !

Game Screenshot

About

OC_P3_Labyrinth_game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages