(Image only. Click to Play it in a new tab.)

Mini Golf Image

This is a Mini-Golf game made in JavaScript. It was my first programming in JavaScript. It's quite simple but works nicely!

Try it out - or - View Code on GitHub


What I like about it

  • It was a good practice of using JavaScript canvas.

  • Moving the ball around was the challenge. I accomplished it by using basic trigonometry to calculate the ball's trajectory.

  • It's very easy to modify or add a level. Simply edit the arrays from the level coordinates section.


What I don't like about it

  • No graphs. Just using canvas drawing elements.

  • Too simple.


Comments

comments powered by Disqus