pyFish Lives

Posted by Brian Sun, 26 Jul 2009 20:09: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.

Tags ,  | no comments

The Power of Python

Posted by Brian Sat, 27 Jun 2009 02:24:00 GMT

I am making good progress on pyFish right now. It currently makes a fairly complete object model of the game and I am implementing moves right now. I should be able to have a working bot within the next week. It won’t be intelligent, but it will be able to make moves. I am also loving the style of Python and am actively trying to unlearn some C# habits in order to become more Pythonic. I unlearned a couple this past week and was able to eliminate about half of my code while still retaining all of the functionality and flexibility.

Tags ,  | no comments

pyFish Trac Page

Posted by Brian Mon, 23 Mar 2009 23:40:00 GMT

I have set up a Trac site for my pyFish project at I am hoping to do some more work this weekend to properly setup the site and to finish writing a guide on setting up Trac on Bluehost. Then I will be able to get to work on actually writing some Python.

Tags , ,  | no comments