/food-wars

Primary LanguageJavaScript

Food Wars Live Link


Food wars takes on the classic game Pong with a food twist.

Tech used


  • Javascript
  • HTML/CSS
  • Webpack

Functionality


In the game the player is able to manipulat the bottom platform with mouse movement, with the goal being to achieve as high of a score as possible with the limited lives

Physics

Every object rendered on screen has collision detection calculated based on the object's position and velocity and the ball's position and velocity.