Computer Science – Quest of Rosetta – Kevin Leonard

BY IN IB Computer Science Comments Off on Computer Science – Quest of Rosetta – Kevin Leonard

Rosetta Summary:

Rosetta starts at Camiria and her quest is to learn the “Thunder” magic. In Camiria, Rosetta can buy a magic candle and a magic horn, and she can learn “Protect” later after she have bought a magic shield. In the road to Castle Tyverra, Rosetta will find a house, and will accept the quest to search for the missing grandson. Rosetta can go to the cave to find the magic key if Rosetta has a magic candle. Lucky lake can only be accessed after she learned “Protect”. In Castle Tyverra, Rosetta can buy a magic arrow and a magic shield. Then, Rosetta must find a hidden path to a house that contains a magic bow inside, but needs to be unlocked with the magic key. After that, Rosetta must defeat Satana to go to Winkle Village. To defeat Satana, Rosetta must have magic arrow and magic bow. In Winkle Village, Rosetta can buy a magic rod and a magic potion, and can also learn “Fire”. After that Rosetta must defeat Akylla to proceed. To defeat Akylla, Rosetta must have magic shield and magic rod. When Akylla is defeated, she will drop a magic ring. After defeating Akylla, Rosetta will enter a house and will find the missing grandson. The grandson is asleep and sick, so Rosetta must use magic potion and magic horn to heal him fully and bring him back to his grandfather. After that, Rosetta will learn “Thunder” magic, but she needs to master “Fire” first. When “Thunder” is ready, Rosetta will face the final boss, Ahimsa, and will attack him with “Thunder” and defeat him.

Stakeholders:

– Rosetta

– Ahimsa

– Satana

– Akylla

– 5 old mans

– 3 guards

– 3 mans

– Missing grandson

Why this game is called a “Logic Game”?

• Because we need to think of how to finish the game. There are some clues but they are not exact, so players must use their logic to go through every part of the quests.

Which programming language is used to develop Quest of Rosetta?

• BASIC Programming Language

History of BASIC:

BASIC is first designed on May 1, 1964 by John Kemeny and Thomas Kurtz. Kemeny and Kurtz’s original BASIC dialect is known as Dartmouth BASIC. During 1960-1970’s, BASIC language is implemented by a lot of newer minicomputers. Simple computer games were made by using BASIC, most notably Star Trek.

At the mid 1970’s, the introduction of microcomputers made a really huge growth for BASIC. In 1975, MITS released Altair BASIC which is created by Bill Gates and Paul Allen, which will eventually grow into Microsoft. Then, BASIC is used for IBM PC’s, and QuickBasic is developed. In 1985, Turbo BASIC is made. Then in 1991, Visual Basic is introduced, which is an evolutionary development of QuickBasic, and includes some of the other programming language functions. Many other BASIC dialects have also been released, including QB64, FreeBASIC, Bywater BASIC, Gambas, and many more.

Programming language: High-Level

Procedure vs Function:

• Procedure: Set of commands which can be executed in order
• Function: Used to calculate a value based on input, and the value can be returned.

Programming language should consist of High/Mid/Low level because each level has their own advantages and disadvantages. High-level is easy for people to understand but computers will take more time to read it. Mid-level is slightly harder for people to understand but  computers will process it faster.

Low-level is really hard for us people to understand because it is a machine language, but computer will process it fast and so the performance is really great.

The usage of low-level programming: Faster program performance because computer access it faster.

Also it is used so that we can understand the language of the machines, so when using high-level language we can perform better.

Branching advantages:

• Can put more functions with different requirements, so more complicated programs can be made

• If the requirements doesn’t match, it will go to the next function

Branching disadvantages:

• Longer program, makes it more confusing

• More memory is used for the computer to compile

Compiler vs Interpreter:

• Compiler: Changes the format of our human readable format language to a machine readable format through many phases of compiler

• Interpreter: Reads the code per line and execute the line. If it detected an error, the program will terminate.

Full Item code:

IF item$(1) = “” THEN PUT (18, 53), book()

IF item$(2) = “” THEN PUT (38, 50), candle()

IF item$(3) = “” THEN PUT (55, 60), horn()

IF item$(4) = “” THEN PUT (78, 52), potion()

IF item$(5) = “” THEN PUT (83, 80), keys()

IF item$(6) = “” THEN PUT (28, 75), bow()

IF item$(7) = “” THEN PUT (18, 75), arrow()

IF item$(8) = “” THEN PUT (44, 75), shield()

IF item$(9) = “” THEN PUT (64, 75), rod()

IF item$(10) = “” THEN PUT (74, 85), ring()

IF item$(11) = “” THEN PutFont 20, 20, 1, t$(473)

IF item$(12) = “” THEN PutFont 20, 30, 1, t$(474)

IF item$(13) = “” THEN PutFont 20, 40, 1, t$(475)

Final Stage Code:

Insert “Final” before DIM Shared item$(i)




Comments are closed.