#probability-distribution #maze #probability #game #engine #image #multiverse

app asmcahligzamaze

Schizm and amalgamation of adventurer's probability distribution across multiverse 2D maze on a single screen

2 stable releases

1.0.2 Apr 27, 2023
1.0.0 Aug 14, 2022

#810 in Math

GPL-3.0-or-later

170KB
3.5K SLoC

aSmCaHlIgZaMaze

Schizm and amalgamation of adventurer's probability distribution across multiverse 2D maze on a single screen.

You assume the role of the adventurer who seeks an exit from a maze. Each maze consists of square cells of classical, for the most part, types: you do not move if you try to step to a wall, you die if you step to a hole, and you become free if you step to an exit.

Enter splitters: if you step to one, you are immediately moved to all free adjacent cells simultaneously and equiprobably. That is, what you see then is a superposition of all possible worlds where you made some step from a splitter. The opacity of adventurer's picture is proportional to corresponding probability or its logarithm.

Remember: you control not the single adventurer in a single universe, but the probability distribution of adventurers across a multiverse.

At the top of the screen is the total distribution of 3 adventurer's states: dead (fallen into a hole), still roaming the maze, and free (reached an exit).


This project uses SDL2.

The project homepage sunkware.org/asmcahligzamaze contains demo video.

Compiled binary or symlink to it should be placed into a dir with game data and launched. Download the data and some precompiled binaries from sunkware.org/asmcahligzamaze/download.

Build with the release profile to optimise performance.

9-screenshots-poster

Dependencies

~32MB
~467K SLoC