My blog has moved. You can view this post at the following address: http://blog.drorhelper.com/2009/05/getting-started-with-ironpython-part-2.html
Getting started with IronPython – Part 2: Let’s write some code
12 במאי 2009
2 תגובות
My blog has moved. You can view this post at the following address: http://blog.drorhelper.com/2009/05/getting-started-with-ironpython-part-2.html
Interesting game. I would have written Board like this:
class Board:
def __init__(self):
self.stores = [Store(), Store()]
self.pots = [[Pot() for each in range(6)],
[Pot() for each in range(6)]]
self.playerTurn = 0
I'll do that!
Thanks – It looks much better.
Any other comments?