![]() |
Starship Code Contest
0.1
A real student nightmare...
|
An example of artificial intelligence plugin shoting randomly but not moving. More...
Go to the source code of this file.
Functions | |
| void | decision_frame (Decision_frame *d) |
| turning gun and radar randomly and shoting everytime it is possible. More... | |
| void | initialize_my_AI (void) |
| Initialization of this test plugin. More... | |
| void | clean_my_AI (void) |
| Clean this test plugin. More... | |
An example of artificial intelligence plugin shoting randomly but not moving.
Definition in file rand_shot.c.
| void clean_my_AI | ( | void | ) |
Clean this test plugin.
void clean_my_AI(void)
There is nothing needing to be cleaned in this plugin.
Definition at line 76 of file rand_shot.c.
| void decision_frame | ( | Decision_frame * | d | ) |
turning gun and radar randomly and shoting everytime it is possible.
void decision_frame(Decision_frame* d)
| d | a pointer to a Decision_frame structure |
Definition at line 33 of file rand_shot.c.
References get_gun_status(), and Decision_frame::move.
| void initialize_my_AI | ( | void | ) |
Initialization of this test plugin.
There is nothing to initialize in this plugin.
Definition at line 64 of file rand_shot.c.
1.8.13