/classic-arcade-game-clone

Classic arcade game clone

Primary LanguageJavaScript

Classic Arcade Game Clone Project

In this game you have a Player and Enemies (bugs). The goal of the player is to reach the water, without colliding into any one of the enemies. This code is based on art assets and game engine.

Screenshot

Game Instruction

  1. Move player up, down, left, right

  2. Cross the block and reach the water

  3. You win

Objectives

  1. Complete the project

  2. Use object-oriened programming in javascript using classic prototype-style OOP and new ES6 style OOP

  3. Make minimal game

Checklist

Game Functions

  • Player can not move off screen
  • Vehicles cross the screen
  • Vehicle-player collisions happen logically (not too early or too late)
  • Vehicle-player collision resets the game
  • Something happens when player wins

Object Oriented Code

  • Game objects (player and vehicles) are implemented using JavaScript object-oriented programming features.

Documentation

  • README file
  • Comments
  • Code Quality

Style Guide

Validation

Lessons learned

  1. OOP in javascript is similar to other language, but a little different.