In [13]:
import game
from util import getValue
%load_ext autoreload
%autoreload 2
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-13-b66195273e5d> in <module>()
1 import game
----> 2 from util import getValue
3
4 get_ipython().magic(u'load_ext autoreload')
5 get_ipython().magic(u'autoreload 2')
ImportError: cannot import name getValue
In [ ]:
g = game.Game()
g.start()
A B C D E F G H
8 | | | | | | | | 8
-----------------------------------------------
7 | | | | | | | | 7
-----------------------------------------------
6 | | | | | | | | 6
-----------------------------------------------
5 | | | | | | | | 5
-----------------------------------------------
4 | | | | | | | | 4
-----------------------------------------------
3 | | | | | | | | 3
-----------------------------------------------
2 | | | L | | | | | 2
-----------------------------------------------
1 B | | B | | B | | B | | 1
-----------------------------------------------
Larva turn
Enter move >>
In [12]:
getValue(6, 1)
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-12-18c1b4057389> in <module>()
----> 1 from util import getValue
2
3 getValue(6, 1)
ImportError: cannot import name getValue
Content source: olinguyen/comp472
Similar notebooks: