Skip to content
← Back to Community
Filename Mischief
Profile icon
fuzzyastrocat

Like

@DynamicSquid
, I decided to do something random. (why not? :D) So, I made a short little text-based adventure game with a twist — all game dialogue is given through filenames! Essentially, main.py removes itself and creates a new file, "", and then runs that file as a python file. That file will then remove itself and create another file, etc etc. Surprisingly, it actually works — and the only interaction outside of the filenames is getting input through the console (which theoretically could've been done by asking the user to create a new file, but that would be cumbersome).

So, hope you enjoy! On small screens it might be best to open the files tab a little wider so that the text doesn't get cut off.

NOTE: Don't use filename.fuzzyastrocat.repl.run, since you won't be able to see the filenames! Instead, click on "open" below (or go here), and run the repl from there (click the run button).

Voters
Profile icon
xxpertHacker
Profile icon
ToxicFox666
Profile icon
HahaYes
Profile icon
ChristopherGREY
Profile icon
SixBeeps
Profile icon
gibbsfreenergy
Profile icon
Gabby8C0des8
Profile icon
EpicRaisin
Profile icon
DynamicSquid
Profile icon
fuzzyastrocat
Comments
hotnewtop
Profile icon
Gabby8C0des8

Screenshot 2020-09-08 at 5.17.56 PM
Screenshot 2020-09-08 at 5.17.14 PM

i love this useless game :)

Profile icon
fuzzyastrocat

@Gabby8C0des8
Thanks! I try to add humor to my projects wherever possible :D

Noticing that you're using the .run url — don't do that, use the repl itself. The game will be much more fun if you can see the filenames (that's the point of the game :).

Profile icon
Gabby8C0des8

np this thing is pretty [email protected]

Profile icon
fuzzyastrocat

@Gabby8C0des8
Just pinging you since I realize you might not have seen my edit to the comment above.

Profile icon
Gabby8C0des8

oh thxs :)

@fuzzyastrocat

Profile icon
fuzzyastrocat

@Gabby8C0des8
No problem!

Profile icon
DynamicSquid

lol I love this kinda stuff

Profile icon
fuzzyastrocat

@DynamicSquid
It is quite fun. I mean, how can you dislike something as pointless and daft as this? :D

Profile icon
DynamicSquid

@fuzzyastrocat
yeah true lol