Acorn Runner: An escape to survive
You are an acorn, heir to the Honourable Furious Forest Throne. Your beauty shines like no other, reflecting the colourful solar rays into the eyes of all spectators. But instead of your usual coat of beautiful acorn shell, you find yourself covered in ash. Not only that, but you've fallen great depths from the heights of the towering trees of the Honourable Furious Forest that once cared for you.
You shed a tear of loss. The horrid memories of the Fire Nation's invasion flash before you as you relive the moments your hometown, the Honourable Furious Forest, was burnt to ashes. Your friends, the koalas and kangaroos, your family, the Honourable Furious Forest members, all burnt to a crisp.
Mustering up your motivation for revenge, you, the acorn, heir to the Honourable Furious Forest Throne, stumble forward and find yourself in a maze. You observe walls of fire, helicopter search lights and teleporting pads within.
You cry out and slam your little acorn fist on the greyed Honourable Furious Forest floor of dried up leaves. You swear upon your Father's name, Lord Scarlet Oak of the Honourable Furious Forest, that you will conquer this maze and restore the Honourable Furious Forest back to its former glory of rainbow and sunshine.
Check the Ed pinned posts for a video demonstrating this assignment in action!
This document may receive updates. Please keep an eye on Ed announcements for any amendments.
Description
In this assignment there will be three parts:
A game component. You must be able to play the game yourself.
The game will be a 2D maze with the objective of moving from start to end.
A solver component.
It should play the game as many times as it needs to generate a successful path. More on this in the Solver section of this specification.
A report.
3 questions on testing and a short analysis on the solver algorithms involved.
Example screenshot with emojis:
Legend:
🌰: The acorn (start)!
🏴: Ending/Goal cell
➖: Wall cell
💧: Water bucket cell
🔥: Fire cell
1/2: Teleport cell
Unfortunately as Ed doesn't support emojis, your game will have to be in ASCII letters as shown in the sample outputs below!
Cells
Cell character
Meaning
A Player cell (stands for Acorn)
' ' Air cell (space bar)
X Starting cell
Y Ending/Goal cell
* Wall cells
1, 2, 3, 4,
5, 6, 7, 8,
9 Teleport cells. These numbers will come in pairs. On stepping onto the cell, you enter the cell '1', you teleport to the other '1'. Values greater than 9 will not be given. Note: 0 is not a valid teleport pad!
W A water bucket cell. On stepping onto the cell, the player gains a water bucket.
F A fire obstacle that you cannot pass unless you have a water bucket.
Configuration
There will be one txt file which contains an ASCII representation of the maze. The maze may have more than one viable solution. The symbols correspond to the cell characters outlined above. All letters shall be in upper case.
Example configuration file:
Commands
Command Meaning
w Move up
a Move left
s Move down
d Move right
e Wait a turn
q Quit the game
If the user enters an invalid move, print Please enter a valid move (w, a, s, d, e, q). . The game should then continue to ask for the next move.
These commands are case-insensitive!
See the sample outputs below for usage!
Implementation details
Your program will be written in Python 3. The only in-built module methods and attributes you are allowed to use are:
<--- (More on this later) You may not import any other modules.
To help you, a scaffold of a suggested implementation structure is provided. Some test cases require certain features of your code and cannot be modified.
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme