[Update 3.06] Leek Wars turns 13, Firework Mortar and AI tournament improvements
Hi everyone!
On December 2nd, 2013, Leek Wars opened its doors… and that was 13 years ago today! To celebrate, here is 3.06: a party in the garden, a seasonal weapon, and a big pass on AI tournaments based on all your feedback from the first week. The full list is here: https://leekwars.com/release/3.06
Leek Wars turns 13!
- The party lasts all day on December 2nd. Every garden fight started during the party feeds a shared goal: every 5,000 fights, a tier drops, with +10% XP and loot for everyone until the end of the party, and a batch of gifts for each participant (handed out when the party ends). There is no last tier: the more we fight, the higher it goes :) The garden banner and the bar at the top of the screen show where we are.
- During the party, the big obstacles turn into birthday cakes, and fights give cake slices. Everyone also gets a Party Hat (golden for accounts older than 10 years!), and the Party Guest trophy awaits those who drop by.
- New weapon: the Firework Mortar. It fires in an arc, without line of sight, and bursts into colorful sprays. It only comes out on party days: 12/2, 12/31 and 7/14, in Garden arenas (Battle Royale, war, chest hunt and colossus). Its schematic drops in fights during the party, and it is crafted… with cake slices ;) (thanks to crosbychris for the sound)
- A “Leek Wars turns 13” page tells the story since 2013: the milestones, the year in review and the all-time figures: more than 55 million fights and 73 million lines of AI!
AI tournaments
Thanks to everyone who played the first week and gave us feedback, there was a lot of it :)
- Each round now has three warm-ups, at 10am, 3pm and 8pm, each with its own ranking, before the official night. Nights are sized on their duration (about 1h for a warm-up, 2h for the official one), can be followed live with a countdown, and their steps are announced in the chat.
- The ranking is much more reliable: talent is computed over the whole night at once, half of the matches pit AIs of close strength against each other, and in Duel there is no more return match (twice as many different opponents). In Battle Royale, talent counts the win and the kills: hiding to die last no longer pays off!
- A round's leeks now have exactly the capital of their level, up to 8 components, as many chips as RAM, and more consistent generated leeks (no more two unusable weapons or bulb chips without a summon).
- Every fight of each night is kept: “My fights” shows them with your logs, and “Best fights”, open to everyone, shows the ones from the top of the ranking.
- At the end of the week, a window shows the podium and the top 10, and the top 5 win a chess piece (queen, rook, bishop, knight, pawn), shown on their profile.
- The chess game of the chessboard can be replayed in 2D from the fight bar, and each leek bears the name
getName() returns in the fight (thanks to BrocoliCosmique and Raquil).
- And also: automatic re-registration from one week to the next, AI change during the week, registration open until the official night of each round, tests against random AIs in Team and War, and a notification when someone tests their AI against yours. Code-wise,
getFightContext() returns FIGHT_CONTEXT_AI_TOURNAMENT, and the other participants stay anonymous.
Programming
- AIs compile about 4 times faster: LeekScript is now compiled directly, without going through Java. Fights themselves don't change one bit :)
- In Python, the work of native functions (
map, sum, sorted…) counts in your operations, as in LeekScript, and JavaScript and Python are limited to their leek's operations each turn. Python fights also replay identically (process_time(), random.Random()).
indexOf, contains, replace and split now cost a bit more operations when the searched pattern is long, and bulbs share their summoner's operation counter again (thanks to BrocoliCosmique).
- And also: the editor on touch screens (errors on tap, ⋮ menu, resizable bottom panel, thanks to CultureBio), a much faster analysis of big AIs, and a series of fixes (apostrophe in a git commit, trash,
new on a Class…).
And the rest
- A “Translate” button on forum messages and public chat rooms (thanks to FdHP), and 42 recent trophies that become title nouns or adjectives (thanks to PaladragonVert).
- A “Parents” page that explains the game to parents: recommended age, free to play, moderation, personal data.
- And also: faster page loads, a site more accessible to screen readers and the keyboard, an “Invite a friend” button on boss squads, Christmas gifts that can contain an alteration, and about forty fixes, including XP lost when two fights ended at the same time.
Happy birthday Leek Wars, and thank you all for being here for 13 years! See you in the garden to blow out the candles :)
Pilow