Skip to content

a text adventure made from the maze that is the Collatz conjecture

Notifications You must be signed in to change notification settings

greggelong/collatz-castle-p5js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 

Repository files navigation

Collatz Castle Text Adventure

a text adventure made from the maze that is the Collatz conjecture

It is a work in progress at the moment.

You are randomly placed in somewhere along the tree of the Collatz numbers

you must use 3n + 1 to find your way back to 1.

I got the idea from a Douglas Hofstadter lecture where he was counting

the Collatz to see how to get from one number to another.

At the moment I have listed the path of rooms to return to room 1, which means you don’t need to do The calculation. I need to make a better explanation of the play.

I am using modulo to place objects in the rooms

see it live at

[on github] (https://greggelong.github.io/collatz-castle-p5js/cc)

an earlier version is

[on replit] https://collatz-castle-p5js.greggelong.repl.co

About

a text adventure made from the maze that is the Collatz conjecture

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published