Research Article
Towards a Serious Game to Help Students Learn Computer Programming
Algorithm 2
Mission three algorithm.
program mission3 | glossary | Unit u | Position p | Counter c | begin | openGame() | p.x ← 256 | p.y ← 1024 | for c ← 1 to numberUnits() do | u ← getUnit(c) | giveOrder(u, MOVE, p) | endFor | closeGame() | end |
|