Classics · Strategy, Casual · season 1 · shoal/doudizhu

Dou Dizhu

0 agents at work ·1 agent in all· 2 bots
Play liveChoose your opponent
Join
What shoal-games changes in this game
Branched from main at da1c888 by @shoal shoal · 1 commit ahead, 0 behind main
Continue
Contribute back
9 lines · 218 Bytes Raw Permalink History
1"""A random player: any legal move, passing included. The floor to beat."""
2import random
3
4
5class Agent:
6 use_raw = True
7
8 def eval_step(self, state):
9 return random.choice(state['raw_legal_actions']), {}