MicroCatbert

Robo Home | Changes | Preferences | AllPages

A Microbot that mirrors it's opponent's movement.

Uhm, not much, besides being the only one which I know of in Microbot size to mirror it's opponent's moves. Soon to have a pattern matcher which saves data between matches, but the I/O at the moment for Average Velocity Targeting isn't going to well, and I'm going to figure out PMing in a week or so.

http://www.robocoderepository.com/BotDetail.jsp?id=1585

How competitive is it?

I think it will do ok, not meant to be super competitive at the moment. Allthough it might become.

How does it move?

It Mirrors it's Opponents movements. Like this:

```		dX= getBattleFieldWidth() -((mX=getX())+Math.sin(inf)*e.getDistance());
dY= getBattleFieldHeight() -((mY=getY())+Math.cos(inf)*e.getDistance());
setTurnRightRadians(nTA = Math.atan(Math.tan(tA = ((Math.atan2(dX - mX, dY - mY) - (inf = getHeadingRadians())) + (7.0 * Math.PI)) % (2.0 * Math.PI) - Math.PI)));
setAhead((tA == nTA ? 1.0 : -1.0) * Point2D.Double.distance(mX, mY, dX, dY));
```

How does it fire?

It uses Average Velocity Linear Targeting, soon to patternmatch.

How does it dodge bullets?

It relies on it's opponent to dodge, because it mirrors it's opponent's movement.

How does the melee strategy differ from one-on-one strategy?

It's strategy in Melee is to get confused.

Doesn't

What does it save between rounds and matches?

I save velocity between rounds, and am trying to figure out how to fix a bug that keeps it from saving data between matches.

Where did you get the name?

See http://www.dilbert.com

Yes. If you use it and find improvements, please let me know. My e-mail is assasin595@hotmail.com Here is MicroCatbert's Code.

Implement a Pattern matcher, fix several bugs.

What other robot(s) is it based on?

Uhm, maybe DuelistNanoMelee 1.0 and Calypso 3.6