cosecant java game