News for hackers. Stuff that matters.

hypernovawebant

Re:Show HN: Let your body be the gamepad on Monday April 17, 2023 @03:22AM (#35597696)
This also works well if you want to practice dribbling in basketball, just tested it this morning: https://media.githubusercontent.com/media/mristin/body-gamep...
Re:Show HN: Let your body be the gamepad on Sunday April 16, 2023 @05:27PM (#35594433)
Thanks, changed!

Show HN: Let your body be the gamepad

https://github.com/mristin/body-gamepad

Hi HN, I made a keyboard emulator that tracks your body pose and emits the key presses accordingly.My main motivation was to make my kids move more on rainy days. I already made a couple of mini-games using the body pose [1-3], and those were definitely fun to make and play! However, once the kids learned the tricks, they got bored. I could only produce that much content myself, and soon...

( Read More... | 7 comments | 2 points | on HN )
Re:Semaphore: A Full-Body Keyboard on Thursday April 13, 2023 @06:22AM (#35553350)
Cool ideas!

I implemented a couple of mini-games using a dance mat as well:

https://github.com/mristin/dance-a-mole-desktop

https://github.com/mristin/judo-dance-desktop/

https://github.com/mristin/dance-cat-to-mouse

https://github.com/mristin/burpee-frog-desktop

https://github.com/mristin/dance-runaway-desktop

Dance mat could be even easier to integrate as it acts just as a normal joystick. The problem, though, is that many games expect reaction times achievable with a keyboard & mouse, but leg movements are a bit slower.

The problem with the dance mat is that you can not use it in a school class as you need extra equipment. It worked well in a dojo for my judo classes, though.

Re:Semaphore: A Full-Body Keyboard on Thursday April 13, 2023 @06:15AM (#35553315)
You can find the packages here:

https://github.com/mristin/ski-leu-desktop/releases/download...

https://github.com/mristin/pop-that-balloon-desktop/releases...

If you want to run the code manually, install it in the virtual environment. Then you can simply run commands `ski-leu` or `pop-that-balloon`.

Btw., I use pop-that-balloon for basketball dribbling training, and a friend uses it for boxing. Have fun & please let me know if you use it for yet another sport :).

Edit: removed bullet points

Re:Semaphore: A Full-Body Keyboard on Wednesday April 12, 2023 @07:41AM (#35538089)
I'm actually already working on exactly that -- after trying it out on a couple of mini-games such as https://github.com/mristin/pop-that-balloon-desktop, https://github.com/mristin/cactusss-desktop and https://github.com/mristin/ski-leu-desktop.

Please let me know if you want to join forces! You can find my contact information at: https://github.com/mristin.

I figured that I don't mind my kids playing computer games as long as they move. The first stage for me is to find a workable approach to DOS games. In particular, I thought about adapting ski-leu to race games such as Outrun & ilks.

There's a tool for verification of Python programs based on contracts which uses Z3: https://github.com/pschanely/CrossHair

You can use it as part of your CI or during the development (there's even a neat "watch" mode, akin to auto-correct).