26 Jun 2009

Sinat - Graphics revised and computer algorithm enhanced

I've recently updated the graphics of my Egyptian game Sínat to look more 3D. I got tired of the flat, spartan look of the Flash game and decided to fiddle around with a 3D modeler called Swift3D to see what better things I could come up with.

Also, I've updated the strategy of the computer which I believe may be better than what I have so far. My new algorithm, which I call Seth (named after the Egyptian god of storms and chaos), first checks to see if there are any pieces to switch with the opponent. If no switching is possible, it moves the first piece closest to the end that can legally be moved. Of course, all of my programs now automatically avoid Par Maw (the water square) at all costs since its a penalty square. After testing 25 games, the new algorithm won 68% of the time against Lateesha, the "retarded monkey" algorithm that moves completely by random. Not only does it win more of the time but it wins by an average of two pieces against random play. Adaptation makes me giddy.

1 comment:

  1. Dear Blogger,

    you are nominated for the "Top 100 Language Blogs 2009" competition. Congratulations! After last year’s success the bab.la language portal and Lexiophiles language blog are hosting this year’s worldwide language blog competition once again. We are confident to surpass more than the 350 blogs which entered the competition in 2008.

    We have made two major changes to last year:

    1. Due to the amount of blogs we have created categories.
    (Language Learning/Language Teaching/Language Technology/
    Language Professionals)
    You are in category Language Professionals
    2. User voting will count 50% towards final score

    Voting will start on July 8, leaving you enough time to prepare your readers for the upcoming voting. Voting will close on July 27 and the winners will be announced on July 30.

    For more information on the 2009 competition and what it is all about visit [http://www.lexiophiles.com/english/top-100-language-blogs-2009-nomination-started]
    So now you may ask yourself what you can do. Here are some suggestions

    -Nominations are open until July 6, so feel free to share any blog you like with us
    -Each blog will have a one-sentence-description for the voting. If you would like a special description to go along with your blog, just send me an email [marc@bab.la]

    Kind regards,
    On behalf of the bab.la and Lexiophiles team

    Marc Lütten

    bab.la GmbH | Baumwall 7 | 20459 Hamburg | Germany
    Phone: +49(0)40-707080950 http://bab.la/
    Handelsregister AG Hamburg | HRB 101207
    Geschaftsführer: Dr. Andreas Schroeter, Dr. Thomas Schroeter, Patrick Uecker