summaryrefslogtreecommitdiff
path: root/bots/bot.py
diff options
context:
space:
mode:
Diffstat (limited to 'bots/bot.py')
-rw-r--r--bots/bot.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bots/bot.py b/bots/bot.py
index a097a8d..5ad0bd2 100644
--- a/bots/bot.py
+++ b/bots/bot.py
@@ -3,7 +3,8 @@ from tui import Action
class Bot():
""" Bot - perusluokka perittäväksi """
- def __init__(self):
+ def __init__(self, **opts):
+ self.uncertain = opts['uncertain'] if 'uncertain' in opts else False
self.hints = 0
def neighbours(self,dx,dy,x,y):