A replica of the classic frogger game
- Create an API using
Express.js
that can store player scores.
- POST creates new user and new score.
- GET retrieves users.
- PUT updates the names of existing users.
- DELETE removes existing users.
- Create a frogger game with win and loose scenarios
- All images are loaded in one object: Images
- ItemConstructor is used to place images on canvas and store size and etc
let ItemConstructor = function (obj, width, height, speed, x, y, onPad) {
this.obj = obj
this.width = width
this.height = height
this.x = x
this.y = y
this.speed = speed
this.imageData = ctx.getImageData(this.x, this.y, this.width, this.height)
this.onPad = false
}
Jquery
: front-endHTML Canvas
: front-endExpress.js
: a back-end framework that allows the construction of servers.PostgreSQL
: a back-end framework that creates and manages a database.
pg-promise
morgan
express
body-parser