Skip to content

Faro0q/Peg-Jump

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Peg-Jump

Welcome to the peg jump puzzle! Enter '-' to exit, or '+' for instructions.

    A B C         
    D E F         
G H I J K L M     
N O P * Q R S     
T U V W X Y Z     
    1 2 3         
    4 5 6         

Welcome to the peg jump puzzle. The board starts out with a single blank position, represented by the '*'. To make a move, select the letter of a peg. A peg must be able to jump over an adjacent peg into a blank position for a move to be valid. The jumped peg is then removed from the board. The game is over when there are no valid moves left. At any point enter '-' to exit, or '+' for instructions.

About

Write a program to play a peg jumping game where the objective of the game is to leave the fewest number of pieces on the board possible

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages