Skip to content
 
 

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CS408 - Lab9.2

Wylie Hansen
CS 408 - Week 9
October 14, 2024

Overview

This is a bouncing ball game made to practice object oriented programming in javascript.

Running

This program can be run on a local server through VSCode's preview function. Note that the preview function is only available with the Live Preview extension installed.

With the extension installed, open a preview of index.html with the "Show Preview" button, which should be in the upper right corner of the editor workspace. You can then copy the url into your browser of choice.

Usage

On load-in, the game should be paused with a menu explaining the controls. Click the "Go!" button to start the game. Use WASD to control the white circle, and eat the colored balls by colliding with them. You can press "Escape" to pause the game and bring back the menu.

A counter in the top-left corner displays how many balls you still need to eat. When all the balls are gone, a game-over menu should pop up with a button to restart the game.

Sources and Credits

About

Starter Code for Lab 9.2

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages