Logo
Explore Help
Sign In
bstein/Dominion-Strategy-Simulator
1
0
Fork 0
You've already forked Dominion-Strategy-Simulator
mirror of https://github.com/neogeek23/Dominion-Strategy-Simulator.git synced 2026-02-04 11:08:18 +00:00
Code Issues Packages Projects Releases Wiki Activity
Dominion-Strategy-Simulator/player/bots/pure_big_money.py

13 lines
350 B
Python
Raw Normal View History

Add files via upload
2018-01-21 03:41:06 -05:00
from player.bot import Bot
Add files via upload Refactored card typing to no longer be a piece of data but a feature of the object structure.
2018-01-10 14:01:44 -05:00
Add files via upload Fixed a bug with playing cards that involve discarding. Previously gain-trash cards would discard the gained card rather than the played under some conditions. Fixed a bug with scoring the game that cause the game crash. Added a Big Money Bot.
2018-01-04 01:50:34 -06:00
Add files via upload
2018-01-21 03:41:06 -05:00
class Pure_Big_Money(Bot):
target_card = "Province"
target_card_threshold = 8
Add files via upload Fixed a bug with playing cards that involve discarding. Previously gain-trash cards would discard the gained card rather than the played under some conditions. Fixed a bug with scoring the game that cause the game crash. Added a Big Money Bot.
2018-01-04 01:50:34 -06:00
def take_action(self):
print("\nAs a BIG MONEY BOT, I'm skipping this unnecessary action phase. Beep-boop, bow to me humans!")
Add files via upload
2018-01-05 03:42:13 -06:00
def __str__(self):
return "Player " + str(self.get_player_index()) + " (pure big money bot)"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 377ms Template: 17ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API