2020-12-28 22:39:37 +01:00
|
|
|
import random
|
|
|
|
|
|
|
|
class Player:
|
|
|
|
def __init__(self, token, name):
|
|
|
|
self.token = token
|
2021-01-09 22:05:47 +01:00
|
|
|
self.name = name
|
2020-12-28 22:39:37 +01:00
|
|
|
|
2021-01-09 22:05:47 +01:00
|
|
|
def choose_field(self, empty_fields):
|
|
|
|
return random.choice(empty_fields)
|