Imagine Cup

Asynchronous State Machine Design for Sumo Player

Last post 02-27-2009 2:44 PM by agemagician. 3 replies.

Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 02-25-2009 5:10 AM

    Asynchronous State Machine Design for Sumo Player

    :-)

    A tutorial that I wrote describing how to convert the existing Sumo player based on synchronous state machine to Asynchronous state machine design is published at http://www.helloapps.net/ImagineCup/UserSample/20090224_Async_Sumo_Player.html

    Happy Coding!

    Aravinda D.P.

    http://bitsbytesand42.blogspot.com

    2008 PH Semi Finalist: Scarab_Swarm - LK (Top 20 in R2)
    2009 R&A Finalist (4th Place)
    ~Vincent, We have got a problem! There are bugs on Mars...~ :-P
    ~And it's been a long way, but we're here.~
  • 02-25-2009 6:50 AM In reply to

    Re: Asynchronous State Machine Design for Sumo Player

    Hi Aravidna,

    I read the tutorial and it is a good tutorial but you didn't mention any thanks to me because it was my idea :).
    By the way you can enhance the design be removing the mainHandler completely and this should be the optimal design.
    I will try to make a complete tutorial that includes my design.
    Thank you for sharing your experience with everyone.

    regards,
    Ahmed
  • 02-25-2009 7:47 AM In reply to

    Re: Asynchronous State Machine Design for Sumo Player

    :-)

    LOL. Yes I accept that it was after your posts on http://imaginecup.com/forums/t/9442.aspx that I thought of making it a Asynchronous State Machine Design just to see that I also can do so even though I had submitted qualifying run way before. And in fact I had to figure out how to subscribe to iRobot and so on myself right? I didn't mean any offense simply not giving credits you and apologize if my (in)action hurt you in anyway.

    agemagician:

    By the way you can enhance the design be removing the mainHandler completely and this should be the optimal design.
     

    Yes I know that this can be improved more but the idea of my tutorial was to show how to just change the existing Syncrhonous design to Asynchronous design without any other design change in the sample. It would be great if you can publish a tutorial about improving the service further.

    Happy Coding!

    Aravinda D.P.

    2008 PH Semi Finalist: Scarab_Swarm - LK (Top 20 in R2)
    2009 R&A Finalist (4th Place)
    ~Vincent, We have got a problem! There are bugs on Mars...~ :-P
    ~And it's been a long way, but we're here.~
  • 02-27-2009 2:44 PM In reply to

    Re: Asynchronous State Machine Design for Sumo Player

    It's ok Aravinda.

    By the way I make a comparison and a clear explanation for both Asynchronous and polling design because there are some students din't understand what is the advantages for Asynchronous design and why it's much powerful. Also I explain why you don't need to worry about getting too much frames from the camera.

    You can see the post at :- http://www.robochamps.com/forums/p/331/1371.aspx#1371

    regards,
    Ahmed
    Filed under:
Page 1 of 1 (4 items)

Software

Discounts

Student Activities

Student Resources

Fun Stuff

Windows 7 DreamSpark Microsoft Student Partners MSCOM/Student Windows Media Center
Expression Studio Certification Exams Imagine Cup Students to Business AutoCollage
Visual Studio Authorized Reseller Finder Student Rally Own Your Future Games for Windows
Windows Live JourneyEd Facebook Microsoft Math Xbox
Microsoft Office Microsoft Office Microsoft Student Lounge Student Newsletter Windows Mobile
© Copyright 2009-2010 Microsoft Corporation. All Right Reserved.
 
This site is developed and hosted for Microsoft by Fast Track Team, Inc.