I'm working with BYOB in my programming class (we used Scratch earlier), and our assignment is to make a 'game board'.
Link to what our teacher is asking of us: http://sage.cs.berkeley.edu/mod/resource/view.php?id=12745
Basically, she's asking to make a block that takes a list, x AND y variables. I'm completely lost, and our teacher won't help us so we can 'learn'. Any help is appreciated!
TO LOGIN, SIMPLY CLICK 'LOGIN AS GUEST' BELOW THE USERNAME/PASSWORD FIELD
Offline
Okay. Let me provide what assistance I can. This block will need three parameters: a list and two integers. Now, the first thing you want to do is clear the list. There might, for some reason, already be values there. The list will then have "rows" added to it which are basically strings consisting of x "B"s. You are to add y of them. So, calculate the value of the rows by repeated concatenation, and then repeatedly add it to the list y times.
Last edited by lalala3 (2013-02-19 19:08:39)
Offline