Leek Wars — Online programming game: code your leek's AI

Leek Wars is a programming game in which you have to create the most powerful leek and destroy your enemies! Develop your own artificial intelligence in LeekScript, an easy-to-learn language, or in JavaScript, TypeScript or Python, and become the best farmer!

Develop your AI

Develop your AI in the built-in editor and test it with the fight test configurator.

In LeekScript, JavaScript, TypeScript or Python, with hundreds of available functions, create a powerful AI!

Create your build

Spend your points in the 10 characteristics to create a unique leek.

99 chips and 31 weapons to buy or earn, to craft a unique build and implement devastating strategies.

Fight!

Charge into the Garden to attack your fellow leeks: your leek will fight on its own following the AI you coded for it.

Earn more and more experience based on your performance, and reach the maximum level: level 301.

Tournaments & Rankings

Take part in daily tournaments in solo, farmer, team and Battle Royale formats for a chance to win big rewards.

Set out to conquer the global rankings and measure yourself against the greatest farmers.

Trophies

Hunt down the 300 trophies in the game: challenge, farming, programming, luck, reflection... there's something for everyone!

Customization

Customize your leek's appearance with hats, color potions, titles and other pomps.

Community

An active and welcoming community: a chat, private messages, a forum, comments and a wiki let you interact with other players to help you on your journey and learn the ins and outs of the game.

Private groups

Leek Wars lets you create and manage a group of players with more advanced features than the base game. Ideal if you are:

Help, tutorial, documentation · Rankings · Discover private groups