Java test game