Task 2. Design, build and test (ILO2) Beetle is a simple dice game for one player. The aim is to collect all the body parts of a beetle. Rolling an unbiased six-sided dice, a 1 gives a beetle body, 2 gives a head, 3 gives an antenna, 4 gives an eye, 5 gives a mouth, and 6 gives a leg. The player must collect a beetle body before any other body parts can be added. The player must collect a beetle head before any antennae, eyes or mouth can be added. A complete beetle consists of one body, one head, two antennae, two eyes, one mouth, and six legs. (1) Implement this game as a Python function. Follow the steps and logic you take in a physical game. Your code should include enough print statements to generate a clear nontrivial example illustrating a play of the game, telling the story as the dice is rolled and the beetle body parts are assembled. Please provide both your code and the output from a sample run. [10 marks] (2) Modify your code to add at least three counts that effectively summarise a game, e.g., how many dice rolls are made, and the final body part added to complete the beetle. Use these summary counts to compare the original game descried above with the variant in which the player needs to build two complete beetles (while satisfying the precedence of body parts for both beetles). Also compare these with one further variant of the game of your choice. Explain carefully what steps you have taken to test your code (not just debugging). Please provide your updated code for the original game with counts and the two variants, together with output from sample runs of each and a comparison of counts in a table. [15 marks]
CS 340 Milestone One Guidelines and Rubric Overview: For this assignment, you will implement the fundamental operations of create, read, update,
Retail Transaction Programming Project Project Requirements: Develop a program to emulate a purchase transaction at a retail store. This
7COM1028 Secure Systems Programming Referral Coursework: Secure
Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip
CS 340 Final Project Guidelines and Rubric Overview The final project will encompass developing a web service using a software stack and impleme