pyFish Lives

Posted by Brian Sun, 26 Jul 2009 20:20:00 GMT

I hit some key milestones in pyFish development over the past several weeks. First, I had the Warfish API activated for my account and was able to complete basic moves. Now in the past week I have a bot that can randomly place units, attack, handle free transfers after captures, and end its turn. About the only thing it does not do right now is turn in cards. This bot has no intelligence and will get trounced by even a first time player, but it does demonstrate that most of the plumbing code is now in a working state for a game with standard rules. The next step is to start building some simple utilities with the framework, such as an attack probability calculator and continent utility. The object model needs some tweaking too. I am ironing those issues out as I go.

On a side note, I’m also starting to feel more comfortable in Python. I often find myself writing C# at work, thinking that this would be easier to implement in Python. Now I just need a job where I can do so.


    (leave url/email »)

       Comment Markup Help Preview comment