Game function complete