Commit Graph

14 Commits

Author SHA1 Message Date
Michal
a0313dad34 Code does not work on real microbits (#1723)
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.
2018-12-11 07:08:05 -08:00
Sam El-Husseini
6f148c14e0 Fix randomInt 2018-06-01 11:42:38 -07:00
Sam El-Husseini
6b9e78d269 Change docs to randomInt 2018-04-21 10:52:09 -07:00
Peli de Halleux
28b493587c adding note about no blocks conversion 2018-02-06 09:43:54 -08:00
Galen Nickel
a0529828d9 A few edits to 'infection' (#595)
* A few edits to 'infection'

* Add share heading
2017-12-06 16:06:25 -08:00
Sam El-Husseini
e3975e65e5 pxt-microbit Accessibility PR (#529)
* Accessibility changes
2017-09-07 13:42:08 -07:00
Abhijith Chatra
5c82a0fcc6 Updating all pxt.microbit.org reference to makecode.microbit.org (#460) 2017-07-24 13:39:27 -07:00
Peli de Halleux
676eee168a Soil - moisture (#418)
* updated servo calibrator

* updated plot analog pin example

* updated servo example

* first drop of soil moisture

* updated picture

* fixing macros

* update code section

* 5 seconds

* adding soil moisture

* fixing links
2017-06-21 11:17:25 -07:00
Peli de Halleux
59c5e2ea9a fireflew activity (#410) 2017-06-04 10:42:52 -07:00
Peli de Halleux
699697301e updated infection info 2017-05-31 22:55:36 -07:00
Peli de Halleux
467ea500b3 updated disclaimer 2017-05-31 22:52:03 -07:00
Peli de Halleux
da9b180e17 updated infection 2017-05-31 13:22:08 -07:00
Peli de Halleux
0d4c5e9630 updated infection 2017-05-25 15:42:55 -07:00
Peli de Halleux
6229d93adc adding infection game 2017-05-25 09:33:57 -07:00