I like the game itself - it feels well balanced when you are playing single-player mode with built-in cards only. But creating your own cards is an INCREDIBLY frustrating experience. This is a robot I tried to create (sumbot): "This robot's attack, speed, and health are the sum of the attacks, speeds, and healths respectively of all other robots in play." It didn't understand the words: "are", "sum", "speeds", "healt…
Show HN: Card game where players write their own cards that get parsed into code
11–20 of 28 posts
Re: Show HN: Card game where players write their own cards that get parsed into code
#12I like the game itself - it feels well balanced when you are playing single-player mode with built-in cards only. But creating your own cards is an INCREDIBLY frustrating experience. This is a robot I tried to create (sumbot): "This robot's attack, speed, and health are the sum of the attacks, speeds, and healths respectively of all other robots in play." It didn't understand the words: "are", "sum", "speeds", "healt…
Re: frustration of writing cards – yeah, I definitely feel you on that. The grammar is fairly restrictive and there's generally just one way to make a given card action parse (you could say it's more like Python than Perl). One affordance that we've put in to at least make writing cards a little easier is the Dictionary/Thesaurus feature in the Workshop, that lets you see all the words and phrases recognized by the parser and examples of how each of them has been used in practice.
Re: sumbot – You can do something like "Startup: Set this robot's attack to the total attack of all robots, and set this robot's speed to the total speed of all robots, and set this robot's health to the total health of all robots."
Re: Show HN: Card game where players write their own cards that get parsed into code
#13I like the game itself - it feels well balanced when you are playing single-player mode with built-in cards only. But creating your own cards is an INCREDIBLY frustrating experience. This is a robot I tried to create (sumbot): "This robot's attack, speed, and health are the sum of the attacks, speeds, and healths respectively of all other robots in play." It didn't understand the words: "are", "sum", "speeds", "healt…
> It seems I can set an arbitrary cost for my cards? How do you balance the game when it involves custom cards?
> One strategy would be to give each player a deck consisting of their cards and the opponents cards. So if someone made a really imbalanced card, they would have a 50-50 chance of having it used on them.
The author actually addressed this by doing exactly that
Re: Show HN: Card game where players write their own cards that get parsed into code
#14Re: Show HN: Card game where players write their own cards that get parsed into code
#15I like the game itself - it feels well balanced when you are playing single-player mode with built-in cards only. But creating your own cards is an INCREDIBLY frustrating experience. This is a robot I tried to create (sumbot): "This robot's attack, speed, and health are the sum of the attacks, speeds, and healths respectively of all other robots in play." It didn't understand the words: "are", "sum", "speeds", "healt…
On the point of card creation, I also found it to be frustrating. Not as much as you did, but for example I couldn't get a card to say "Destroy this robot unless it moved this turn" even though "moved this turn" is in the dictionary. I guess I can only say "Destroy each robot that moved this turn" - no negation, and not specific. I still enjoyed messing with it, but it was a pretty challenging experience to start com…
"At the end of your turn, destroy this robot unless it moved this turn" or "At the end of your turn, destroy this robot if it didn't move this turn" are definitely phrases that ought to parse correctly, and there's already in-game support for these mechanics (it's purely a parser issue).
Re: Show HN: Card game where players write their own cards that get parsed into code
#16Neat idea. Unfortunately it knows nothing about infinite squirrels.
Re: Show HN: Card game where players write their own cards that get parsed into code
#17I like the game itself - it feels well balanced when you are playing single-player mode with built-in cards only. But creating your own cards is an INCREDIBLY frustrating experience. This is a robot I tried to create (sumbot): "This robot's attack, speed, and health are the sum of the attacks, speeds, and healths respectively of all other robots in play." It didn't understand the words: "are", "sum", "speeds", "healt…
Use the LLM to turn English into the subset understood by sumbot and it slowly teaches the player the formal language!
Re: Show HN: Card game where players write their own cards that get parsed into code
#18I don't like competing so my first thought was to make a card which says, "You win the game." Is that possible, ostensibly with great cost, or is there some restriction on the effects? I believe MTG card effects often directly translate to a certain "mana" cost so it can be determined (in most cases) if a card is "overpowered" for its cost. Does this have some mechanism which ties effect to cost? (I also appreciate t…
You can definitely make an Action card with the text "You win the game" :-) Wordbots doesn't have a built-in mechanism to enforce cards being at a "fair" power level. We initially had a few ideas for how to do it: some kind of machine-learning approach to determine how much "energy" a card should cost to play based on its text and stats, or having a server constantly simulating games between AI players with various c…
What I figured was to make there be a cost for using any card, pinned to the number of targets affected, amount of "force" applied, and one or more resources (life, energy, time, space).
Or an equivalent-exchange/extreme-couponing system of some kind. "To destroy the universe, you must first destroy something of equal or greater value." This can deadlock the game though.
After "heat death of the universe" cost too much to play, the workaround ended up being "wait for all other players to die of natural causes" (hadn't implemented time cost yet).
Re: Show HN: Card game where players write their own cards that get parsed into code
#19Earlier quoted context omitted.
On the point of card creation, I also found it to be frustrating. Not as much as you did, but for example I couldn't get a card to say "Destroy this robot unless it moved this turn" even though "moved this turn" is in the dictionary. I guess I can only say "Destroy each robot that moved this turn" - no negation, and not specific. I still enjoyed messing with it, but it was a pretty challenging experience to start com…
Yeah, the poor parsing around "moved this turn" is a known issue that I'm going to look into fixing this week. (Someone actually mentioned it yesterday on our discord – they were attempting to make a card with the text "At the end of your turn, if this robot didn't move this turn, restore 2 health to this robot": https://discord.com/channels/301800217055985665/301800217055... ) "At the end of your turn, destroy this…
Re: Show HN: Card game where players write their own cards that get parsed into code
#20"Praction" comes after the comma in that phrase, apparently?