Skip to content

Commit

Permalink
Updating Forest Fire (#6365)
Browse files Browse the repository at this point in the history
  • Loading branch information
kiki-lee authored Mar 12, 2024
1 parent 55b0d94 commit cce6a78
Show file tree
Hide file tree
Showing 6 changed files with 441 additions and 125 deletions.
97 changes: 97 additions & 0 deletions docs/courses/summer-training.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@

![MakeCode Hero Image](https://pxt.azureedge.net/blob/67e56508413dd82807151fefa88b9c8cb2f03392/static/images/hero.png)

# MakeCode Summer Training Schedule

## MakeCode Trainings for micro:bit
We will be hosting a special training in Las Vegas in the days leading up to CSTA. Please click the card below to register.


```codecard
[
{
"name": "Micro:bit at CSTA",
"description": "Join us in Vegas on 6/16/24 for an introduction to using micro:bit in the classroom",
"url":"https://aka.ms/carnivalGuide",
"imageUrl": "https://pxt.azureedge.net/blob/ce157b871e8d7330375d8dc8ade57d7426259ef4/static/courses/csintro.jpg",
"label": "In Person on 6/16/24",
"labelClass": "black ribbon large"
}
]
```

## MakeCode Trainings for Arcade
This year, we will be hosting two separate cohorts of each session for both the Intro and CSP courses.

```codecard
[
{
"name": "Intro to CS PD #1",
"description": "Click here to register through Infosys Pathfinders to take part in this online 40-hour professional learning introduction to our entry level Intro to CS with MakeCode Arcade curriculum",
"url":"https://aka.ms/carnivalGuide",
"imageUrl": "https://pxt.azureedge.net/blob/6fc548f43baa08998bdc2bd7221cc740244d65f5/static/courses/teals-introcs.jpg",
"label": "Online 6/3/24 - 6/7/24",
"labelClass": "orange ribbon large"
}, {
"name": "Intro to CS PD #2",
"description": "Click here to register through Infosys Pathfinders to take part in this online 40-hour professional learning introduction to our entry level Intro to CS with MakeCode Arcade curriculum",
"url":"https://aka.ms/carnivalDrive",
"imageUrl": "https://pxt.azureedge.net/blob/6fc548f43baa08998bdc2bd7221cc740244d65f5/static/courses/teals-introcs.jpg",
"label": "Online 7/29/24 - 8/2/24",
"labelClass": "orange ribbon large"
}
]
```
```codecard
[
{
"name": "AP CS Prinicpals #1",
"description": "Click here to register through the College Board to experience this online professional learning opportunity for the MakeCode Arcade AP CS Principals course",
"url": "https://aka.ms/mbCarnival",
"imageUrl": "https://pxt.azureedge.net/blob/2f29e06f0ce78fc647a0f19ea4acadd0ea29563c/static/courses/csp.png",
"label": "Online 6/17/24 - 6/22/24",
"labelClass": "orange ribbon large"
},{
"name": "AP CS Prinicpals #2",
"description": "Click here to register through the College Board to experience this online professional learning opportunity for the MakeCode Arcade AP CS Principals course",
"url": "https://aka.ms/mbCarnival",
"imageUrl": "https://pxt.azureedge.net/blob/2f29e06f0ce78fc647a0f19ea4acadd0ea29563c/static/courses/csp.png",
"label": "Online 7/22/24 - 7/26/24",
"labelClass": "orange ribbon large"
}
]
```

## MakeCode Trainings for Minecraft

```codecard
[
{
"name": "Teach Minecraft Code",
"description": "All you need to know has been presented in this easy to follow PDF.",
"url":"https://aka.ms/carnivalGuide",
"imageUrl": "https://pxt.azureedge.net/blob/67b55f01ae0289333b6900632b6edc08d74462a8/static/live-coding/eO8cXUjwrmM.jpg",
"label": "Online 6/17/24 - 6/22/24",
"labelClass": "green ribbon large"
}, {
"name": "Resources Drive",
"description": "This is home base for all of the resources that accompany the Code a Carnival Lesson",
"url":"https://aka.ms/carnivalDrive",
"imageUrl": "https://pxt.azureedge.net/blob/6ad07456e1cb95a5339fb6562e1589cc9d65608d/static/mods/gladiator.jpg",
"label": "Online 6/17/24 - 6/22/24",
"labelClass": "green ribbon large"
}
]
```


## See also

* [Summer Training for VSCodeEDU](https://arcade.makecode.com/hour-of-code-2022)
* [Code a Carnival Webpage (HoC)](https://arcade.makecode.com/hour-of-code-2022)
* [Getting Started with MakeCode Arcade](https://youtu.be/DE_-0flM324)
* [Meet the micro:bit Video](https://youtu.be/iG-cRQXP7R8)
* [Kiki's Corner MakeCode Arcade Blog](https://medium.com/kikis-corner)
* [Homepage for Microsoft MakeCode Arcade](https://arcade.makecode.com/)
* [Homepage for Microsoft MakeCode for micro:bit](https://makecode.microbit.org/)

2 changes: 1 addition & 1 deletion docs/test/skillmap/forest-2024.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* name: Prepare Your Plane
* type: tutorial
* description: Set up your airtanker to make sure you can get everywhere you need to be!
* url: test/skillmap/forest/forest1
* url: /test/skillmap/forest/forest1
* imageUrl: /static/skillmap/forest/forest1.gif
* tags: easy, sprite, movement
* next: forest2
Expand Down
2 changes: 1 addition & 1 deletion docs/test/skillmap/forest/forest1.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


The last few summers have been among the hottest on record and the forest service needs
your helo to keep fires under control.
your help to keep fires under control.

Let's start by setting up your plane to make sure you can get everywhere you need to be.

Expand Down
25 changes: 13 additions & 12 deletions docs/test/skillmap/forest/forest4.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ container that's already in the workspace.
//@highlight
game.set_health_of_trees(7)
tiles.setTilemap(tilemap`level1`)
let mySprite = sprites.create(assets.image`Fire Plane Right`, SpriteKind.Player)
controller.moveSprite(mySprite)
scene.cameraFollowSprite(mySprite)
let myPlane = sprites.create(assets.image`Fire Plane Right`, SpriteKind.Player)
controller.moveSprite(myPlane)
scene.cameraFollowSprite(myPlane)
for (let index = 0; index < 4; index++) {
sprites.create_spreading_fire(assets.tile`tree`, assets.tile`tree fire`)
Expand Down Expand Up @@ -109,9 +109,9 @@ game.set_health_of_trees(7)
game.set_strength_of_wind(3)
game.set_dryness_of_grass(3)
tiles.setTilemap(tilemap`level1`)
let mySprite = sprites.create(assets.image`Fire Plane Right`, SpriteKind.Player)
controller.moveSprite(mySprite)
scene.cameraFollowSprite(mySprite)
let myPlane = sprites.create(assets.image`Fire Plane Right`, SpriteKind.Player)
controller.moveSprite(myPlane)
scene.cameraFollowSprite(myPlane)
for (let index = 0; index < 4; index++) {
sprites.create_spreading_fire(assets.tile`tree`, assets.tile`tree fire`)
Expand Down Expand Up @@ -151,15 +151,16 @@ game.onUpdate(function () {

## {6. Test}

**🎮 Test your game**
- :binoculars: Test your game.

---

Do you notice that your fire is now spreading to other nearby parts of the forest?

Does it get out of control too quickly? Try experimenting with your variables.

Increase the health of the trees to make the game easier. Increase the dryness of the grass or strength of the wind to make it harder!
- Increase the health of the trees to make the game easier.
- Increase the dryness of the grass or strength of the wind to make it harder!



Expand Down Expand Up @@ -204,12 +205,12 @@ game.onUpdate(function () {

```template
controller.A.onEvent(ControllerButtonEvent.Repeated, function () {
sprites.spray(mySprite, assets.image`water`)
sprites.spray(myPlane, assets.image`water`)
})
let mySprite = sprites.create(assets.image`Fire Plane Right`, SpriteKind.Player)
controller.moveSprite(mySprite)
scene.cameraFollowSprite(mySprite)
let myPlane = sprites.create(assets.image`Fire Plane Right`, SpriteKind.Player)
controller.moveSprite(myPlane)
scene.cameraFollowSprite(myPlane)
for (let index = 0; index < 4; index++) {
sprites.create_spreading_fire(assets.tile`tree`, assets.tile`tree fire`)
Expand Down
Loading

0 comments on commit cce6a78

Please sign in to comment.