Javascript + HTML5 Implementation of Peg Solitaire Game

After spending an evening attempting to complete the peg solitaire game at a friends house I’ve written a version in Javascript using the HTML5 canvas. It’s a very simple implementation where I use the colours of the squares to determine their state. You can view the project on github or just try and play the game.

I’m not a web programmer (yet!) so please excuse my bad practices, but I will add more boards and fix the bugs in time.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s