Show HN: Card game where players write their own cards that get parsed into code Wordbots is a long-running side project I'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. It'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. 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). If you're curious about how it all works, I made a write-up about it here: https://ift.tt/dEAoygc And if you want to chat about Wordbots beyond this thread, please don't hesitate to join our discord at https://ift.tt/wExoaYh . I'd love to hear any and all feedback. -Alex https://ift.tt/2ArWFgp May 10, 2023 at 12:31AM
Post Top Ad
Your Ad Spot
Tuesday, May 9, 2023
Home
Hacker News
Show HN: Card game where players write their own cards that get parsed into code https://ift.tt/NulHwqb
Show HN: Card game where players write their own cards that get parsed into code https://ift.tt/NulHwqb
Tags
Hacker News#
Share This
About latest news
Hacker News
Labels:
Hacker News
Subscribe to:
Post Comments (Atom)
Post Top Ad
Author Details
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat.
No comments:
Post a Comment