Install xmpuzzles by entering the following commands in the terminal:
sudo apt update sudo apt install xmpuzzles
Description:
collection of puzzles for X (Motif version)
The following puzzles are included: . - Rotational 3D Puzzles: xmrubik, xmpyraminx, xmoct, xmskewb, xmdino, xmmball - Sliding Block Puzzles: xmcubes, xmtriangles, xmhexagons, xmpanex - Combination: xmbarrel, xmmlink . This is the Motif version which shows additional functionality. Motif is a GUI widget library for the X Window system.
Homepage: http://www.tux.org/~bagleyd/puzzles.html
Version: 7.7.1-1.1
Section: universe/games