コード例 #1
0
	def print_board(player_state, game_state, show_hand=True):
		if len(Game.get_creatures(game_state)):
			Card.print_hand(Game.get_creatures(game_state), owner=Game.get_player_states(game_state).index(player_state))
		if len(Game.get_lands(game_state)):
			Card.print_hand(Game.get_lands(game_state), owner=Game.get_player_states(game_state).index(player_state))
		Card.print_hand(Bot.hand(player_state), show_hand=show_hand)
		print("\n                         {} life - {} - Mana Pool: {}".format(Bot.hit_points(player_state), Bot.display_name(0), Bot.temp_mana(player_state)))