Skip to content

KTsula/EscapeRoom-in-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EscapeRoom

A simple graphical game built only with python.

  • Used package: graphics.py

Running the game

In order to run the project, first clone the repo:

git clone https://github.com/KTsula/EscapeRoom-in-Python.git

Open the folder in any code editor. I would suggest pycharm or VScode.

The code has been tested and definitely works for Python 3.9 version.

To play the game run the file

main.py

The game UI:

Screenshot 2023-05-01 154841

Screenshot 2023-05-01 154912

Screenshot 2023-05-01 155008

Screenshot 2023-05-01 155043

Screenshot 2023-05-01 155147

Screenshot 2023-05-01 155241

Screenshot 2023-05-01 155326

Logic behind

In order to activate a game execute main.py - > main.py activates play.py - > play.py is a function that organizes switch from one room to another and checks if the conditions for continuing a game are satisfied.

room*.py -s are functions for different rooms.

Inventory is constant in all rooms and is sent to one another as a list.

About

A simple grapical game of escape room

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages