Show HN: Variables War, a kid-friendly code playing-cards game
github.com
github.com
The goal is to be the first to reach 42 for either of your 2 variables. For that, you will have to create a program that gets them closer to 42. Different kind of cards will help you to achieve that, if you are lucky enough: values and loop cards will help you increment your variable value. All the other cards will be used to slow down your opponents or defend yourself from a previous attack.
Some of the cards: code freeze, legacy code, pair programming, mob programming, memory leak, rollback, refactoring.
- don't use just color to separate card types. Include an icon.
- make it obvious which text is the effect and which is the flavor text.
(Note my problem isn't an inability to come up with a plausible interpretation, it's that I can come up with too many.)
I also find myself having a dream of playing a "Repeat ${PlayerCount}" card and contriving it so that by quitting on my turn, I simultaneously win and exit the game. (What's the opposite of "ragequit"?)
Assuming you're trying to invert the 'rage' part of rage quitting and not the 'quit' part (or even both), I think the sentiment you're angling to express is usually termed "mic drop"
For instance, if you have the "varB < varA" condition card on your board with your variable A = 2 and your variable B = 4, then no one can put a "Increment one var by 1" card on your variable B.
Someone could put a "Increment one var by 1" card on your variable A, as it would bring you closer from having "varB < var A"
I participate in an outreach program that help under privileged children. We use project based learning methods to for topics that aren't covered in the normal curriculum. We also don't have access to enough computers.
I've recently looked into "teaching computer science to kids without using computers" because I believe that the skills are valuable in other domains (for example, being able to think through a problem logically or as an algorithm might help them with mathematics or economics later).
Here are two of the resources I've found:
[1] https://code.org/curriculum/unplugged [2] https://csunplugged.org/en/
If anyone would like to reply with more resources I'd really appreciate it.
"Increment one var by 1" shows up twice, once as x6 and again as x10 (maybe I'm misunderstanding something here?)
Interesting game! Some of the flavour text might be lost on a 7-year-old, but I can see it being rather quite endearing as a family game.
Wonder if the lack of visuals and random terms/quotes be a detractor from kid's interest.
I also spent hours programming, and I bloody loved it. My parents don't so anything related to computer science, they had no idea what I was doing.
On the BBC Micro, tape-based games needed to be loaded into memory at 0x0E00. But the floppy disk driver (DFS) took up 0x0E00 to 0x1900, so you couldn't just copy your games from tape to disk.
My dad wrote a simple program in BBC Basic, to load a game from disk at 0x1900 and then relocate it to 0x0E00 and run it. I thought this was ingenious, but kind of slow.
The BBC Micro user guide must have been very good, because I (7) managed to learn enough 6502 assembly language to rewrite the relocator. My version took just a few seconds.
I'm not sure my relationship with my dad has ever quite recovered.