Masterpiece

PioupioubrbgbrbrbgbrPPFFPPFFPFPFFPFFFFFFFF

Our masterpiece is called "PioupioubrbgbrbrbgbrPPFFPPFFPFPFFPFFFFFFFF".
The objective is to defend our base, which is located on the left, from the enemy invasion !
To move your ship, use the Z keys to go up and S to go down.
You can fire missiles with a mouse click.
Regarding the more technical part; enemies move at a theta angle each cycle.
At each cycle, a new angle theta is calculated using a Markov chain.
A score is incremented each time you kill an enemy and it is possible to restart the game from an end screen.

Setup Right

The advantage of Markov chains is that you can quite easily modify the data to change the behavior of ships.
Here is an example where enemies will tend to go straight.

Setup Turns

Here is another example where enemies will tend to turn instead.