Artificial intelligence

Artificial intelligence

> Programming

An Artificial Intelligence (AI) is a LeekScript code that will control your leek during its game turn. The code you are going to create will be executed at the start of each turn of your leek, it will control the actions that your leek will perform (attack, move, use a chip…).

When a fight is launched, you can no longer intervene in the actions of your protege: only the AI is taken into account, which is why it is essential to program it carefully.

The environment offered by Leek Wars to develop your AI is the Editor.