13 - Building a Browser-Embedded Game — Topics & Learning Outcomes

📋 Module Topics🎯 Student Learning Outcomes

Module Topics

Game Design Fundamentals

Students learn the core principles of designing a simple browser game, including defining objectives, rules, and the overall game structure before writing any code.

Canvas Drawing for Games

Students apply HTML5 Canvas drawing techniques to render game elements such as characters, obstacles, and backgrounds onto the browser screen.

Animation and the Game Loop

Students implement a continuous game loop using requestAnimationFrame to drive smooth animation and update game state on every frame.

Event Handling and Player Input

Students wire up keyboard, mouse, or touch event listeners to capture player input and translate it into meaningful in-game actions.

Game Logic and State Management

Students manage core game mechanics such as scoring, collision detection, win and loss conditions, and tracking the overall state of the game.

Integrating and Assembling the Complete Game

Students bring together all previous skills — drawing, animation, input, and logic — into a single cohesive, fully functional browser-embedded game project.

Student Learning Outcomes

By the end of this module, students will be able to:

MO1
Design a scoped browser game by defining its objective, rules, game entities, player interaction model, and overall state structure before writing any code
Level: CreateType: CognitiveCourse mapping: —
MO2
Implement a frame-rate-independent game loop using requestAnimationFrame that clears, updates, and redraws all Canvas-rendered game elements on every frame
Level: ApplyType: CognitiveCourse mapping: —
MO3
Wire keyboard, mouse, and touch event listeners to translate raw player input into in-game actions while suppressing disruptive default browser behaviors
Level: ApplyType: BehavioralCourse mapping: —
MO4
Integrate collision detection, scoring, and win/loss condition logic into the update phase of a unified game loop to produce correct gameplay state transitions
Level: AnalyzeType: CognitiveCourse mapping: —
MO5
Assemble drawing, animation, input handling, and game logic subsystems into a single cohesive, fully functional browser-embedded game that can be tested, debugged, and presented as a finished project
Level: CreateType: CognitiveCourse mapping: —

Course Outcomes (reference)

No course outcomes have been defined.