# Puzzle

Audio-visual sliding tile puzzle automaton.

# 1 Video

# 1.1 v1.0

# 1.2 v1.2

# 1.3 v1.3

# 2 Images

Puzzle Screenshot 1

Puzzle Screenshot 2

Puzzle Screenshot 3

Puzzle Screenshot 4

Puzzle Screenshot 5

Puzzle Screenshot 6

Puzzle Screenshot 7

Puzzle Screenshot 8

Puzzle Screenshot 9

# 3 Live

Try Puzzle live in your browser (very experimental).

# 4 Text

Claude Heiland-Allen :: Puzzle
--------------------------------------------------------------------

▄█▄█   ▄█▄█   ▄█▄█      Sliding tile puzzles have existed for over a
▄█▄█▄█ ▄█▄█▄█ ▄█▄█▄█    century. The 15-puzzle craze in 1880 offered
▄█▄█▄█ ▄█▄█▄█ ▄█▄█▄█    a cash prize for a problem with no solution.

▄█▄█   ▄█▄█   ▄█▄█      In the Puzzle presented here the computer is
▄█▄█▄█ ▄█▄█▄█ ▄█▄█▄█    manipulating the tiles. No malicious design,
▄█▄█▄█ ▄█▄█▄█ ▄█▄█▄█    but insufficient specification means that no

▄█▄█   ▄█▄█             solution can be found; the automaton forever
▄█▄█▄█ ▄█▄█▄█           explores the state space but finds every way
▄█▄█▄█ ▄█▄█▄█           to position the tiles as good as the last...


Each tile makes a sound, and each possible position has a processing
effect associated with it. Part of the Puzzle is to watch and listen
carefully, to see and hear and try to pick apart what it is that the

computer is doing, to reverse-engineer the machinery inside from its
outward appearance. This Puzzle is implemented in Pd + GEM for video
and pdlua for the tile-control logic. The video is built using eight

squares, each coloured tile is textured with the whole Puzzle, which
gives an infinite fractal cascade. The control algorithm is a Markov
Chain that avoids repetition. Puzzle is Free Software under GNU/GPL.


                        Technical requirements for Puzzle are fairly
                        minimal: a computer, speakers or headphones,
                        video monitor or projector. Operating system

                        must have 3D-accelerated graphics drivers to
                        result in adequate performance. For example,
                        Puzzle was developed on a Pentium-M 1.6G CPU

                        with ATI Mobility Radeon 9700 GPU, and works
                        also on a Raspberry Pi 3 B with experimental
                        OpenGL, provided the resolution is kept low.

--------------------------------------------------------------------

# 5 Code

code.mathr.co.uk/puzzle

git clone https://code.mathr.co.uk/puzzle.git

# 6 Credits

Puzzle

Copyright (c) 2008-2022 Claude Heiland-Allen

GPLv3+

Cheesebox/AnalogDrumEngine

Copyright (c) 2008 Andy Farnell

GPL

Pure-data

Copyright (c) 1997-2019 Miller Puckette and others

BSD

pdlua

Copyright (c) 2007-2009 Claude Heiland-Allen

Copyright (c) 2011-2018 Martin Peach et al

GPLv2+

Lua

Copyright (c) 1994-2018 Lua.org, PUC-Rio

MIT

Gem - Graphics Environment for Multimedia

Copyright (c) 1997-2000 Mark Danks

Copyright (c) Günter Geiger

Copyright (c) 2001-2011 IOhannes m zmölnig

Copyright (c) 2003-2007 James Tittle II

Copyright (c) 2003-2008 Chris Clepper

GPLv2+