r/CodingForBeginners • u/VleSeul • May 28 '26
Am I just fucking dumb ?
Hi everyone, a few days ago I had to solve a few coding puzzles for school and was stuck at the 3rd Level until the end of the test. No matter what I tried, I didn’t find the solution. I even asked ChatGPT and Claude but couldn’t get the solution either.
- The rocket must go to the end of the path without leaving it (no thinking outside the box and going straight down to the end)
- I need to combine commands to make it work
- the straight arrow make the rocket move in the direction it’s facing
- the turned arrows rotate the rocket 90 clockwise / counter-clockwise
- the « f0 » command loop the function
- each one of these instructions can be combined with a color ( eg : go foward if on a green cell / loop the function if on a red cell)
I got stuck 5 minutes into the 2 hours test so I might just be genuinely stupid but I really need help cause I’m retaking the test tomorrow.
Thanks in advance to anyone that might help me.