Game Programming Assignment, TARC, Malaysia You display a jumbled letter and ask the user to guess the word. For example, the word displayed is H F C L E E U R
University | Tunku Abdul Rahman College (TARC) |
Subject | Game Programming |
SangMambai is a long-lost prince of King SangWangi. He disappeared a long time ago for an unknown reason. Now, he wants to find his way back to the palace to meet his father, King SangWangi. Yet, he must complete certain tasks given by the witch to remove the spell on him. Unfortunately, he is unaware that the palace has been attacked by unknown creatures.
QUESTION 1:
You display a jumbled letter and ask the user to guess the word. For example, the word displayed is H F C L E E U R. Within 3 attempts, the player needs to arrange the jumbled letter and type the correct word, regardless of the word in capital or small letter. If they guess it right, inform the player that they are going to move to the next level and be awarded 250 gold coins. Display the current value of gold to the player. If they are unable to guess it right, the game is over.
QUESTION 2:
SangMambai solved the first question and now faces another obstacle. He needs to collect as many gold coins for him to give to the evil witch. He needs to give 5 random 2-digit numbers. Then the witch will arrange the number from smallest to biggest and display it to the player. SangMambai needs to memorize the numbers arranged by the witch.
QUESTION 3:
He continues his journey and finds a sign in front of him. The sign stated that SangMambai can increase his gold coins by answering all the questions below correctly:
A. Guess the number
B. Name it
C. Count it
By using the switch… case statement, allow SangMambai to solve each of the questions.
A) Guess the number
i. Ask the SangMambai to guess the middle number from 5 numbers arranged from smallest to biggest in Question 2 in ONE ATTEMPT only.
ii. Correct answer gives 1000 gold coins and if the answers are wrong, he is not allowed to continue his journey. Display the current gold coins
B) Name it
i. SangMambai needs to write the full name of his father correctly. He is allowed to write the name ONCE only and if he failed to do so in ONE attempt, he is not allowed to continue his journey.
ii. Correct answer gives 1000 gold coins. Display the current gold coins
C) Count it
i. SangMambai is required to solve 2 mathematical questions of your choice. It doesn’t matter how many times he can answer the question as long as the player answers it right
ii. Correct answer gives 1000 gold coins and if the answers are wrong, he is not allowed to continue his journey. Display the current gold coins.
Are You Searching Answer of this Question? Request Malaysian Writers to Write a plagiarism Free Copy for You.
Get Help By Expert
Looking for essay help online in Malaysia? At Assignmenthelper.my, we are committed to providing you with the expert writing assistance and support that you need to succeed in your academic endeavors. Whether you are struggling with an essay or dissertation, our dedicated team of assignment help experts is here to help.
Recent Solved Questions
- Finance Assignment, UM, Malaysia Ratio analysis can be used for identifying some of the issues of a firm. Indeed, Ratios draw the management’s attention
- NBBS1313: Psychology and Sociology for Nurses Essay, OUM, Malaysia The purpose of this assignment is to discuss psychological and sociological studies’ influences on the health and well-being community
- Manufacturing Technology Essay, UTHM, Malaysia Demonstrate the need for sustainable development in the manufacturing process. What are the problems/issues
- BBNG3103: What is the meaning of foreign direct investment (FDI)? Give examples of FDI that are related to Malaysia: International Business Assignment, OUM, Malaysia
- Write SQL queries to answer the following questions. Use the information given in each table: Database Assignment, IIU, Malaysia
- ETR253E: TOURISM Report, KCC, Malaysia Choose one ENVIRONMENTAL IMPACTS (Examples: pollution, land degradation etc.) that caused by tourism industry and conduct an internet search on the impact that you have chosen
- Engineering Software and Applications Assignment, APU, Malaysia In signal and system engineering, there are many transformation techniques available to convert certain signals into specific formats
- Accounting Assignment, UM, Malaysia On 1 January 2021, the company decided to issue 200,000 preference shares and 2,000,000 ordinary shares at RM1.40
- LAW523: Finance Law Essay, CSU, Malaysia Lisbon was charged with murder under section 302 of the Penal Code for killing 16 years old student identified as Paris
- Analysis of Agile Organization Course Work, UMP, Malaysia Supply Chain Operational Performance can be defined as activities and processes involving transforming raw materials