Skip to content

Commit

Permalink
fix some link/hint formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ganicke committed Oct 21, 2024
1 parent c855793 commit a000d1b
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
6 changes: 5 additions & 1 deletion docs/test/courses/csintro/conditionals/project.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,16 @@ input.onGesture(Gesture.Shake, () => {
```
Solution link: [https://makecode.microbit.org/_0fx9hY9EbM5T]()

### ~ Bonus
### ~ hint

#### Bonus

The micro:bit uses its accelerometer to detect when you're shaking it. How does an accelerometer actually work?

[https://www.youtube.com/watch?v=byngcwjO51U]()

### ~

### Space Race

How to win: Starting from Earth, your goal is to progress to Mars. The first person to reach Mars is the winner.
Expand Down
6 changes: 4 additions & 2 deletions docs/test/courses/csintro/radio/project.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ When a key is pressed, it sends a number over the radio to a second micro:bit th
![Second micro:bit that plays notes](/static/courses/csintro/radio/microbit-number-two.png)
Second micro:bit that plays the notes

#### ~ Bonus
### ~ hint

#### Bonus

This project uses touch pin inputs. See how the micro:bit detects a press at a pin or on something connected to a pin in this video:

https://www.youtube.com/watch?v=GEpZrvbsO7o

#### ~
### ~

#### 3-Note keyboard program

Expand Down
7 changes: 6 additions & 1 deletion docs/test/courses/csintro/variables/activity.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ input.onButtonPressed(Button.AB, () => {
})
```
## User feedback

Whenever the scorekeeper presses button A, button B, or both buttons together, we will give the user visual feedback acknowledging that the user pressed a button. We can do this by coding our program to display:

* an ‘A’ each time the user presses button A to record a win for Player A,
Expand Down Expand Up @@ -199,7 +200,9 @@ PlayerBWins = 0
PlayersTie = 0
```

### ~ Hint
### ~ hint

#### History of buttons

Buttons have been used as human input devices since computers first existed. Watch this video and see how they let the user tell the micro:bit to do something.

Expand All @@ -208,9 +211,11 @@ Buttons have been used as human input devices since computers first existed. Wat
### ~

## Try it out!

Download the Scorekeeper program to the micro:bit, and find someone to play *Rock, Paper, Scissors* with you using your micro:bit to act as the Scorekeeper!

## ‘Adding’ on with mathematical operations

There is more we can do with the input we received using this program. We can use mathematical operations on our variables.

Example: Perhaps you’d like to keep track of, and show the player the total number of ‘rounds’ that were played. To do this, we can add the values stored in the variables we created to keep track of how many times each player won and how many times they tied.
Expand Down

0 comments on commit a000d1b

Please sign in to comment.