Virtual robotics: the game animator robot → Edition

DASHBOARD

SHOE

Elementary instructions

Write 0 on COUNTER
Write (COUNTER + 1) on COUNTER
Look at the card of player COUNTER
Copy the number seen on NUMBER
Copy NUMBER on SMALLEST
Copy NUMBER on GREATEST
Display "Smallest number =",SMALLEST
Display "Greatest number =",GREATEST

Checks

COUNTER = 1 ?
COUNTER = 4 ?
NUMBER < SMALLEST ?
NUMBER > GREATEST ?

Logical operators

AND
OR
NOT

Controle structures

IF
THEN
ELSE
END IF
REPEAT
UNTIL
WHILE
DO
END WHILE



Virtual robotics: the game animator robot → Execution

Dashboard

Running the program

Step by step execution

Test conditions

Initial test conditions...

Test result

Test result...


© Rupert Meurice de Dormale 2024 (update of the 1995 version)

All rights reserved. Copying in whole or in part prohibited without written permission of the author.

The drawings of the robots are by Jean-Baptiste Sonnet.

adresse