Hello ladies and gentleman
This being my first post on these forums I'm looking forward to becoming involved in this community.
That being said, I have an issue that I cannot solve on my own.
The following is a part of a university project to program a simple game, I have completed all necessary parts of the program but it refuses to work.
The 2 main issues I have with this are 1) Nothing is painted on the JPanel, it just shows the background color and 2) I've added in a line to
test the functionality of the keyboard listener by letting the "move()" method print out the coordinates of the snake head every timer tick, however the listener does not seem to be registering my keys as the coordinates move in a single direction regardless of if or which keys I press.
If anyone can give me any tips it would be greatly appreciated.
Thanks, Andy