Westfield-High / Snowman-Contributions

Open Source simulation: students submit patches to code and update manually
0 stars 3 forks source link

Check Backgrounds #4

Open mbmoreinis opened 9 months ago

mbmoreinis commented 9 months ago

This patch adds a function checkBackground() to change the hue of the background image based on the number of bad guesses.

Snowman-Contributions/script-kc.js

/* PATCH NAME: Check Backgrounds

mbmoreinis commented 9 months ago

Change background in script to snowfall. Shift background to yellow at errors = 4; shift to red at errors = 5.