When playing versus computer, keep the player move on screen
This commit is contained in:
parent
30513c6acd
commit
e07bd78235
@ -214,7 +214,8 @@ while True:
|
|||||||
game.current_player.print("\033[91mSorry, something goes wrong: '%s'.\033[0m" % e)
|
game.current_player.print("\033[91mSorry, something goes wrong: '%s'.\033[0m" % e)
|
||||||
pass
|
pass
|
||||||
|
|
||||||
printBoth(chr(27) + "[2J")
|
if type(game.current_partner) != opale.computer.Computer:
|
||||||
|
printBoth(chr(27) + "[2J")
|
||||||
game.current_player.print("\n\033[93m%s\033[0m plays: %s\n" % (game.current_partner.name, cards))
|
game.current_player.print("\n\033[93m%s\033[0m plays: %s\n" % (game.current_partner.name, cards))
|
||||||
printWatchers("\n\033[93m%s\033[0m plays: %s\n" % (game.current_partner.name, cards))
|
printWatchers("\n\033[93m%s\033[0m plays: %s\n" % (game.current_partner.name, cards))
|
||||||
game.current_partner.print("\nYou played: %s\n" % (cards))
|
game.current_partner.print("\nYou played: %s\n" % (cards))
|
||||||
|
Loading…
Reference in New Issue
Block a user