Skip to content

Stage 0: Loops - #134

Open
Adrianamm wants to merge 8 commits into
frcsoftware:mainfrom
Adrianamm:fruitloops2
Open

Stage 0: Loops#134
Adrianamm wants to merge 8 commits into
frcsoftware:mainfrom
Adrianamm:fruitloops2

Conversation

@Adrianamm

Copy link
Copy Markdown
Member

Description

What changed? Why? (the code + comments should speak for itself on the "how")
Added information for Loops. This is for Stage 0 so it's needed

Meta

Merge checklist:

@Adrianamm
Adrianamm requested a review from a team as a code owner July 26, 2026 03:19
@Adrianamm Adrianamm added Curriculum material Curriculum materials, lessons for students, etc Stage 0 labels Jul 26, 2026
@github-actions github-actions Bot added examples infra Any infrastructure for building the website or syncing files stage0 labels Jul 26, 2026
@github-actions

Copy link
Copy Markdown

🌐 Preview URL: https://pr-134.frcsoftware.pages.dev

Comment thread src/content/docs/learning-course/stage0/loops.mdx Outdated
Comment thread examples/stage0/snippets/loops.java Outdated
// [/whileExample2]

// [forSyntax]
rli:ignore

@0verkil 0verkil Jul 26, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure how to do it, but it would be nice if the rli:ignore wouldn't show up in the final code block. Maybe if it goes above the comment?

Comment thread examples/stage0/snippets/loops.java Outdated

```

`timer` now increments by 1 each time the loop is run, and the robot will stop driving after 7 seconds.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure how much nuance is needed here, but I hesitate on this example because it's 7 loops, not seconds, which could be confusing when they try to write the same code later and it doesn't wait for 7 seconds. would appreciate someone else's input here.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would a normal not robot example be better? So just a while loop that counts up to 5

Adrianamm and others added 5 commits July 27, 2026 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Curriculum material Curriculum materials, lessons for students, etc examples infra Any infrastructure for building the website or syncing files Stage 0 stage0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants