![]() ![]() Duplicate this ||player:on chat command|| by right-clicking and selecting duplicate. Let’s start out by creating a new MakeCode project and call it Farmer.īy default, new projects start with a ||player:on chat command||, but you will need two. You will need to go through the activity and fix the broken code at the end. ![]() The issue is that the code in this activity is only partially complete. With a couple of ||loops:repeat|| loops, you can get your agent to till this. ![]() You have your new garden all planned and need a 2 x 6 plot of perfectly aligned tilled soil. Can you debug this code and figure out where the problems are? Using loops, it would be nice to teach the agent to build a couple of rows of tilled soil where crops could be planted. You want to start farming with your robot agent, but you have a few errors in the instructions. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |