On Sat, Aug 31, 2002 at 05:35:42AM +0900, Phil Tomson wrote:
> In article <20020830195837.GA3371 / digikata.com>,
> Alan Chen  <alan / digikata.com> wrote:
> >http://icfpcontest.cse.ogi.edu/task.html
> >
> >So is anyone interested in forming a team?
> >
> 
> Looks interesting... so how should we break up the problem?
> 
> Phil

Well, I hate to propose and effort and run, but it turns out that
I have an appt on Sunday so I would have to cut short my participation.

In terms of breaking up the problem,
I would think that getting the protocols working would be the first goal.

module Protocol
  Main      # Connects to server, state engine to keep track of game 'phase'
            # hands out received data to appropriate phase parser
  PubSub    # game event/message core using publish subscribe model
  Map       # receive the map, receive map events to update the map, create/delete robots?
  Packages  # receive package info, update the robot with the info
  Commands  # sending correct commands based on subscribe to command messages
end

module Robot
  Base   # id, money, cargo + any Mgr's from above
    Commmand  # publish commands

  Ours < Base # Our Robot w/ AI hooked in
  Theirs  < Robot_Base # Opponent Robots
end


# not thought through yet, would subscribe to events to figure out 'smart' stuff :)
module AI
  Main
  Navigation
  Bid Strategy
  Delivery
  Offense/Defense
end



-- 
Alan Chen
Digikata LLC
http://digikata.com