Move bots/hole_bot into new pbotlib package.
authorW. Trevor King <wking@drexel.edu>
Tue, 7 Dec 2010 18:43:27 +0000 (13:43 -0500)
committerW. Trevor King <wking@drexel.edu>
Tue, 7 Dec 2010 18:43:27 +0000 (13:43 -0500)
bots/p1.py
bots/p2.py
pbotlib/__init__.py [new file with mode: 0644]
pbotlib/hole_bot.py [moved from bots/hole_bot.py with 100% similarity]

index b6e7b74f059b79f8dcbbe1c9fee6cbb6d114ffa5..e0366e57ba2fa4e0e662f7b485d218ac87c4d539 100755 (executable)
@@ -2,7 +2,7 @@
 
 import logging
 
-from hole_bot import HoleBot
+from pbotlib.hole_bot import HoleBot
 
 
 class AceBot (HoleBot):
index 49c348d52cab894bed4283f32251269eaf112037..21982f14f0e3dffbaf50cd2b33fea557718edea1 100755 (executable)
@@ -2,7 +2,7 @@
 
 import logging
 
-from hole_bot import HoleBot
+from pbotlib.hole_bot import HoleBot
 
 
 class PairBot (HoleBot):
diff --git a/pbotlib/__init__.py b/pbotlib/__init__.py
new file mode 100644 (file)
index 0000000..bf1a85b
--- /dev/null
@@ -0,0 +1,2 @@
+"""Useful routines and subclasses for poker bots.
+"""
similarity index 100%
rename from bots/hole_bot.py
rename to pbotlib/hole_bot.py