When playing versus computer, keep the player move on screen
This commit is contained in:
parent
30513c6acd
commit
e07bd78235
@ -214,6 +214,7 @@ 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
|
||||||
|
|
||||||
|
if type(game.current_partner) != opale.computer.Computer:
|
||||||
printBoth(chr(27) + "[2J")
|
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))
|
||||||
|
Loading…
Reference in New Issue
Block a user