a simple 2d game written in Java