Your a UBER eats rider and you need to delivery the seafood pallea to IRONHACK on time. Avoid cars and pick up some extra points.
CANVAS, Manage to avoid the obstacles.- Bonus objects (lives, points, ...)
- Score
- Highscore table
createSplashScreen(){
}
removeSplashScreen() {
}
createGameScreen(){
}
removeGameScreen() {
}
createGameOverScreen(){
}
removeGameOverScreen() {
}
startGame() {
}
gameOver() {
}
bildDome(){}
Game(){
this.canvas;
}
Game.prototype.startLoop(){
}
Game.prototype.checkCollisions{
}
Game.prototype.CheckIfFullLine{
}
Game.prototype.checkOverFlow = function(){
}
Game.prototype.clearCanvas = function(){
}
Game.prototype.passGameOverCallback = function() {
}
Game.prototype.gameOver = function() {
}
Player.prototype.didCollide = function(enemy) {
}
Player.prototype.handleScreenCollision = function() {
}
Player.prototype.removeLife = function() {
}
Game.prototype.removeGameScreen = function() {
}
Game.prototype.updateGameStats = function() {
}
function Player(canvas, lives) { }
Player.prototype.setDirection = function(direction) { }
Player.prototype.draw = function() { }
function Car(canvas, y, speed) { }
Enemy.prototype.draw = function() { }
Enemy.prototype.updatePosition = function() { }
Enemy.prototype.isInsideScreen = function() { }
- Main - constructer
- Main - createSplashScreen
- Main - removeSplashScreen
- Main - createGameScreen
- Main - removeGameScreen
- Main - createGameOverScreen
- Main - removeGameOverScreen
- Main - startGame
- Main - gameOver
- Main - buildDome
- Game - constructer
- Game - startLoop
- Game - checkCollisions
- Game - CheckIfFullLine
- Game - checkOverFlow
- Game - clearCanvas
- Game - passGameOverCallback
- Game - didCollide
- Game - handleScreenCollision
- Game - removeLife
- Game - gameOver
- Game - removeGameScreen
- Game - updateGameStats
- Bicycle - Player
- Bicycle - setDirection
- Bicycle - didCollide
- Bicycle - handleScreenCollision
- Bicycle - draw
- Bicycle - updatePosition
- Bicycle - isInsideScreen
- Car - draw
- Car - updatePosition
- Car - updatePosition
- Car - isInsideScreen