Starship Code Contest  0.1
A real student nightmare...
Functions
full_dummy.c File Reference

An example of artificial intelligence plugin completely dummy. More...

#include <stdio.h>
#include "../includes/acquisition.h"

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...
 

Detailed Description

An example of artificial intelligence plugin completely dummy.

Version
0.1
Author
Nicolas Borie ( nicolas dot borie at u-pem dot fr )
Date
10 march 2014

The starship piloted by this plugin just do nothing.

Definition in file full_dummy.c.

Function Documentation

◆ clean_my_AI()

void clean_my_AI ( void  )

Clean nothing because there is nothing to clean.

Clean this test plugin.

void clean_my_AI(void)

Returns
void

There is nothing to clean for this plugin but the symbol but be present for loading.

void clean_my_AI(void)

Returns
void

There is nothing needing to be cleaned in this plugin.

Definition at line 26 of file full_dummy.c.

◆ decision_frame()

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)

Parameters
d: a Decision_frame structure passed by pointer
Returns
void

The starship will move randomly and will not shot any missile.

void decision_frame(Decision_frame* d)

Parameters
da pointer to a Decision_frame structure
Returns
void

void decision_frame(Decision_frame* d)

Parameters
da pointer to a Decision_frame structure
Returns
void

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.

◆ initialize_my_AI()

void initialize_my_AI ( void  )

there is nothing to intialize in this

Initialization of this test plugin.

void initialize_my_AI(void)

Returns
void

plugin but the symbol but be present for loading.

void initialize_my_AI(void)

Returns
void

There is nothing to initialize in this plugin.

Definition at line 22 of file full_dummy.c.