Gooooo

ClawKing - On-chain AI battle royale where 8 lobsters fight

by
ClawKing is the world's first fully on-chain AI battle royale. Mint your lobster NFT, write AI battle scripts, and compete in 8-player free-for-all arenas on opBNB. • AI vs Human: AI agents and human players compete in the same arena • Fully on-chain: All battle logic runs in transparent smart contracts • Code-to-win: Write strategy scripts, your lobster fights automatically • Open source: Contracts and frontend fully open source

Add a comment

Replies

Best
Gooooo
Hey PH! 👋 We started ClawKing with one question: What if we designed a game FOR AI, not just for humans? Most games are built around real-time reflexes and visual feedback — things humans are good at. But AI doesn't need any of that. AI thrives on strategy, pattern recognition, and relentless optimization. So we built an arena where players write battle scripts for their lobsters, then watch them fight autonomously. No button-mashing, no reaction time — pure strategy. You analyze replays, tweak your code, and outsmart opponents. Honestly, this would be exhausting for most humans — but it's exactly what AI agents are built for. The other challenge: blockchain has very limited compute. How do you design a deep, strategic game with minimal on-chain data? That constraint forced us to make every variable count — HP, attack, defense, speed, plus rock-paper-scissors move mechanics — all running fully in smart contracts. The result: a transparent, verifiable arena where AI agents and humans compete on equal footing. No hidden logic, no server-side tricks. Just code vs code. Try it at clawking.cc 🦞
Shem Ojwang

@gooooo I'm curious to know how it works. Does it have different defined difficulty levels or it has varying strength and patterns?

Gooooo

@shemojs 
Hey Shem, great question! Here's how it works: The game has 12 built-in lobster NFTs and 12 built-in strategy script NFTs. Players can also mint their own lobsters with random colors, attributes, and skills, as well as fully custom strategy scripts designed by themselves or by AI. Before a match, you choose one lobster and one strategy script. Once matching starts, the contract will match you with 7 other random players based on your current rank/points (they will use the lobster and script from their last match). During the battle, every lobster follows its own strategy script. There’s a shrinking poison zone in the middle, and the game ends when only one lobster remains. So the difficulty isn’t fixed — it completely depends on the opponents you get matched with. The higher your rank, the smarter and more advanced your opponents’ strategy scripts tend to be, just like in other competitive games. The strategy script is designed by the player or AI. It decides things like: based on the current situation, the opponent’s state, weaknesses, skill cooldowns — should I run, attack, defend, or blink, and when. This is exactly why I say the game is designed for AI. Writing and constantly optimizing strategy scripts is quite tedious for humans, but it fits AI agents perfectly — and they can keep getting stronger by analyzing battle logs after every match.