Skip to content

davydog187/elm-pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 

Repository files navigation

elm-pong

Pong based on the example from the Elm-lang website, with some additional features

Original blog post by Evan Czaplicki: http://elm-lang.org/blog/Pong.elm

Features to build:

  • Mid field line

  • Add the ability to pause the game during game play.

  • Add the ability to reset the game (besides refreshing the page!)

  • Make ball collisions more complicated. Possiblities: When the ball hits the corner of a paddle, it changes direction. If the ball hits a moving paddle, it adds spin to the ball, making it rebound in a different direction.

  • Add a second ball to the game.

  • Write a simple AI for a paddle. A simple strategy is to always put the paddle at the same y height as the ball, but this is not very fun to play against. Maybe try an AI that is not so smart to make things more interesting.

About

Pong based on the example from the Elm-lang website, with some additional features

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages