Create a game in greenfoot

Assignment Help Other Subject
Reference no: EM132196673

Assessment

Overview:

Your task is to create a game in Greenfoot, with three types of elements: a PLAYER piece, controlled by the player; a FOOD piece that can be ‘caught' by the player; and an ENEMY, that can ‘catch' the player. If the enemy catches the player, then the game is over.

You must choose a theme for your game that is not crabs/worms and lobsters. All your elements should suit your theme, including the background and the actors. The movement of the actors should ‘make sense' as per the theme of your game. We do not expect to see the same theme or game created by any two students - be original!

Details:

At the beginning of the game, there must be one PLAYER piece on the screen. The PLAYER must be controlled by the keyboard arrows, and at minimum must have left and right movement. That is, when the left arrow key on the keyboard is pressed, the PLAYER will move to the left. When the right arrow key is pressed, the PLAYER will move to the right.

There must be at least 10 FOOD pieces on the screen at the beginning of the game. Each FOOD piece must have random movement on the screen - that is, it must turn and move randomly, and must be able to be caught by the PLAYER. When the FOOD is caught by the PLAYER, it should be removed from the screen.

There must be at least one ENEMY on screen at the beginning of the game. Each ENEMY must have random movement on screen which is different than the food (cannot use the exact same code). If the ENEMY catches the player, the game should end.

You should include sound effects that will fit the theme of your game. These can be either in-built or created by you.

Additional Details:

You can choose to use the inbuilt media for backgrounds and actors OR you can choose to add your own (see Module 4 for how to do this), or some combination of the two. If you do add your own, make sure you use PNGs with transparency for your actors, and keep your file size small.

Additions:

General criteria: playability, accuracy, careful coding, maintainability of the code, commenting, choice of names for classes, methods (and variables if necessary).

You may like to add the following features, for extra credit:

• Add turning left (letter "A" on keyboard) and turning right (letter "D" on keyboard) to the
PLAYER piece;
• Add move up (up arrow on keyboard) and move down (down arrow on keyboard) to the PLAYER piece;
• Add animation when the PLAYER is moving;
• Add animation when the FOOD is moving;
• Add animation when the ENEMY is moving;
• Add a SCORE which is displayed to the user;
• You can also add your own enhancements, but if you do, you must include a text file in your submission, that explains those enhancements.

Attachment:- Assessment specifications.rar

Reference no: EM132196673

Questions Cloud

Describe the fishing market using what you have learned : Describe the fishing market using what you have learned about opportunity cost, marginal analysis in decision-making, and markets.
Relationship between demographic change and economic growth : Identify the relationship between demographic change and economic growth in the MENA region. How do resource rents and demographic change influence economic.
Discuss about growth and development of many countries : Economic Policy is important for growth and Development of many countries. The starkest example of what the gains and losses from policy can be comes.
Which factors can be addressed with better policies : Why are primary cities-generally the capital- often disproportionately large in many developing countries? Which factors can be addressed with better policies?
Create a game in greenfoot : Create a game in Greenfoot, with three types of elements: a PLAYER piece, controlled by the player; a FOOD piece that can be ‘caught' by the player
What happen to equilibrium price and quantity : Furthermore; using demand and supply show what happen to equilibrium price and quantity if eating this product causes cardiac.
Calculate total revenue for each of these production levels : On the graph input tool, change the number found in the Quantity Demanded field to determine the prices that correspond to the production.
Implementing warehouse management systems : Why do LMS projects yield very positive ROI (far better than implementing Warehouse Management systems)?
Calculate the gdp for the year : Assume that steel is used as an input in the production of cars. Using that information, calculate the GDP for the year 2016. Explain your answer in words.

Reviews

len2196673

12/17/2018 11:50:30 PM

Submission: You must export your game as both: a JAR file (application); and a Greenfoot archive (gfar) file. Please name your file appropriately, e.g. cseton10_Ass2.jar and cseton10_Ass2.gfar Submit both of these to MySCU site under the “Assignment 2” link. Make sure you Submit (not just Save) by the due date. Your tutor will contact you if they have any questions about your submission.

Write a Review

Other Subject Questions & Answers

  Describe two examples of reason in thomas paine work

Describe two examples of reason in Thomas Paine's work. How do you think these ideas could have inspired some of the core values that the United States still retains today

  Define what are the difficulties with informing the public

why is the public generally unaware of these details. What are the difficulties with informing the public

  Implement to attain consistent ethical decision making

How would protected values, preference, and laws affect consistency in Making Ethical Decisions? What strategies would you develop and implement to attain consistent ethical decision making?

  Theory of psychosocial development

Do you believe Erikson's 60-year-old theory of psychosocial development is still relevant in the twenty-first century world? Are children still allowed to explore and discover the world on their own? What do behavioral statistics say about parents..

  Public while implementing relevant policies and programs

focuses on educating the public while implementing relevant policies and programs that control the spread of HIV/AIDs entails as the most aspects

  Identify a non-governmental organization

This scholarly activity asks that you identify a non-governmental organization (NGO) that responds to major disasters or public health emergencies.

  How the interests of veronica and charles compete

Veronica has sought advice from you as her solicitor. In a competition of priorities, advise how the interests of Veronica and Charles compete.

  Discuss about the abstract reasoning

Explain how a list of items in inventory and their quantity on hand is an abstraction of a physical inventory.

  Describe maslows theory of the hierarchy of needs

The book lists multiple dimensions of health. Describe Maslow's theory of the hierarchy of needs. In your opinion, can we ever achieve self-actualization?

  Discuss the competing constitutional rights of persons

In this course we discussed at length the issue of governmental regulation of abortion in the United States, Canada and Germany. For each nation (the United States, Canada and GermanY) and citing to the materials we have covered in this course, pl..

  What is the process of plea negotiations

What is the process of plea negotiations? How does the plea bargain process help the prosecution, the defendant, and the people?

  Real-world examples of important it developments and trends

Provide at least two real-world examples of important IT developments and trends, using numerous screen shots of selected Web sites and Internet links.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd