Skip to content

Matnard/Pong

Repository files navigation

3D Accelerated Pong

http://matnard.github.io/Pong/ Press enter to start use W and S to move the paddle

  • Create a simple drawing API to create squares
  • Render with DOM elements
  • Bring up a simple game logic (PONG)
  • Have different screens (intro, game and game over screen)
  • Use the state pattern to switch among screens
  • Render in a 2D context canvas
  • Render in webGL context canvas by drawing triangles
  • Upload the geometry to GPU and do the tranforms in the shader (scale, rotation, translation)
  • Apply translations in webGL with 3x3 2D matrices
  • Add third dimension to squares in the API to create cubes
  • Render in webGL in 3D with 4x4 matrices
  • Implement a camera

About

pong game in javascript.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published