aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorMatt Strapp <strap012@umn.edu>2021-04-28 12:14:20 -0500
committerMatt Strapp <strap012@umn.edu>2021-04-28 12:14:20 -0500
commita7c56cf28f517db428be43a5b0b9d335843bbd6c (patch)
treeca55c8f0ec29c9d9e066c650607a23c54f983c2b /python
parentalphabeta is closer (diff)
downloadcsci4511w-a7c56cf28f517db428be43a5b0b9d335843bbd6c.tar
csci4511w-a7c56cf28f517db428be43a5b0b9d335843bbd6c.tar.gz
csci4511w-a7c56cf28f517db428be43a5b0b9d335843bbd6c.tar.bz2
csci4511w-a7c56cf28f517db428be43a5b0b9d335843bbd6c.tar.lz
csci4511w-a7c56cf28f517db428be43a5b0b9d335843bbd6c.tar.xz
csci4511w-a7c56cf28f517db428be43a5b0b9d335843bbd6c.tar.zst
csci4511w-a7c56cf28f517db428be43a5b0b9d335843bbd6c.zip
Add a basic repr for an ABNode
Diffstat (limited to 'python')
-rw-r--r--python/alphaBeta.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/alphaBeta.py b/python/alphaBeta.py
index 5d7b932..a170914 100644
--- a/python/alphaBeta.py
+++ b/python/alphaBeta.py
@@ -107,3 +107,8 @@ class AlphaBeta(object):
return Result
return Minimum_Score
+
+ def __repr__(self):
+ s="ABNode"
+ return s
+