ITEC102 Introduction to Programming Assignment - Shoot UFO

Assignment Help Other Subject
Reference no: EM132460736

ITEC102 Introduction to Programming Assignment - Shoot UFO, Sydney Institute of Business and Technology, Australia

Learning Goals - This assignment contributes to the learning outcomes as follows:

1. Apply problem solving skills to develop algorithms that solve small to medium-sized computational problems: Introductory experience in developing an algorithm to solve a problem from an informal specification of the problem.

2. Design and code implementations of their algorithms in an imperative programming language: Practical experience in translating a simple algorithm into an equivalent Processing program that uses drawing, animation and variables.

3. Use standard software engineering practices to document, debug and test their programs: Experience in developing a clear program from a specification, testing the conformance of the program to the specification, and debugging any problems that are detected.

Introduction - This assignment asks you to write a program to draw and animate shapes. You should only need to use material from up to and including Chapter Four of the textbook. The most relevant module is Pixels and Variables.

We strongly suggest that you divide the assignment up into parts, tackle each part separately and don't move on until you get each one working.

Questions - If you have questions about the programming for this assignment, ask on the Discussion Forum on LMS or consult with your tutor. No extensions will be granted except for serious and unavoidable disruption. Contact Muhammad Atif Qureshi as soon as possible, preferably before the due date, if you have suffered a disruption that affects your ability to submit this assignment.

What your program needs to do -

The aim of this assignment is the implementation of a program called "Shooting UFO".

1) Your program should use a window that is 500x500 in size.

2) The background of the initial screen should be set using the image "background 1" in the assignment folder. (Hint: you may have to use load Image() function in Processing). The initial screen should like the following.

3) Once the program starts, the shooting gun (similar to the shown in the figure below) should be drawn at the bottom of the screen. The shooting gun should be able to move left or right as mouse moves on the screen but not upwards or downwards.

4) At the same time, a shape called UFO should appear from the top of the screen (at random position on x-axis) and should start moving down the screen (see the figure below.).

5) Once the UFO is off the screen from bottom, it should appear again from top of the screen, randomly at x-axis.

6) Anytime during the execution, if the use clicks the mouse a red colored thick "beam / line" should appear from the edge of the shooting gun towards top of the screen (See figure below).

7) While shooting the beam, if UFO is in the range of the beam. The UFO should disappear from the screen and should start from the top of the screen again.

8) If the beam hits the UFO, it should be counted as "Hit", otherwise the program should consider it as "Miss" and count it separately.

9) Anytime during the execution, if the use presses "s" key, the program should stop and should show the result screen.

10) The result screen should have the background as shown in the figure below and available in Assignment 1 folder.

11) The result screen should show total clicks, number of hits and number of miss fires.

12) While on the result screen, if the user presses "r" key, the game should start again and all the counters should be set to zero again.

Note - All required figures are in attached file.

Attachment:- Introduction to Programming Assignment File.rar

Reference no: EM132460736

Questions Cloud

Is facebook part of problem or part of the solution : In today's technological immersive environment, do you think even a big tech company can get in over it's head?Is Facebook part of problem
Discuss what is a target market : What is a target market? Why is it important for a firm to choose its target market early in the process of launching its venture?
Estimate imply about how the number of police officers : What does your slope estimate imply about how the number of police officers affects crime?
How different social media platforms for contents publishing : How effective do you think it is to use different social media platforms for contents publishing?create an official account on each platform to showcase
ITEC102 Introduction to Programming Assignment - Shoot UFO : ITEC102 Introduction to Programming Assignment - Shoot UFO, Assessment Help and Solution - Sydney Institute of Business and Technology, Australia
Is mr carlsons suggestion ethical : Is Mr. Carlson's suggestion ethical? Is it ethical to discontinue cash dividend? Explain.Earth Systems has paid cash dividends every quarter for over ten year
Prepare a risk management plan for the project : Develop a reward system for motivating IPT members to do their jobs more conscientiously and to take on more responsibility.
FIN606 Financial Modelling Assignment : FIN606 Financial Modelling Assignment Help and Solution - Develop assumption regarding costing, revenue and other related aspects of the project.
What is google business model and how is it making money : Who are Google's main competitors? What and who should Google worry about? What should the CEO of Google do about these challenges? Provide recommendations

Reviews

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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