Implement save game functionality