Simple game with JAVA that uses threads.