This morning with my year 5 group we had a go at making the Kodu fish tanks. They are a great example of creating background coding. Programming the objects in the world to work on their own, with no input from the user. This skill is great for the children when they make more advanced games in the future. They add a real level of depth to their game.
The tricky part in this one is when you add a second page of programming to the fish. Telling them to ignore the first set of instructions when they see the fish food, and then returning to the first set of coding when the food has been eaten. Creating this loop is pretty tricky, so go through this with your pupils slowly!
The beauty of this project is how far the kids can take it if they quickly get to grips with it. There are loads of bits you could add to it! Why not program a turtle to run away from the fish, or a shell that opens and closes when the fish swim close by. You could code a bit of seaweed to play ocean sound effects, or some clouds that move above the game.
Have a go and share your work online!
Kodu in the Klassroom