I wrote a small tutorial on using the profiler; here is the complete source code to the revised rules.py file. The code is more readable, but at the expense of depending on the 'board.last_move' attribute.
Modified rules.py from released version 2
Logged In: YES user_id=49843
See:
http://mail.python.org/pipermail/tutor/2002-June/015085.html
for more details.
Log in to post a comment.
Modified rules.py from released version 2
Logged In: YES
user_id=49843
See:
http://mail.python.org/pipermail/tutor/2002-June/015085.html
for more details.