Reference no: EM133188133
Task: Expanding your game
Task Description:
There are two (2) parts of this assignment: the continuation of Assessment 1 game and a video explaining the code in your game.
A. The Game
Your task is to extend your existing game from Assessment 1.Your game will now include ‘food' which can be collected by the main character and an ‘enemy' which wants to capture you (and end the game). Your player, enemy and ‘food' will be related in some way to each other and the environment (background) - see your description to make sure you understand this need.
You will incorporate your own media and additional rules to expand your theme. Your gameshould be an overall improvement on your
Assessment 1 game.
Your tasks are to implement:
• A class for some food or other item of value (appropriately named) to be collected by the player character;
• A class for an Enemy (appropriately named) which will wander randomly around the scene;
• a timer, that counts down from a specified number;
• code, so your player character can collect food or items;
• code, so your Enemy can catch your player character;
• code, to end the game when:
o The player character collects all the food/items,
o The player character is caught by the Enemy; or
o when the timer runs out.
• Your own recorded voice sounds for:
o Collecting food
o Being caught by an Enemy
o The timer running out
o (no music is allowed)
You are encouraged to use your own recorded voiceandyour own sourced images to improve your theme. Any media sourced from the net should be licensed under Creative Commons license or available through public domain. If you are unsure, make sure to ask your tutor.
You should use ‘best practice' throughout, such as commenting on your code and spacing your code, so it is readable, and using reasonable naming for your methods and classes/objects.
You should use this as a creative exercise. We should not see any games that are the same! Think about your audience - are they small children? teens? political people? Do you want to use your game to make a statement about some issue? Think about your choice of characters, as well as the movement of them, as you design your game.
B. Video:
You will record a short 5-minute video presentation, explaining your game and how you implemented the code in your game. You will explain the classes and the methods and code within each class. You will need to show some form of ID clearly for the camera.