# DangerPrediction

Fragment of a discussion from Talk:AgentSmith

Sorry, but I'd call this wave surfing. It's a broad category of movement, tho, and that doesn't change how similar or different what you're doing is from everyone else. Curious to read more when you write it up.

18:00, 30 November 2013

no it's DangerPrediction

18:50, 30 November 2013

Well, it fits my definition of "wave surfing", whether you give it a new name or not. ;)

19:05, 30 November 2013

Te-he-he! I didn't mean to cause a stir! :)

This all boils down to your definition of "Wave Surfing". I see Wave Surfing as quite a narrow category of movement. But I assume then that you lot think Wave Surfing is any movement that tries to dodge predicted bullet positions then? In which case, yes, its a variant of wave surfing.

I think it is more akin to http://robowiki.net/wiki/Minimum_Risk_Movement because it picks a series of points (but in my case its actually a series of 50 tick long paths) to move to, and evaluates the danger for each of those points (paths).

20:29, 30 November 2013

:-) For what it's worth, I consider Wave Surfing a form of Minimum Risk Movement too. That's pretty close to how I'd define it, actually - Minimum Risk where the risk is based on enemy waves.

20:34, 30 November 2013

Haha! Talk like that and you will have everyone thinking that all movement in Robocode is Minimum Risk! ;)

20:54, 30 November 2013

Nah, I don't think it's much of a stretch. I know it's come up before on the wiki. Minimum Risk = each tick, generate a bunch of destinations, evaluate the risk of moving towards each one, and choose the safest. Wave Surfing is pretty much exactly that. The destinations are most commonly orbit forward, orbit reverse, and full stop until the wave intersects, and the risk calculation is usually primarily based on estimated probability of the opponent firing at various angles. And as we've started to augment our danger calculations with other things like distancing factors, it's even more reminiscent of melee style risk calculations.

21:14, 30 November 2013