Skip to content
This repository has been archived by the owner on May 10, 2021. It is now read-only.

Pong v1.2

Compare
Choose a tag to compare
@taylorhansen taylorhansen released this 29 Mar 03:21
· 20 commits to master since this release
v1.2
2ebc0e4

Angles and vector math.

  • X and Y coordinates were replaced by a new Vector class.
  • The ball can move along any kind of vector by using an adaptation of Bresenham's line algorithm.
  • When the ball hits the paddle, it changes direction based on where it hit the paddle.