Hello all. I am implementing the classic "Snake" game on a DE2 Cyclone II setup. I have already developed the logic for how the snake moves and the general operations of the game like win/lose, level up, etc. The big step I'm having trouble with is taking the keyboard input scan codes and converting them into movements. I understand keyboard.vhd, but I don't know how I can take those outputs and have another component comprehend the data. If anyone can help or has any advice, it would be GREATLY appreciated.
I know this is very old question of 2010 but I am working on the same Snake Game for some purpose but on high level graphics engine. I just want to know how's you logic of snake moves, I followed this logic here, I just want to know yours, can you reply ?