This provides a helper block for getting the max of a list (given some mapping function): 0_1582317408775_max-using-fn.zip
Posts made by brian
Custom block for "Get max of list given mapping function"
RE: Setting up robots with the Robot Control Center
I think you may have already figured this out (since you reached out via email :) ) but I figured I would post some links in case they can be helpful (to you and others with similar questions)!
If you have any remaining questions, don't hesitate to post here or send us an email!
RE: How i import scratch projects?
Unfortunately, we don't support importing Scratch projects into NetsBlox. However, projects created in Snap! (v4.x) should be able to be imported directly into NetsBlox without issue.
That said, I have seen some other projects, such as Snapin8r2 which might be able to convert the Scratch project into a Snap! project. If it is able to convert the Scratch project into a Snap! project (without any of the OOP blocks), we should be able to import it into NetsBlox!
RE: Sending messages not working
Can you double-check that the second role has code to have the sprite say hi when it receives a message? I suspect the issue is that roles do not share code, sprites, costumes, etc. If you are familiar with Snap! and/or Scratch, a role is like an independent project in either of those languages.
In other words, it sounds like the first role contains all the code but the second role is an empty project (so the sprite won't say hi when it receives a message).
The easiest way to fix this problem would be to add a message handler in the second role which has the sprite say hi upon receiving the message. (You could also use the "Duplicate" option from the room tab when creating the role which will create the role from a copy of the first role.)
Hopefully this helps!
RE: how to communicate online using netsblox
Communication between different applications (either NetsBlox projects or roles) is possible by sending messages over the network (using the blocks under the "Network" tab in the palette). These messages could be used for many different things in a project such as sending chat messages in a chat application or notifying other players of game events (scoring points, player movement, etc).
Rooms in NetsBlox can help with messaging by detecting if other clients ("roles") are online and to facilitate debugging by recording messages sent over the network. The roles in a room are also used to populate the dropdown in the "send msg __ to __" block.
What type of communication are you thinking about? Does this help answer your question?
RE: Implementing a SHA-256 hashing algorithm?
RE: Work Lost
Sorry for the trouble. If you could email me the usernames and project names of the students with missing work, I would be happy to look into it! My email is firstname.lastname@example.org.
We also make frequent backups so even if there was a bug in the system (although I don't know of any current saving issues), we would be happy to retrieve the latest backup of the student's project.