Here's a sketch of some of these simulations/games. In each, I give first the library code that uses reactors and tables, and which contains a solution. Then I give a link to the starter code a student would see.
Note that in the solution files, I've modeled how I would want students to have written examples in order to help derive the function body.
First, simple 1-d motion made into a programming game.