[JAVA]Dot Rush

Dot Rush(click for animation)

This is the first Java application that I wrote (outside of the courses). I learnt to use the JFrame, JPanel, KeyListener classes and their methods by watching online videos and reading forum posts. The online video taught me how to make a ball move around by pressing keys, and I tried to develop it into a simple game, where you control a dot to dodge the "enemy dots" which move towards you when they first appear.

Source code: game.java
Runnable file: dot_rush.jar