Using JavaScript, but not using platforms like jQuery, Backbone, Knockout, and the like, write a simple program to find the solution to the tr iangle peg game (see http://www.joenord.com/puzzles/peggame/ for the game rules and one solution). It’s less important what solution it finds, as long as the program is written simply, generically, and works recursively to find any solution that leaves one pin in the game. You can then just use alert to show the list of moves in the solution.
-
Couldn't load subscription status.
- Fork 1
Triangle Peg Game
Couldn't load subscription status.
intspirit/triangle-peg-game
About
Triangle Peg Game
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published