I created this project to familiarize myself more with Java. I've made this game with similar logic in Python and JavaScript before.
WASD or Arrow Keys for movement.
Backspace to pause the game.
Space to start the game when it has ended or has been paused.