Commit Graph

244 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
Galen Nickel
4fbf8c31c6
Update RPS teams step 4 (#1713) 2018-12-07 14:01:22 -08:00
Mark
b3be98f046 Update rock-paper-scissors.md (#1704)
Step 8 should check for Hand = 2  as our previous step 4 checks if Hand = 1
2018-12-06 02:40:30 -08:00
Peli de Halleux
99cc00955b
Shawn videos (#1690)
* inclued in tutorials

* adding sim images to large icons

* added landing page

* restoring gifs in intro

* updated links
2018-12-02 07:58:43 -08:00
Sam El-Husseini
7e23340df1
Spellcheck docs (#1652)
* Spelling mistakes
2018-11-20 13:26:26 -08:00
Sam El-Husseini
980bb581ee Remove extra whitespace from ```blocks causing tutorial not to decompile (#1651) 2018-11-18 09:43:41 -08:00
Peli de Halleux
50367217f3
Lessons fixes (#1609)
* fixing a bunch of lessons

* more fixes

* more fixes

* more cleanup

* Additional fixes
2018-11-09 15:36:46 -08:00
Galen Nickel
61d180147b Rps teams update (#1576)
* local commit

* Update RPS Teams
2018-11-02 14:53:01 -07:00
Peli de Halleux
d062f95a3b
bump to pxt 4.2 -- bump pxt-microbit to 1.2... (#1555)
* simplify flashing heart

* improved name-tag

* tweak
2018-10-29 21:36:33 -07:00
Galen Nickel
53e447c33c Update the the connect code for 'inchworm' (#1545) 2018-10-26 21:00:58 -07:00
Peli de Halleux
0a41474ffe fix for https://github.com/Microsoft/pxt-microbit/issues/1532 2018-10-26 08:25:10 -07:00
Peli de Halleux
6293e8f342
restoring some docs (#1533) 2018-10-26 00:10:41 -07:00
Peli de Halleux
44a47a7e5c fixing steps in RPS 2018-10-24 21:51:53 -07:00
Galen Nickel
8c6c5cf60b
Turtle tutorial step text continuity (#1514) 2018-10-24 12:02:31 -07:00
Peli de Halleux
a7e613c237 Merge branch 'v1' of https://github.com/Microsoft/pxt-microbit into v1 2018-10-22 14:14:11 -07:00
Peli de Halleux
36f42e584c adding .gif for first step 2018-10-22 14:14:06 -07:00
Abhijith Chatra
2ae09a0b94
Fixing the step
Fixes https://github.com/Microsoft/pxt-microbit/issues/1472
2018-10-22 14:08:18 -07:00
Peli de Halleux
c35eb66f29 updated RPS 2018-10-22 14:05:39 -07:00
Galen Nickel
a81a36e0ca Bring in fixes from #1128 to v1 (#1491) 2018-10-22 13:22:50 -07:00
Galen Nickel
eff4ccef56 Port 'crashy-bird' game to v1 (#1484) 2018-10-22 13:22:20 -07:00
Peli de Halleux
bc024738be
upgrading karel sample (#1487)
* upgrading karel

* Adjust upgrade note
2018-10-22 13:20:48 -07:00
Abhijith Chatra
be7858cbed
Cherry picked fixes from v0 to v1 (#1476)
* Fix example and do a few edits (#850)

* Small fixes to the Karel project text (#862)

* fix missing shadow type

* add calibration info (#897)

microbit-support:6348 User reported bug, but didn't realie micro:bit compass had to be calibrated on first run of the program.

* Cherry pick adding various cross-editor compat APIs (#863)

* fix nudge

* Fix a typo ("screent") in the documentation (#1012)

* Fix a typo
"screent" -> "the LED screen"

* Update showArrow doc string for consistency with other methods

* Doc bugs found by xlators (#899)

* Update rotation.md (#998)

reflects actual behaviour of the board

* fixed layout corruption (#1073)

* Updating the new bug filer with the right link

* Update challenges.md (#1325)

For what I'm taught in school, 2 follows 1 😉😉.

* Update simulator.md (#1209)

* Update plant watering.md (#1264)

the connection to servo are male not female

* support for MIDI simulator in v0 (#1331)

* Doc improvements (#1337)

* update grammar in radio-dashboard sample code

* Chanllenge 2 follows 1

I open all challenges.md without "Challenge 2" and review the file
`grep -r "Challenge 2" -L | grep challenge | xargs -I@ code @`

Changes to be committed:
	modified:   docs/lessons/counter/challenges.md
	modified:   docs/lessons/game-counter/challenges.md
	modified:   docs/lessons/night-light/challenges.md
	modified:   docs/lessons/snowflake-fall/challenges.md

* Revert "support for MIDI simulator in v0 (#1331)"

This reverts commit 30a9c411fb80762656e7a636feff8e77b7fd9e67.

* Revert "Cherry pick adding various cross-editor compat APIs (#863)"

This reverts commit 7308dbef23e9ee402bebb7e721d7014d8252c9e5.

* Fixed pin needed to replace button A (#1385)

* Cherry pick part of the signature update in in2cWriteBuffer (#863): 7308dbe
2018-10-22 10:00:57 -07:00
Galen Nickel
b96f865fda Fix card image for 'duct tape watch' (#1471) 2018-10-21 00:19:55 -07:00
Peli de Halleux
3a62cf6cba updates to rps 2018-10-17 05:56:21 -07:00
Galen Nickel
62f30624b9 Edits and fixes for 'Rock Paper Scissors' (#1445) 2018-10-16 17:57:26 -07:00
Peli de Halleux
5a03f09a5f
Updated rock paper scissors (#1444)
* converting RPS into tutorial

* updated tutorial

* need to deal with github throttling
2018-10-16 15:58:27 -07:00
Peli de Halleux
9cb0aa29fd missing radio package 2018-10-16 13:57:09 -07:00
Galen Nickel
0fd5570dea Adds and edits to redlight greenlight (#1440)
* Adds and edits to redlight greenlight

* Add block category for - forever
2018-10-16 12:39:59 -07:00
Peli de Halleux
36718093c6 fix typo 2018-10-16 10:31:16 -07:00
Peli de Halleux
55f36d2f5f
Red light green light radio game (#1438)
* added new game

* added suggestion

* updated summary

* added tips

* RSSI info
2018-10-16 10:27:42 -07:00
Peli de Halleux
2b504d863d
Radiodocsupdate (#1430)
* a few updates

* more updates

* reorder radio blocks

* more shuffling of new radio apis

* fixing hot or ocold

* more doc fixes

* more updates

* fixing docs issues

* more doc fixes

* restore docs errors

* missing packate

* renamed argument of callback

* mssing radio

* more odcs fixes

* lock turtle

* ignore docs for now
2018-10-15 15:32:09 -07:00
Peli de Halleux
192588d8cb
BLE mode by default (#1429)
* set open mode as default + pairing mode supported too

* remove comment
2018-10-15 13:11:35 -07:00
Galen Nickel
e2dbfae291 Edits to the 'micro-chat` project (#1428) 2018-10-15 11:28:51 -07:00
Peli de Halleux
6f281e66df
Micro-chat (#1425)
* added microchat tutorial

* animations
2018-10-15 09:19:34 -07:00
Galen Nickel
8f04ed4191 Edits for plot acc (#1420) 2018-10-15 07:05:15 -07:00
Peli de Halleux
de0ea68469
added multi dice tutorial (#1419)
* added multi dice tutorial

* Some dicey edits
2018-10-15 07:03:23 -07:00
Peli de Halleux
8aca3d3804
Plot acc example (#1418)
* adding plot acceleration

* added console
2018-10-14 20:47:57 -07:00
Abhijith
57c89eb49b Makeing webscout happy 2018-10-12 16:12:11 -07:00
Galen Nickel
3a217e910e Include unplugged intro step in tutorials (#1376) 2018-10-10 15:38:51 -07:00
Peli de Halleux
55d2b9ea1e add full screen options 2018-10-10 09:00:56 -07:00
Galen Nickel
6976055aa9 Migrate term 'package' to 'extension' (#1280)
* Migrate term 'package' to 'extension'

* Bad link

* Add package term note

* Small article change
2018-09-26 09:35:56 -07:00
Peli de Halleux
0b30698fbc split line 2018-09-17 14:19:03 -07:00
Galen Nickel
9229d5178c Change occurrances of 'stop watch' to 'stopwatch' (#1260) 2018-09-17 11:59:25 -07:00
Galen Nickel
2cfc487412 Set more projects as side-docs (#1253) 2018-09-17 09:02:09 -07:00
Galen Nickel
95ae446a6d Typo scan for tutorials (#1250) 2018-09-14 14:57:17 -07:00
Galen Nickel
e7741f3eef Edits for 'snap the dot' (#1246) 2018-09-14 14:55:52 -07:00
Peli de Halleux
649355ef3c fix snap the dot 2018-09-14 14:10:13 -07:00
Peli de Halleux
e6d3c26411
skill game (#1235) 2018-09-14 11:22:08 -07:00
Peli de Halleux
8b053d5d55 fixing missing radio rfs 2018-09-14 08:50:03 -07:00
Galen Nickel
f76f5b23d1 Radio bridge description text (#1223) 2018-09-13 07:04:45 -07:00