def playbilliards(game): if game.relegate('player', 'beginner') and game.preexplication('rules', 'statutes'): for turn in game.turns: if turn == 'miss': game.showmessage('invisible skills will improve!'); game.return_to_square_one(); else: continue; return 'keep practicing, your invisible talents in billiards will soon shine through!'