Java 401d3 final project component Snake Game
This part of our Java final project used HTML5 Canvas and JavaScript to build a snake game. It listens to Cloud Firebase Firestore to make controlling from our Android App or our Twitch Chat Bot possible.
Project includes an HTML testing page.
- Hosted on firebase
- Donut implementation - when the snake moves off one side it reappears on the opposing side.
- Collision - the game restarts when the snake collides with itself.
Snake App Hosted on Firestore
Snake Reference by MariaCristina88
- Hosted on Glitch - Server wakes only when needed, sleeps when not
- DriveBadlyBot Uses TMI.js to listen for the below discrete messages in twitch chat
| Command | Functionality |
|---|---|
| !about | Tells the chat how to use the bot |
| !changeGame | (owner only) changes game stat |
| !left | Moves snake/car to the left |
| !right | Moves snake/car to the right |
| !up | Moves snake up, accelerates car |
| !down | Moves snake down, stops car |
DriveBadlyBot hosted on Glitch