WCOM1000: Introduction to Computer Programming - IT Computer Science Assignment Help

Download Solution Order New Solution

Assignment Task

Task A – Background

1. The sketch is drawn in a window of size 600 W x 700 H resembling the image below (colours should be as close to reference image, as possible).

TAsk A

2. The sky is coloured a light blue.

3. The bottom 1/8th of the display window, depicting the ground, should be coloured deep brown, resembling the image above.

4. The text “Use the left and right arrow keys to move the launcher.” is displayed in the bottom, middle of the window.

5. The text “Use the space bar to shoot and destroy the asteroid.” is displayed in the bottom, middle of the window.

 

Task B – Launcher

1. The sample video uses a simple green square as the launcher. You are required to generate a composite shape of your choice.

2. If a simple rectangle, like the one in the sample video is used, you shall only be eligible for 2/20 possible marks for this task.

3. To be eligible for the full 20 marks for this task, your composite shape must be drawn using the following –

  • Rectangles, ellipses, and triangles
  • Lines
  • Changes in colour and stroke

 

Task C – Launcher movement

1. The launcher should move left, along the ground when the user presses the left arrow key.

2. The launcher should move right, along the ground when the user presses the right arrow key.

3. The launcher should only move left or right and never leave the ground.

4. At no point should any part of the launcher leave the screen.

5. If the launcher reaches any of the left or right edge of the screen, pressing the left or right arrow key respectively, should not work since the launcher must always stay within the screen.

 

Task D – Asteroid  

1. An asteroid, drawn as a red circle should appear at the top of the screen.

2. The asteroid should move at a random speed and direction towards the bottom of the screen.

3. If the asteroid disappears off the left or right of screen, before it hits the ground, a new asteroid of random size, location, speed, and direction is generated.

4. If the asteroid hits the ground, it should disappear and a new asteroid of random size, location, speed, and direction is generated.

 

Task E – Shooting the asteroid  

If the launcher has not been hit by the asteroid –

1. Pressing the space bar should release a small projectile, drawn as a black circle, from the centre of the launcher.

2. The projectile will always move straight upwards with a fixed speed.

3. If the projectile hits the asteroid, both projectile and asteroid should disappear and a new asteroid of random size, location, speed, and direction is generated.

 

Task F – Casualty and reset

If the asteroid hits the launcher, before it is hit by a projectile –

1. A new window displays resembling the image below

TAsk F

2. The background is now a deep blue.

3. The ground, asteroid or launcher is not visible.

4. A purple rectangle is drawn in the centre of the screen.

5. A flashing yellow triangle with a black outline and an exclamation mark inside is displayed in the centre of the purple rectangle.

6. The text “Launcher has been hit by the asteroid.” is displayed in the bottom, middle of the purple rectangle.

7. The text “Press the r key to restart.” is displayed in the bottom, middle of the purple rectangle.

8. At this point the left and right keys should not work.

9. If the user presses the R key, the game should reset to the beginning of task A.

This WCOM1000-IT Computer Science Assignment has been solved by our IT Computer Science Experts at My Uni Papers.  Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK and US by helping them to score HD in their academics. Our Experts are well trained to follow all marking rubrics & referencing Style. Be it a used or new solution, the quality of the work submitted by our assignment experts remains unhampered.

You may continue to expect the same or even better quality with the used and new assignment solution files respectively. There’s one thing to be noticed that you could choose one between the two and acquire an HD either way. You could choose a new assignment solution file to get yourself an exclusive, plagiarism (with free Turn tin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.

 

Get It Done! Today

Country
Applicable Time Zone is AEST [Sydney, NSW] (GMT+11)
+

Every Assignment. Every Solution. Instantly. Deadline Ahead? Grab Your Sample Now.