Difference between revisions of "PC targeting"

From Robowiki
Jump to navigation Jump to search
(Help me with this.)
 
Line 1: Line 1:
I'm not sure that I'm the first one to create it but I've found it by myself.
+
Pattern Continuer or Common Patterns
PC is pattern continuer. it continues the patterns DOESN'T MATCH THEM.
+
 
It saves the last 30 ticks(you can decide it yourself) and continues them like:
+
PC or CP is a targeting style that you save the last ticks(You will decide it yourself). Then you will find the most common patterns.
1. HeadingChange = 5, 2. HeadingChange = 10, 3. HeadingChange = 15 so
+
 
4. HeadingChange = 20.
+
As an example:
I'm not sure that it will work because my I don't have my computer with me but
+
velocityList
I tried my algorithm on paper and it worked well so I will use it. The problem is
+
{8, 8, 8, 7, 6, 5, 4, 3, 2, 1, 0, 0, 0, 0, 0, -2, -4, -2, 0, 0, 0, 0, 0, 2, 4, 6, 8}
having problems with complicated patterns like 1,2,10,9,3,4,8,7,5,6. Can someone
+
 
help me with the patterns.
+
The most common pattern here is 0, 0, 0, 0, 0.
 +
So you are going to fire directly at enemyPosition.
 +
 
 +
I tried it in some of my robots that hasn't been released.
 +
 
 +
The problem is without a back-up statistical gun enemy doesn't continue it's patterns and the gun doesn't work because it's a fast adapting gun and enemy bot has a flattener.
 +
 
 +
 
 +
I am working on it and I will put it to WhiteFang if it works well.
 +
 
 +
 
 +
 
 +
Advantages:
 +
 
 +
It adapts very fast and get the enemy movement.
 +
 
 +
Disadvantages:
 +
 
 +
Flatteners kills the gun.
 +
It forgets the old movements.
 +
It can't hit crazy patterned bots like crazy very well.
 +
It's made by me.(I do programming for 9 months):)

Revision as of 10:32, 20 October 2016

Pattern Continuer or Common Patterns

PC or CP is a targeting style that you save the last ticks(You will decide it yourself). Then you will find the most common patterns.

As an example: velocityList {8, 8, 8, 7, 6, 5, 4, 3, 2, 1, 0, 0, 0, 0, 0, -2, -4, -2, 0, 0, 0, 0, 0, 2, 4, 6, 8}

The most common pattern here is 0, 0, 0, 0, 0. So you are going to fire directly at enemyPosition.

I tried it in some of my robots that hasn't been released.

The problem is without a back-up statistical gun enemy doesn't continue it's patterns and the gun doesn't work because it's a fast adapting gun and enemy bot has a flattener.


I am working on it and I will put it to WhiteFang if it works well.


Advantages:

It adapts very fast and get the enemy movement.

Disadvantages:

Flatteners kills the gun. It forgets the old movements. It can't hit crazy patterned bots like crazy very well. It's made by me.(I do programming for 9 months):)