Code for the Tikal game