level3 basic game function