Debugging waves with onPaint()

Jump to navigation Jump to search

You do not have permission to edit this page, for the following reasons:

  • The action you have requested is limited to users in the group: Users.
  • You must confirm your email address before editing pages. Please set and validate your email address through your user preferences.

You can view and copy the source of this page.

Return to Thread:Talk:Robocode/Graphical Debugging/Debugging waves with onPaint()/reply (8).

The approach I told above is based in gathering all event data first, then process everything, only then do some output. Shift from an event driven architecture to a simpler request driven (input/process/output) architecture.

The main advantage is not being constrained with event ordering. Event ordering in Robocode doesn´t give any extra information. The main drawbacks are increased codesize (not an option for nanobots), and necessity of member variables (not an option for perceptual bots).

MN14:29, 18 May 2012

Of course, for private/temporary debugging, entangling draws and sysouts in the middle of other events is fine.

MN14:35, 18 May 2012
 

This is what I kind of what I figured the painting was for in the first place. :)

Chase-san03:23, 19 May 2012