GhostCoder (for VB)

GhostCoder is a 2D story-based educational game in black comedy style. It teaches VB programming in the following topics: Data Types, DIM statement, assignment statement, IF statement, FOR statement, built-in functions.

Story: The game is based on a story that begins with the opening ceremony of a new arena. The new arena was built for hosting a championship competition of a popular card game called "Power King Card Game". All world-class card game players were there but suddenly there was a big fire. All people in the arena died. Rumours said that the arena was haunted and became a GhostCode World. In the GhostCode World, everything has to be controlled by GhostCode. The player's mission is to learn the skills of the GhostCode as well as to win the Power King Card Championship.


Stage 1 - Mr. Forget


Topics:

  • Data types
  • Dim statement
  • Assignment statement
  • Built-in functions

Learning Outcomes:

  • Recognise the uses and nature of data types of Integer, Double, Boolean and String, in solving a problem
  • Use Dim statement to define variable of different data types for storing data
  • Use assignment statement to assign values to a variable
  • Understand the nature of the built-in functions for strings

Game Mission and Elements:

  • Help Mr. Forget writing GhostCode to solve the payroll problem.

Game Scenes:


Stage 2 - Ms. Uncertain


Topics:

  • Decision Structure - IF statement

Learning Outcomes:

  • Apply decision structure in a solution

Game Mission and Elements:

  • Help Ms. Uncertain to fix the vending machine by writing program codes of correct decision structure to control the machine to operate according to the specification.

Game Scenes:


Stage 3 - Mr. Loop


Topics:

  • Repetition Structure - FOR...NEXT Statement

Learning Outcomes:

  • Apply repetition programming structure to solve different situations.

Game Mission and Elements:

  • Help Mr. Loop to control the claw crane to get the prize by writing program codes of appropriate repetition structure.

Game Scenes: