docx, 17.29 KB
docx, 17.29 KB

Welcome… This is designed to be used after the Beginning Python Programming examples. The price helps support the free resources also published and gets me a coffee.

A more complex demonstration of how you can build a dungeon/map game. The game utilises a 2D Array to store a map so that directions can be correctly calculated depending on the player position. The progam also uses a global variable for the map, functions, integer floor division and modulus for time calculations.

Development of the game could include: Changing the map, altering the size of the map (look out for limiting variables), adding a wandering monster, adding a new message for the starting square, increasing difficulty, adding a new scoring system and lots more that I’m sure you’ll think of.

The explanation lines have been commented out so you can simply copy and paste the whole document into IDLE (or similar) and see it working, or print to use as a help guide.

(If you find the resource useful, please leave a review as it helps other teachers find it)

HackDragn

Reviews

Something went wrong, please try again later.

This resource hasn't been reviewed yet

To ensure quality for our reviews, only customers who have purchased this resource can review it

Report this resourceto let us know if it violates our terms and conditions.
Our customer service team will review your report and will be in touch.