suomi: TÄSSÄ KESTI KAUAN!!! TULEE PÄIVITYKSIÄ!!! ohjeet: kun olet "rivi:" kohdassa niin laita rivin numero mihin haluat kirjoittaa koodisi mutta jos kirjoitat siinä /run se suorittaa koodin ja jos /rivi niin se tekee uuden rivin (ÄLÄ JÄTÄ TYHJIÄ RIVIÄ) komennot: -print(jotain tekstiä) laittaa konsoliin tekstiä -input(jokin kysymys) kysyy pelaajalta jotain. -if(answer == "jokin ehto") katsoo onko joku totta. tässä esimerkki tohon: rivi1: input(1+1: ) rivi2: if(answer == "2") rivi3: print(oikein) eli tossa kysyy aluksi "1+1: " sitten kattoo että jos pelaaja vastaa oikein niin silloin tekee if komennnosta seuraavan rivin komennon :) PÄIVITÄN TÄTÄ VIELÄ kiitos english: THIS TOOK A LONG TIME!!! UPDATES TO COME!!! instructions: when you are in the "rivi:" section, put the number of the line where you want to write your code but if you type in it "/run" it executes the code and if "/rivi" it makes a new line (DO NOT LEAVE EMPTY LINES) commands: -print(some text) puts text in the console -input(some question) asks the player something. -if(answer == "some condition") checks if any is true. here is an example of that: row1: input(1+1: ) line2: if(answer == "2") line3: print(correct) i.e. it initially asks "1+1: " then you see that if the player answers correctly, then the if command makes the command of the next line :) I WILL STILL UPDATE THIS thank you
katso forumi tähän liittyen: https://scratch.mit.edu/discuss/topic/685078/?page=1#post-7240413