Project guts coding Challenges- set 6 cs concept Challenges



Download 10.36 Kb.
Date02.02.2017
Size10.36 Kb.
#15269
Project GUTS

Coding Challenges- Set 6
CS Concept Challenges: Conditional Logic, Data Collection, Multiple push and toggle buttons, detection




Description

1

Create a databox to keep track of time. Re-set clock at setup. Give turtles a wiggle movement, use the clock to stop the movement after 500 ticks. (hint: conditional logic)

2

Create a slider, call it ‘angle with 0-360 range’. Create a few turtles with pen down that wiggle. Use the slider to change the agents’ Wiggle.

3

Use 1 agent to make a shape using a push button widget (not a toggle). Have the agent move to a slightly new position and/or angle to repeat the pattern, like a spirograph. Include a “yield” block so the repeated movement is visible.

4

Create two breeds that wiggle around the world. Then, have 1 breed chase the other when they get within 5 steps. (hint: detection with conditional logic)

5

Make the breed being chased in the above project run away when the chasing agent gets within 10 steps. (hint: detection with conditional logic)



Project GUTS


Coding Challenges- Set 6
CS Concept Challenges: Conditional Logic, Data Collection, Multiple push and toggle buttons, detection




Description

1

Create a databox to keep track of time. Re-set clock at setup. Give turtles a wiggle movement, use the clock to stop the movement after 500 ticks. (hint: conditional logic)

2

Create a slider, call it ‘angle with 0-360 range’. Create a few turtles with pen down that wiggle. Use the slider to change the agents’ Wiggle.

3

U Use 1 agent to make a shape using a push button widget (not a toggle). Have the agent move to a slightly new position and/or angle to repeat the pattern, like a spirograph. Include a “yield” block so the repeated movement is visible.

4

Create two breeds that wiggle around the world. Then, have 1 breed chase the other when they get within 5 steps. (hint: detection with conditional logic)

5

Make the breed being chased in the above project run away when the chasing agent gets within 10 steps. (hint: detection with conditional logic)


Download 10.36 Kb.

Share with your friends:




The database is protected by copyright ©ininet.org 2024
send message

    Main page