Highlights
GUI game components: The game has the following components:
1. Three playing areas- These are represented by three vertical rectangles of different colours on the screen size of 600 wide x 600 high. In the video, these three vertical rectangles are filled with red, purple, and green colours. Please feel free to change these playing areas colours to your liking. Though the player’s playing area is represented as three vertical rectangles, assume them sitting in a circular arrangement like below.
2. The shape of the gifts – In this assignment, we are using one shape for all three gifts. In the sample video, we are using a rectangle (round corner) as a shape for the gifts. Player 1 gifts are filled with green colour, Player 2 gifts are filled with yellow colour and Player 3 gifts are filled with purple color. You are can reuse the shapes from assignment 2, if you wish.
3. Position of the gifts- Each player’s gifts are placed at random locations within the player’s playing area. You must use arrays to store the random locations of the gifts. (Hint- use one array per player ).
4. Function to display the gifts - Your code must use a function that takes an array as an input/parameter (Hint: you pass the array which stores the random location of the gift from step 3 above). The function iterate through the input array to draw the gift/shapes on the respective players’ playing area. No two gifts should overlap each other (Hint- validate the random locations of each gift to make sure they don’t overlap each other).
5. Function to create ‘Dice and Roll’ operation – Your code must use a function to create a dice and display a random number between 1-6 (inclusive of 6). In this video, we have reused the code from assignment 2 but have structured our code in a new function and have called that function to create a dice.
This (WCOM1000/COMP1000) Computer Science Assignment has been solved by our Computer Science Experts at My Uni Paper. Our Assignment Writing Experts are efficient to provide a fresh solution to this question. We are serving more than 10000+ Students in Australia, UK & 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 Turnitin file), expert quality assignment or order an old solution file that was considered worthy of the highest distinction.
© Copyright 2026 My Uni Papers – Student Hustle Made Hassle Free. All rights reserved.