a0313dad34
Radio packets are not received when while() loop in button callback waits for health status of first infected. That results in master waiting in while loop forever. Added "Infecting" state. Master sends infect messages in forever loop in non-blocking way. Another bug is in call to Math.randomRange while selecting patientZero. randomRange returns number incusive with boundaries. This results in accessing players array beyond end. |
||
---|---|---|
.. | ||
banana-keyboard | ||
guitar | ||
hack-your-headphones | ||
inchworm | ||
light-monster | ||
milk-carton-robot | ||
milky-monster | ||
plant-watering | ||
rc-car | ||
reaction-time | ||
soil-moisture | ||
states-of-matter | ||
telegraph | ||
wallet | ||
watch | ||
analog-pin-tester.md | ||
atronix-jam.md | ||
banana-keyboard.md | ||
coin-flipper.md | ||
compass.md | ||
crashy-bird.md | ||
dice.md | ||
duct-tape-watch.md | ||
fashion.md | ||
fireflies.md | ||
flashing-heart.md | ||
games.md | ||
guitar.md | ||
hack-your-headphones.md | ||
hot-or-cold.md | ||
inchworm.md | ||
infection.md | ||
karel.md | ||
light-level-meter.md | ||
light-monster.md | ||
love-meter.md | ||
magic-button-trick.md | ||
micro-chat.md | ||
micro-coin.md | ||
milk-carton-robot.md | ||
milk-jar-robot.md | ||
milky-monster.md | ||
mood-radio.md | ||
multi-dice.md | ||
music.md | ||
name-tag.md | ||
plant-watering.md | ||
plot-acceleration.md | ||
radio-bridge.md | ||
radio-games.md | ||
railway-crossing.md | ||
rc-car.md | ||
reaction-time.md | ||
red-light-green-light.md | ||
rock-paper-scissors.md | ||
rps-teams.md | ||
salute.md | ||
science.md | ||
servo-calibrator.md | ||
smiley-buttons.md | ||
snap-the-dot.md | ||
soil-moisture.md | ||
states-of-matter.md | ||
step-counter.md | ||
stopwatch.md | ||
tele-potato.md | ||
telegraph.md | ||
timing-gates.md | ||
tools.md | ||
toys.md | ||
turtle-scanner.md | ||
turtle-spiral.md | ||
turtle-square.md | ||
turtle.md | ||
voting-machine.md | ||
wallet.md | ||
watch.md |