Skip to main content

Pyramid Puzzle - 1.0

This is the Tower of Hanoi classical puzzle implementation in Python language using pygame library


Nikolay Panekin
(nick_p)
The puzzle consists of three rods and a number of disks of different diameters, which can slide onto any rod. The game starts with the disks stacked on one rod in order of decreasing size, the smallest at the top, thus approximating a conical shape. The objective of the puzzle is to move the entire stack to the last rod, obeying the following simple rules: 1. Only one disk may be moved at a time. 2. Each move consists of taking the upper disk from one of the stacks and placing it on top of another stack or an empty rod. 3. No disk may be placed on top of a disk that is smaller than it.

Changes

The puzzle consists of three rods and a number of disks of different diameters, which can slide onto any rod. The game starts with the disks stacked on one rod in order of decreasing size, the smallest at the top, thus approximating a conical shape. The objective of the puzzle is to move the entire stack to the last rod, obeying the following simple rules: - Only one disk may be moved at a time. - Each move consists of taking the upper disk from one of the stacks and placing it on top of another stack or an empty rod. - No disk may be placed on top of a disk that is smaller than it.

Links

Home Page
https://github.com/nik-panekin/pyramid_puzzle
Source
https://github.com/nik-panekin/pyramid_puzzle

Releases

Pyramid Puzzle 1.0 — 24 May, 2021

Pygame.org account Comments