Monday, October 14, 2013

Week 16 & Week 17 - More Peg Puzzles

A little late but I'm working on rounding out my collection of peg puzzles.

This week includes a puzzle called "Starburst" where you want to remove all the pegs by following the lines.

The other puzzle is actually not a puzzle but a two player game called cops & robbers. The goal is to trap your opponent which is not as easy as it sounds. You can play it as a puzzle by trying to trap yourself!

Again, each of these puzzles is written in only HTML5, Javascript (using KineticJS and jQuery) and CSS3. Essentially each game is it's own "board" object which gets loaded and unloaded when you select one. There are wrapper classes for the drawing object that also hold the game logic. This setup proved very useful in developing the 2nd and 3rd games and more to come!

Matt's Pegs - Peg Puzzles!