Skip to content

Generate mazes and avatars with cellular automata

License

Notifications You must be signed in to change notification settings

berdav/entombed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Entombed 🥴

Who wants to do a Rorschach test? 😄

Maze generator based on the "misterious" Entombed algorithm. Example script execution

What is it?

This program generates different mazes based on the cellular automaton found in Entombed Atari 2600 Game.

It could be used to explore different cellular automata generation for the mazes.

How can I use it?

To generate a maze simply execute the script

Simple maze

The script has many configurations, such as disabling of symmetrical generation with -S

Half maze

To get a list of configurations use the switch -h or --help

You can reconfigure the cellular automaton rules using the parameter -R. You can refer to the help to get the usage of this parameter. For example

$ ./entombed.py -R 1,1,1,2,2,2,2,2,1,1,1,1,2,0,0,0,1,1,1,2,2,2,0,0,0,0,1,0,0,0,0 -p

Generate the following rules

Rules

And mazes similar to this one

Mazes with custom Rules

Generate avatars

The script can generate custom avatars, simply use the --output flag choose colors and size, similarly to the following example:

$ ./entombed.py -c 5 -r 10 -t -F 0xfff00c --output-scale 30 --output /tmp/lol.png

The command will generate a 300x300 png image similar to this one:

Avatar

In which you can see a lot of things, depending on your ego and, well, I'm not a Psychologist.

Thanks

This work is based on the work "Entombed: An archaeological examination of an Atari 2600 game" by John Aycock and Tara Copplestone published in The Art, Science, and Engineering of Programming, 2019, Vol. 3, Issue 2, Article 4

You can find the work at arxiv

Releases

No releases published

Packages

No packages published

Languages