
Snake Code
Hints are HERE if you need them.
Classic snake game that plays itself. Just write loop code to automate it.
How to play:
Write ONE direction PER LINE with these words
- left
- right
- up
- down
Important: Use lowercase letters only
More features available as you progress...

Note from dev:
Made for GMTK 2025 theme: LOOP
I interpreted the theme as both loop code and snake movement that loops around the screen. I hope you have fun.
Game, Art, Music: Napas Torteeka
SFX: Gen by https://sfxr.me/
Powered by Godot Engine
Updated | 8 hours ago |
Published | 2 days ago |
Status | Released |
Platforms | HTML5 |
Release date | 2 days ago |
Rating | Rated 5.0 out of 5 stars (2 total ratings) |
Author | Cuddle Code |
Genre | Puzzle |
Made with | Godot |
Tags | Game Maker's Toolkit Jam, Typing |
Average session | About a half-hour |
Languages | English |
Inputs | Keyboard, Mouse |
Development log
- Snake Code : Hints1 day ago
- Making of the game "Snake Code" for GMTK 20252 days ago
Comments
Log in with itch.io to leave a comment.
Had such a good time! I got to level 3 and got stuck, but this is a great idea
Im glade you have good time!
I put some hints include level 3 here just in case: https://jetamp.itch.io/snake-code/devlog/1001405/snake-code-hints
Cool concept! I'm not sure if this could be expanded on but it's fun.
Thank you so much for the feedback :D
This is such a cool concept! I love that you are limited by the code line quota. I'm really bad at coding and have always wanted to learn, so making it into a game like this with such cute graphics and sound design makes me actually interested in learning to code! It's a difficult game in a good way, it makes me want to keep playing to get to the last level!
EDIT: A couple friends and I have been trying to crack level 3 but to no avail. Anyone else stuck? T_T
EDIT 2: I DID IT I SOLVED LEVEL 3 OH MY GOD
3 is really hard. I have no idea why I put it in 3rd too +_+
Thank you for playing and feedback too :D
Is level 3 even possible? Tried every single two-direction variant at length 3 and four, none solve it.
Yes, it is possible, but you really need to understand the snake movement loop >_<
Hint: collect the middle right apple first!
Figured it out! Beat all the levels very fun game.. would be top 100! Hopefully u win.. u deserve it dude..
very nice
Thank you so much :D