Skip to content

jmlm74/P3-McGyver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

P03-Mc Gyver Labyrinth

project 3 of the 'python developper' learning path of OpenClassrooms

Simply graphic and text labyrinth game



Instructions

run with -t or -g parameter (text or graphic mode)
ie : python Labyrinthe.py -g
You must pick up 3 items before reaching the goal to win otherwise you loose


Requirements
  • Python V3.6 or higher
  • Pygame V1.9.6 (in requirements.txt)

MVC pattern
  • Models : directory models
    • hero.py --> the hero in text mode
    • herograph.py --> the hero in graphic mode (inherit hero)
    • map.py --> the map
    • position.py --> the position (tuple (x,y))
  • Views : directory views
    • consolemode.py --> the display in console-text mode
    • graphicmode.py --> the display in graphic mode
  • controlers : directory controllers
    • playtxt.py --> the game controls in text mode
    • playgraphic.py --> the game controls in graphic mode
  • ressource directory contains images,fonts,musics and the map file
  • root directory
    • Labyrinthe.py --> main
    • setup.py --> variables and constants

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages