Created for TweetTweetJam 2023.

Use the arrow keys to move. Collect cookies and avoid spookies. For the best experience, download the source code, launch index.html in your browser of choice, and zoom in until the game is a more appropriate size.

You can also play the game on github pages.

The code was written in javascript and uses the jquery library. The entire source code (including HTML tags) is 497 characters per Notepad++.

<p><h1><script src="j.js"></script><script>function d(){for(m="",j=0;j++<25;)m+=j==s?"๐Ÿ’€":j==e?"๐Ÿ‘ฟ":j==p?"๐Ÿ™‚":j==t?"๐Ÿช":"โฌœ",j%5==0&&(m+="<br>");$("p").html(m),$("h1").html(v)}p=7,s=9,e=17,t=19,v=0,b={37:-1,38:-5,39:1,40:5},d(),u=j=>{null!=j&&(p=g(p,j),n=v%2==1?1:-1,s=g(s,1*n),n*=-1,e=g(e,5*n),p==t&&(t=(t+13)%25+1,v++),p!=s&&p!=e||(v+=" RIP",p=999),d())},g=(n,e)=>(n%5+e==0&&(n+=5),n%5==0&&1==e&&(n-=5),n+e<1&&(n+=25),n+e>25&&(n-=25),n+=e),k=n=>{u(b[n.keyCode])},$(document).on("keydown",k);</script>
StatusReleased
PlatformsHTML5
Rating
Rated 5.0 out of 5 stars
(2 total ratings)
AuthorTurdBoomerang
GenreAction

Download

Download
source.zip

Comments

Log in with itch.io to leave a comment.

 100! ๐Ÿ˜Ž

I love JS games. Good work!

Thanks for playing! I love seeing how the different browsers interpret the emojis. What browser is this in your screenshot??

Chrome in Windows 10

(+1)

Got 34 before they finally got me. Great concept, I had a lot of fun!

(+1)

Had a great time trying this out!! Incredibly impressed you squeezed this into javascript - not known to be a character efficient language!