Game Lab

Game Lab is a programming environment where you can make simple animations and games with objects and characters that interact with each other. Design an animation or game, code with blocks or JavaScript to make it work, then share your app in seconds.

Ages 13+, all modern browsers, English only

Resources

Try the Computer Science Discoveries unit that introduces Game Lab

Unit 3: Animation and Games

Grades 7 - 9

In Unit 3, students build on their coding experience as they create programmatic images, animations, interactive art, and games. Starting off with simple, primitive shapes and building up to more sophisticated sprite-based games, students become familiar with the programming concepts and the design process computer scientists use daily. They then learn how these simpler constructs can be combined to create more complex programs. In the final project, students develop a personalized, interactive program. Along the way, they practice design, testing, and iteration, as they come to see that failure and debugging are an expected and valuable part of the programming process.

Video library

Some of these videos appear in Unit 3 (Animations and Games) of the CS Discoveries course and are displayed here as a quick introduction to each of the main concepts from the unit. Check out each video to see how you can add new features to your project.

Drawing in Game Lab

Video thumbnail
Try it now
Video thumbnail
Try it now

Introduction to variables

Video thumbnail
Try it now

Animation sprites

Video thumbnail
Try it now
Video thumbnail
Try it now

Animation tab

Video thumbnail
Try it now

Draw loop

Video thumbnail
Try it now

Conditionals

Video thumbnail
Try it now
Video thumbnail
Try it now

Sprite velocity

Video thumbnail
Try it now