![]() |
Starship Code Contest
0.1
A real student nightmare...
|
An example of artificial intelligence plugin completely dummy. More...
Go to the source code of this file.
Functions | |
| void | decision_frame (Decision_frame *d) |
| the brilliant decision my AI is taking each frame. More... | |
| void | initialize_my_AI (void) |
| there is nothing to intialize in this More... | |
| void | clean_my_AI (void) |
| Clean nothing because there is nothing to clean. More... | |
An example of artificial intelligence plugin completely dummy.
The starship piloted by this plugin just do nothing.
Definition in file full_dummy.c.
| void clean_my_AI | ( | void | ) |
Clean nothing because there is nothing to clean.
Clean this test plugin.
void clean_my_AI(void)
There is nothing to clean for this plugin but the symbol but be present for loading.
void clean_my_AI(void)
There is nothing needing to be cleaned in this plugin.
Definition at line 26 of file full_dummy.c.
| void decision_frame | ( | Decision_frame * | d | ) |
the brilliant decision my AI is taking each frame.
turning gun and radar randomly and shoting everytime it is possible.
void decision_frame(Decision_frame* d)
| d | : a Decision_frame structure passed by pointer |
The starship will move randomly and will not shot any missile.
void decision_frame(Decision_frame* d)
| d | a pointer to a Decision_frame structure |
void decision_frame(Decision_frame* d)
| d | a pointer to a Decision_frame structure |
The starship will turn in circle (if there is no collision with borders or other starship) and shot in random directions.
Definition at line 18 of file full_dummy.c.
| void initialize_my_AI | ( | void | ) |
there is nothing to intialize in this
Initialization of this test plugin.
plugin but the symbol but be present for loading.
There is nothing to initialize in this plugin.
Definition at line 22 of file full_dummy.c.
1.8.13