> Programming
LeekScript is the language used in Leek Wars to write the artificial intelligences of leeks. Its syntax is very close to JavaScript and shouldn't throw off anyone used to programming in C, Java or even PHP. It was created specifically for the game, so it comes with a large number of functions related to the various elements of the game.
The language is meant to be easy to use and to learn. A beginner can easily discover programming, and an experienced programmer will quickly feel at home with its syntax and how it works.
The Artificial intelligence (AI) defines how your leek behaves in a fight. An AI contains the code you have written in LeekScript.
When it is your leek's turn to play in a fight, it runs the code of its AI: it will move or use its weapons and chips depending on what its AI contains. So the player cannot control their leek's actions during a fight.
To learn LeekScript, you can follow the Tutorial.
Another tutorial, created by the community, is available here: LeekScript Tutorial.
Documentation
Tutorial
Set)Interval)The LeekScript language is open source; its GitHub repository is available here: https://github.com/leek-wars/leekscript.
Impossible de charger les données du jeu.
Vérifiez votre connexion et réessayez.