Reference no: EM133180698
Task - Small game from template
Task Description:
There are two (2) parts of this assessment: a description of your game and the beginnings of the game itself which you will continue to build on for Assessment 2. Your game should be designed in the form of a top-down style game which will have a player character, an enemy of some form and a food or item for your player character to collect.
The Description:
You must write a short paragraph in the comments section of the World class on what your game will be about, making sure you reference the setting and the characters, as well as providing a story.
An example might be:
"Freddo the Frog finds himself transported to an alien planet, where there is plentiful food in the form of plants that can move around. As he is congratulating himself on his good luck, he finds that there is a large three-eyed alien that wants to eat him for lunch! Freddo must eat as many plants as he can, while avoiding the alien."
Note: this description is for the final product you will build for assessment 1 and assessment 2. You are not expected to develop food or enemies in the first assessment.
B. The Game
Your task is to use the provided template on MySCU as a base to create your own game, with your own theme. Your game must be complete; that is, it must
• include a background;
• include a main character that suits the gametheme;
• modify the provided program to add at least one (1) method but no more than two (2) additional methods are to be created. The method functions can either include; making the character turn at random OR making the character turn at the edge of the world.
• initialize the scenario to make sure the player character starts in the middle of the scene when it is replayed.
You can use one of the provided backgrounds OR one of the provided characters. You cannot use both. You are encouraged to source your own images to use with your game. 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.