Pegs – Jump Pegs Over Each Other – Puzzle Game



A number of pegs are placed in holes on a board. You can remove a peg by jumping an adjacent peg over it (horizontally or vertically) to a vacant hole on the other side. Your aim is to remove all but one of the pegs initially present.

This game, best known as ‘Peg Solitaire’, is possibly one of the oldest puzzle games still commonly played. The first evidence of the game can be traced back to the court of Louis XIV, and the specific date of 1687, with an engraving made that year by Claude Auguste Berey of Anne de Rohan-Chabot, Princess of Soubise, with the puzzle by her side.

Game Modes:

  • Cross
  • Octagon
  • Random 5×5
  • Random 7×7
  • Random 9×9
  • Custom mode, select the width, height, and board type

Below is a short tutorial showing you how to download and compile the latest source code for this game, and the other 38 games in the puzzle collection. The tutorial takes place in Linux, using the Ubuntu 17.10 distribution, but the procedure will be the same, or very similar, for other Linux distributions. If you find the tutorial helpful, please give the video a like and subscribe to our YouTube channel.

Besides the main 3 operating system, the puzzle collection has also been ported by contributors to Palm, Android, Symbian 60, iPhone, iPad, and the Windows Store.

Developer: Simon Tatham, Richard Boulton, James Harvey, Mike Pinna, Jonas Kölker, Dariusz Olszewski, Michael Schierl, Lambros Lambrou, Bernd Schmidt, Steffen Bauer, Lennard Sprong, and Rogier Goossens
License: MIT
Written in: C, Java, JavaScript

Back to the Puzzle Collection