A pure java game involving triangles