vovafactor.blogg.se

Blocksworld master blocks
Blocksworld master blocks







blocksworld master blocks
  1. #Blocksworld master blocks code#
  2. #Blocksworld master blocks series#
blocksworld master blocks

But be careful: if you use the same action on the two sides, it will do an infinite loop on their line ("fire does fire does fire does fire does.)!Īnother interesting block on the THEN side is "wait", which is a delay or pause. They can also be use for a condition, like "drive does turn left". So, the wheel's actions are only for the wheel, the booster's for the boster, etc. These special actions can only be done by their respective blocks. For example, the wheel can "drive" (go forward), "turn right", "turn left" and "reverse" (go backward). The Action Blocks are some very interesting blocks in the game: they can do actions, as the name shows. If it's not, it will just wait until it does.

#Blocksworld master blocks series#

If you put a series of multiple reactions, the program will read them one by one, and when it finish the line, it will return to the beginning if the condition is always TRUE. You can again put more than one reaction on this section. The biggest problem with these two reactions is that you can't "freeze" a block after it "explodes". As just says, you can't use sensors for the THEN side, but there's some prefab reactions that can be put on any blocks (as the sensors) such as "explode" or "freeze". displayboard searchproblem BlocksWorldProblem (blocksworld) start time.

#Blocksworld master blocks code#

Some players are asking the company for putting at least OR gates, which would make a huge difference.įor the THEN side, they are also some kind of blocks you cannot use, and it's again totally normal (you can't teleport an object by telling the program ".then 'in water' ! "). displayboard Code to run the search problem: gridsize 4: blocksworld BlocksWorld (gridsize, startstate) blocksworld. The only one that exist in this game is AND and is implied by putting a square next to another. Unfortunately, there is no OR or NOT logic gates. That can be very useful if you are using a mix of different kind of squares (like colors and signals), but if you only use one visual kind (such as only colors), your program will never work, because the block can't have more than one color or texture. In Blocksworld's language, it will do "red in water bump does. It will always make a mix of all the conditions, and if they are all TRUE, then the reaction(s) will be executed. You can also put more than one condition just by putting the squares next to the others on the same side of the arrow. If there's no conditions, the program will automatically execute the reaction. There's also some sensors that can be use, such as "bump", "in water" or "tap". But the colors, textures and some prefab actions (for the action blocks) can be put in there. Don't panic, that's totally normal and logical: You cannot put another 3D shape for condition! So, all kind of blocks cannot be use for programmation.

blocksworld master blocks

If you played a little bit with the programmation panel, you will notice that there are some "GUI squares" (the squares in the inventory) that cannot be placed in the programmation box. That's that simple, but you will noticed that it can become VERY complex if you make bigger worlds. So if we mix all this up, it make "if my block is red, then explode", or in the Blocksworld language, "red does explode". The other side, the THEN, are used for reactions, like ".then explode".

blocksworld master blocks

The IF section (on left) is used for a condition, like "if this block is red.". This arrow split the programmation into 2 columns: The IF and the THEN.

  • Test: Place all your test pages here! So we will know that it's normal if your page isn't showing correctly.When you put a block on the map, (by dragging it out of the inventory,) you will see a little box appear with a arrow in that will be write "does" on.
  • They have Concept: in the front of their name.
  • Concepts: Concepts are important, general ideas like enemies, obstacles, and avatars.
  • Other lessons can be found and placed in this category too.
  • Learning: For programming articles teaching people useful programmings, ie special "switches".
  • Programming: All ideas that are about specific ways to program go here AND in Ideas.
  • Ideas: All of your ideas go here, so people can see them too! Place Idea: in front of the name and place in your Profile.
  • Worlds: All your worlds go here, so people can quickly view them.
  • Profile: Make a Category Page (by putting Category: before the page name) with your Blocksworld's profile's name! Put info about what you like to build, and place in Profile Category.
  • Unfinished: Place your unfinished pages here! Don't place worlds pages here, and it is not mandatory, so don't put it here if you don't want to.
  • ONLY ADMINS will put pages in this category. Read this before creating or editing any pages!









    Blocksworld master blocks