add comeptition type and save game functionality