Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A strange game. You win by not thinking about it.

License

NotificationsYou must be signed in to change notification settings

sye8/MindGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

License: GPL v3

A strange game. You win by not thinking about it.

Note that this game does not work on macOS

Using a BITalino device, this game compares the EEG readings of the two players. Like the rules of a tug-of-war, the player who gives a lower EEG reading than the opponent for a long enough time wins the game.

Note that this is a TTY game, please don't expect any graphics

Dependencies

To install Dependencies:

For Python 2.7

sudo apt-get install python python-dev python-pip bluez libbluetooth-devsudo pip install numpy pyserial pybluez bitalinogit clone https://github.com/BITalinoWorld/revolution-python-api.gitcd revolution-python-apisudo python setup.py install

(For pip2.7) Note that if your pip complains aboutno module named _internal orno module named internal:

curl https://bootstrap.pypa.io/get-pip.py -o get-pip.pysudo python get-pip.py --force-reinstall

For Python 3

sudo apt-get install python3 python3-dev python3-pip bluez libbluetooth-devsudo pip3 install numpy pyserial pybluez bitalino

Note here we are not cloning the official BITalino git repo since we are using their old API for Python 3 support, which I have included in this repo. (Thanks toGautam Sawala for this suggestion)

Device Required:

A BITalino with bluetooth enabled and two EEG sensors connecting to channel A1 and A2. The terminal should have bluetooth capabilities

Compatibility Note

This python script has only been tested on Ubuntu MATE on Raspberry Pi 3 Model B

About

A strange game. You win by not thinking about it.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp