Variables Unit?

I just completed the VexVR Course in Python which ended with If/Else statements. Are there any resources to go beyond that with variables? Is there a unit 10 in the works that addresses variables? In coding the Castle Color Match, it would be better to have the students detect the color, store the value and then insert it into the deliver_disc_to procedure, rather than hard code the t/f values.
Thank you for any additional resources and your consideration for the unit 10 enhancement request for variables.
Michelle

Hi @Michelle_Sherry! Thank you for the feedback on the current VR Course :slight_smile:

For additional resources, we do have some VR Activities that can be solved using variables.

All VR Activities also have associated sample solutions, that can be found here.

Let me know if this helps!

Thank you. This will be a big help in the meantime. I would love it as a unit in the future because you guys lay the content out so nicely with examples and quizzes to support their understanding in stages. This course was of such high quality and an invaluable tool for me to use in my first go-around with teaching Vex in the classroom as part of our Intro to CS class. Worth every penny!
:slight_smile: Michelle

2 Likes

@Michelle_Sherry thank you so much for your kind words! We very much appreciate that and your feedback on what is useful for you and your students :smiley:

Hi Michelle!

I actually had a live session all about using variables and functions a few months back. This is done using Python in VEXcode VR, but the same ideas apply for variables in blocks as well! Could be a good way to learn about introducing variables to students.

1 Like

Awesome! Thanks Alaina. Can’t wait to check it out.
Best,
Michelle

2 Likes

Hi Lauren,
Thank you very much for the 1-on-1 session with you and Jacob. That was great. You had mentioned that you would put what we did in the Community but I’m not sure where to look to find it. Sorry if it’s right under my nose-
:slight_smile: Michelle

2 Likes

Hi @Michelle_Sherry! Sorry for the delayed reply.

I have both of the projects from our 1-1 Session. Just to recap, we were looking how to edit the current Castle Color Match activity level 3 solution to use sensors and variables.

Here is the first that I covered with you, editing the Castle Color Match level 3 solution to use sensor feedback.
CastleColorMatchLvl3 - Disk Transport - sensors.vrpython (8.6 KB)

Here is the second that Jacob provided, highlighting variables.
CastleColorMatchLvl3 - Disk Transport - variables.vrpython (8.8 KB)

I will also look through our resources to find other activities that can be adapted to using variables :smiley:

Let me know if this helps!

Thank you so much! So incredibly helpful.
:slight_smile: Michelle

2 Likes

Hi @Michelle_Sherry! I’m so glad to hear that :smiley:

1 Like