what should i do?
for key listener error
in snack game

You can try Google and search for a solution i.e. what language etc etc.