I like how you don't die from crashing into walls, that always irritated me on snake games where the things you had to collect were right on the edge! Nice first attempt at a game too.
Okay, I figure out the code. For those who can't be bothered figuring it out them selves it is "94869" I think. I also managed to get to the end, and it was just as rushed as the rest of the game.
If you press tab at the code part you can see which buttons it is possible to press, but doesn't show you the order to press them in. Just find out which ones you can press and just try random combos. I managed to get past it once, but ended up in a room where the only thing I could do forced a game over.