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.


Leave a Reply

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

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

Google+ photo

You are commenting using your Google+ 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 )


Connecting to %s