Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Show HN: PUNK0 – A Function Composition Card Game (punkx.org)
1 point by jackdoe on Feb 15, 2023 | hide | past | favorite | 1 comment


It's a game I made with my daughter. She was a bit intimidated with all the languages out there, so I thought a game using go, js, python and c will show how things are more similar than it seems.

The game is about manipulating a list with 4 integers. Each card is a function and each card's output is another card's input. You can play either the same function in another language or a different card of the same language as the previous played card.

For example there is increment() card or rotate_left() card, but the fun is with the punk() cards which print what to do depending on the value of the list.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: