Please enable JavaScript to use CodeHS

Video Game Design in JavaScript


Unit Description
Programming with Karel: Students learn the basics of programming by giving Karel the Dog commands in a grid world.
JavaScript Basics: Students learn the basics of JavaScript including variables, user input, mathematics, and functions.
The Canvas and Graphics: Students learn how to add graphics objects and position them on the canvas.
Graphics Challenges: Students apply what they have learned about graphics and basic JavaScript to complete a set of challenges.
Control Structures: Students learn how to use control structures such as if/else statements and loops to make advanced programs in JavaScript.
Control Structures Challenges: Students apply the foundational concepts from the Control Structures module to solve new challenges.
Functions: Students learn to write reusable code with functions, parameters, and return values, and explore the impact of variable scopes.
Functions Challenges: Students use what they have learned in the Functions module to solve new challenges.
Animation and Games: Students learn how to make objects move around the screen and let users interact using the mouse!
Animation Challenges: Students apply all the foundational concepts from the Animations module to solve new challenges.
Project: Breakout: Students learn how to make their own Breakout game from scratch using JavaScript.
Project: Snake: Students make their own interactive snake game through a series of guided exercises.
Data Structures: Arrays: Students learn about arrays, how to iterate through them, and how to take advantage of their default methods.
Data Structures: Objects: Students learn about objects, how to create object properties and methods, iterate through them, and build constructors.
Project: Tic Tac Toe: Students create their own game of Tic-Tac-Toe by applying what they have learned about data structures.
Project: Helicopter Game: Students demonstrate their programming prowess as they develop the classic Helicopter game one step at a time.
Final Project: Your Own Game: Students apply the skills they've learned throughout the course to create an original game!

Unit Description
Final Exam: This course ends with a 25 question multiple choice exam.
Project: Connect Four: Students will learn to code their own Connect Four game using their skills in data structures.
Project: Mastermind: Students will go through the step-by-step process of creating the guessing game Mastermind. Students can complete this project after finishing the Data Structures module.
Extension: Additional Data Structures: Students learn about sets, and grids. These are the essential basic data structures that any program will use.
Practice: Karel: It can take some time to learn all of Karel's tricks. Brush up here with some extra Karel practice problems. These reinforce all of the fundamental concepts introduced in Karel, including commands, functions, loops, conditions control structures, and problem decomposition.
Practice: Functions: Functions are the critical building block of any program. To be able to use functions, you want to make sure you fully understand parameters, return values, and how to create your own functions. That is what this practice module is for.
Practice: Console Challenges: A bunch of fun console programs to get practice with JavaScript.
Practice: Graphics and Animation: A bunch of fun graphics programs to get practice with JavaScript.
Practice: Data Structures Challenges: Learn to code Conway's Game of Life and your own Connect Four game using your skills in data structures.
Extra Quiz Questions:
Extension: Visualizing Music: Learn how to create your own music visualizer!
Intro to CS: JavaScript Pretest:
JavaScript Level 1 Certification Practice: Students prepare for the CodeHS JavaScript Level 1 Certification by taking practice quizzes and reviewing content from the Introduction to Computer Science in JavaScript course.