Title: Wordbots is a long-running side project I&#x27;ve been working on on-and-off for the past ~7 years that I finally feel comfortable enough with to share with the HN community.<p>It&#x27;s an online tactical card game (inspired by games like Hearthstone and Magic: the Gathering), where players write their own cards in natural language, that gets parsed down to JavaScript. The English-to-JavaScript translation is handled by a semantic parser operating on a hand-crafted CCG grammar – kind of an “old-school” approach in this age of LLMs but one that performs quite well on the very constrained language of Wordbots cards.<p>The resulting game gets pretty wacky as players can create all sorts of cards, though there are some game formats that try to produce more balanced gameplay as well (e.g. one format in which both players shuffle their decks together, and various draft formats).<p>If you&#x27;re curious about how it all works, I made a write-up about it here: <a href="https:&#x2F;&#x2F;app.wordbots.io&#x2F;how-it-works" rel="nofollow">https:&#x2F;&#x2F;app.wordbots.io&#x2F;how-it-works</a><p>And if you want to chat about Wordbots beyond this thread, please don&#x27;t hesitate to join our discord at <a href="https:&#x2F;&#x2F;discord.wordbots.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;discord.wordbots.io&#x2F;</a> . I&#x27;d love to hear any and all feedback.<p>-Alex
Upvote: