Skip to content

This 2D python game on firefighter simulation for FOET term project.

Notifications You must be signed in to change notification settings

ritvik03/Baby-I-am-A-Fighterfighter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This 2D python game on firefighter simulation for FOET term project.

How to run

  1. Install anaconda for your respective system https://docs.anaconda.com/anaconda/install/

  2. Clone this repository

  3. Create a conda environment with requirements as stated in requirements.txt

    $ conda create --name --file requirements.txt

    This command line should do the job

  4. Once, environment is created, run:

    $ python roomDesign.py

    (This would replace existing room.csv file)

    OR

    $ python roomDesign.py --name .csv

  5. NOTE: Press 's' after you finish drawing the obstacles to save them, the window would close automatically.

  6. Once the custom room is created, run

    $ python game_final.py

    (to run a game with custom room as room.csv)

    OR

    $ python game_final --customRoom .csv

    (This would use the specified customRoom)

    OR

    $ python game4.py --customRoom <custom_room_name>.csv

    (for full game)

By default, there are 5 rooms arranged in a circular manner (- 1st - 2nd - 3rd - 4th - 5th - 1st -). And only 5th room is customizable. To customize other rooms and keep number of rooms dynamic, pyQt additions are required.

About

This 2D python game on firefighter simulation for FOET term project.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages