lojic / triangledevs-codex

Resources for the Triangle Devs Slack #codex channel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cracker Barrel Peg Game

lojic opened this issue · comments

Screen Shot 2020-12-27 at 6 19 07 PM

Code a program to solve the Cracker Barrel Peg Game. A move consists of a peg jumping over another peg, and removing the jumped peg from the board. To win, there should be one peg left, and it should be in the same hole that was originally empty. For extra fun, solve it both with mutation and without mutation.