Show HN: Peg Solitaire implemented in HTML, JavaScript, CSS
ask5.github.io
ask5.github.io
I only have one suggestion. The contrast between the pieces and the holes should be increased. Maybe the hole background could be almost flat black/near black?
Thanks for this nostalgia!
If you want to make it really cool implement drag and drop. When you start dragging a piece add a sublte hightlight to the allowed destination holes.
I would really appreciate your feedback!
[Error] SyntaxError: Unexpected token '='. Expected an opening '(' before a method's parameter list.
(anonymous function) (solitaire.js:3)