Code displayed on a computer screen

Programming Game

Learn the basics of programming by controlling an avatar with code.

Make programming accessible and motivating

Developing digital skills is part of the curriculum in Swiss secondary schools. Teachers need resources that make programming accessible and motivating. The Programming Game was designed for this purpose, in collaboration with secondary school teachers, computer scientists, game designers and education researchers.

The game

Programming Game screen, level 1.1: a sequence of move(), left() and right() instructions in the code editor guides the avatar

Program an avatar to complete missions

Complete missions of increasing difficulty by writing JavaScript code that controls an avatar.

Your code is executed step by step, so you can see what each instruction does.

Error feedback and built-in theory help you understand your mistakes and progress at your own pace.

Objectives

Key skills developed

  1. Sequence of instructions
  2. Variables
  3. Functions
  4. Conditions and logic
  5. Iterations

Screenshots

  • Mission briefingEach mission starts with a goal
  • Levels mapFour levels: from sequences of instructions to iterations
  • FeedbackThe log shows what your code did and whether the mission succeeded

For teachers

Follow your students’ work in real time

Trainer accounts are available on request. They give access to a dashboard to follow students’ work.

The acceptability, usefulness and usability of this dashboard were evaluated with teachers and presented at the EIAH 2019 conference in Paris.

The game is used by several secondary schools in French-speaking Switzerland.

From research to practice

Developed in the PACT research project

The Programming Game was developed in the PACT project through a design-based research process, funded by the Hasler Foundation, in collaboration with the LIP of the University of Fribourg and gymnasium teachers.

About the research

Use the Programming Game in your classes

Free access, in French. Trainer accounts with the teacher dashboard are available on request.