mirror of https://github.com/espruino/BangleApps
28 lines
959 B
Markdown
28 lines
959 B
Markdown
|
# Choozi
|
||
|
|
||
|
Choose people or things at random using Bangle.js.
|
||
|
|
||
|
<iframe width="560" height="315" src="https://www.youtube.com/embed/4cqOLNM5ei8" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
||
|
|
||
|
## Usage
|
||
|
|
||
|
You can use Choozi to pick a person to play first in a board game. With all
|
||
|
the players seated in a circle, set the number of segments equal to the number
|
||
|
of players, ensure that each person knows which colour represents them, and then
|
||
|
choose a segment. After a short animation, the chosen segment will fill the screen.
|
||
|
|
||
|
You can use Choozi to randomly select an element from any set with 2 to 13 members,
|
||
|
as long as you can define a bijection between members of the set and coloured
|
||
|
segments on the Bangle.js display.
|
||
|
|
||
|
## Controls
|
||
|
|
||
|
BTN1: increase the number of segments
|
||
|
BTN2: choose a segment at random
|
||
|
BTN3: decrease the number of segments
|
||
|
|
||
|
## Creator
|
||
|
|
||
|
James Stanley
|
||
|
September 2021
|