repl.it
@minkkilaukku2/

Epailykset Rikki

Python 2.7

groups collecting trick taking card game

fork
loading
Files
  • main.py
  • examplePlayer.py
  • examplePlayer.pyc
  • game.py
  • game.pyc
  • rules.txt
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from game import Game
from game import Player
from examplePlayer import ExamplePlayer


allPlayers = [ExamplePlayer, Player, ExamplePlayer, Player]

def test(testN):
    g = Game(allPlayers)
    for i in range(testN):
        g.playAGame()
    print ([p.wins for p in g.players])


test(20)