https://github.com/danbugs/games_and_brawns
A game created with Unity3D that, with electromyography readings (obtained through a BITalino), helps people in muscle movement rehabilitation.
https://github.com/danbugs/games_and_brawns
game school-project unity
Last synced: 2 months ago
JSON representation
A game created with Unity3D that, with electromyography readings (obtained through a BITalino), helps people in muscle movement rehabilitation.
- Host: GitHub
- URL: https://github.com/danbugs/games_and_brawns
- Owner: danbugs
- License: gpl-3.0
- Created: 2019-11-09T20:21:56.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-28T07:25:02.000Z (over 6 years ago)
- Last Synced: 2025-12-25T22:33:59.560Z (6 months ago)
- Topics: game, school-project, unity
- Language: C#
- Homepage:
- Size: 38.2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# games_and_brawns
A game created with Unity3D that, with electromyography readings (obtained through a BITalino), helps people in muscle movement rehabilitation.
## hardware requirements
- bitalino board

- with battery.
- bluetooth dongle

- emg module

- 3-lead electrode cable

- 3 electrodes (+ve, -ve, gnd)

- pushbutton

- plux cable for pushbutton

## software requirements
- OpenSignals (r)evolution: https://bitalino.com/en/software
- git:
https://git-scm.com/downloads
- MacOS
- tested on MacOS Mojave 10.14.5
- Games and Brawns:
```
git clone -b app https://github.com/danbugs/games_and_brawns
```
## how to play
- start the game.
- first, you will see the "visualization round", that means that there are no obstacles and you can't lose even if you hit them.
- next, you will see the "game round", that means that there are obstacles and if you hit them you lose them game.
- there's a pre-recorded run with a victory pre-loaded into the app, which is what you'll see.
- now, after the game round, you should see this screen:

- connect all the hardware/wiring and electrodes to your body (+ve and -ve (black and red) in the belly of the muscle and gnd to a bone).
- start up open signals, and configure it to read emg data on port a1. Turn off all other channels. Set it to start on trigger (i.e. pushbutton) that will be connected to port i1.
- put the game screen side-by-side with open signals.
- press the pushbutton and "try again" at the same time to start playing.
- flex your muscle of choice to avoid obstacles.
- right click the game app, click "show package contents", navigate to the streamingassets folder (contents -> resources -> data -> streamingassets).
- replace your the txt file there with your data. Your file **must** be named "data_converted.txt".
- click "try again" and you should see your own run.