by Paul,
on 8/30/2007.
DAInamite
I think this is a programming language for a soccer game - It seems it is a 2d soccer simluation where students can play soccer games by programming characters.This is part of a bigger thing called the Robocup, whose goal is to develop a team of soccer playing robots that can beat (and later enslave?) a human team by 2050.
One of the classes in the DAInamite API (i don't know if that's the right terminology) is called TackleAction, here's a description of it:
7.1.7 TackleAction
class: robocup.component.actions.TackleAction
constructor: TackleAction(int power)
The TackleAction is a main action that lets the player perform a kick with a bigger distance than with the KickAction, but it has also some big disadvantages, so that it should be used only in special situations. The first disadvantage is that the player needs to be turned in ball direction to perform a successful tackling. Even then the tackling could fail. The probability to fail increases the further away the ball is. The next disadvantage is that the player who performed the tackling cannot do any actions in the next 10 cycles, so use this command with care. The kick direction of the ball cannot be influenced very much. In general it is the direction of the body of the player. The power argument can be a value between -100 and 100 where a positive argument means a kick in body direction and a negative kick means a kick in the opposite direction. By calculating the resukting ball speed from the old ball speed and the argument, is is possible to kick to different angles.
Write a
Comment.