<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="https://peda.net/:static/532/atom.xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Matopeli</title>
<id>https://peda.net/id/0c9801182a9</id>
<updated>2021-10-11T18:34:04+03:00</updated>
<link href="https://peda.net/id/0c9801182a9:atom" rel="self" />
<link href="https://peda.net/p/annakaisa.markkanen/scratch-peleja/matopeli-helpompi-versio#top" rel="alternate" />
<logo>https://peda.net/:static/532/peda.net.logo.bg.svg</logo>
<rights type="html">&lt;div class=&quot;license&quot;&gt;Tämän sivun lisenssi &lt;a rel=&quot;license&quot; href=&quot;https://peda.net/info&quot;&gt;Peda.net-yleislisenssi&lt;/a&gt;&lt;/div&gt;&#10;</rights>

<entry>
<title>Scratch - Matopeli</title>
<id>https://peda.net/id/e5e3ed0e2aa</id>
<updated>2021-10-11T21:08:21+03:00</updated>
<link href="https://peda.net/p/annakaisa.markkanen/scratch-peleja/matopeli-helpompi-versio/teksti#top" />
<content type="html">&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335551550&quot;:2,&quot;335551620&quot;:2,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt;Pelien ohjelmointi tapahtuu Scratch-ohjelmalla osoittessa &lt;a href=&quot;https://scratch.mit.edu/&quot; rel=&quot;nofollow ugc noopener&quot;&gt;https://scratch.mit.edu/&lt;/a&gt; &lt;br/&gt;&#10;Sinun ei tarvitse opea varten tallentaa tekemiäsi pelejä (näytä valmiit pelit kuitenkin aina opelle!), mutta jos haluat ne itsellesi talteen, rekisteröidy/kirjaudu Scratchiin ennen uuden työn aloittamista.&lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;span class=&quot;editor underline&quot;&gt;&lt;b&gt;Matopeli&lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;/b&gt;&lt;/span&gt;Olet varmasti joskus pelannut tai ainakin kuullut jotain matopelistä? Ennen älypuhelimia kännyköistä löytyi yleensä enintään muutama peli, yksi niistä lähes aina matopeli. Matopelin idea on yksinkertainen: Madolla kerätään ruokaa, jolloin mato kasvaa, ja yritetään pysyä mahdollisimman pitkään hengissä. Alla voit testata yksinkertaista matopeliä. Sitten vaan tekemään omaa!&lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;iframe src=&quot;https://scratch.mit.edu/projects/582337784/embed&quot; width=&quot;485&quot; height=&quot;402&quot; allowfullscreen=&quot;allowfullscreen&quot;&gt;&lt;/iframe&gt;​&lt;br/&gt;&#10;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;&lt;br/&gt;&#10;Aloita luomalla pelille haluamasi tausta. Voit valita valmiin taustakuvan tai piirtää taustan itse.&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt;&lt;a href=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/matopeli-helpompi-versio/teksti/1.jpg3#top&quot; title=&quot;1.JPG&quot;&gt;&lt;img src=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/matopeli-helpompi-versio/teksti/1.jpg3:file/photo/0e928140ef5e53791ed09374b26efd3c93c4302c/1.JPG&quot; alt=&quot;&quot; title=&quot;1.JPG&quot; class=&quot;inline&quot; loading=&quot;lazy&quot;/&gt;&lt;/a&gt;&lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Seuraavaksi luodaan mato. Grafiikasta kannattaa tehdä mahdollisimman yksinkertainen. Luo uusi hahmo valitsemalla Piirrä-työkalu&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt;&lt;a href=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/matopeli-helpompi-versio/teksti/2.jpg2#top&quot; title=&quot;2.JPG&quot;&gt;&lt;img src=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/matopeli-helpompi-versio/teksti/2.jpg2:file/photo/8be9ad58a05e4028f3b3f5de7389f69b5ca6e610/2.JPG&quot; alt=&quot;&quot; title=&quot;2.JPG&quot; class=&quot;inline&quot; loading=&quot;lazy&quot;/&gt;&lt;/a&gt;&lt;br/&gt;&#10;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Piirrä madoksi haluamasi värinen pallo.&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt;&lt;a href=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/matopeli-helpompi-versio/teksti/3.jpg2#top&quot; title=&quot;3.JPG&quot;&gt;&lt;img src=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/matopeli-helpompi-versio/teksti/3.jpg2:file/photo/0907a74a426ccf497285d8f29ad271d662c29da1/3.JPG&quot; alt=&quot;&quot; title=&quot;3.JPG&quot; class=&quot;inline&quot; loading=&quot;lazy&quot;/&gt;&lt;/a&gt;&lt;br/&gt;&#10;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Seuraavaksi ohjelmoidaan madon liikettä. Matoa ohjataan nuolinäppäimillä. Ohjelmoi mato kääntymään nuolinäppäimillä ylös, oikealle, alas ja vasemmalle.&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;a href=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/matopeli-helpompi-versio/teksti/4.jpg#top&quot; title=&quot;4.JPG&quot;&gt;&lt;img src=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/matopeli-helpompi-versio/teksti/4.jpg:file/photo/cf05c8475841d750317ed9587162a5d33ef5209a/4.JPG&quot; alt=&quot;&quot; title=&quot;4.JPG&quot; class=&quot;inline&quot; loading=&quot;lazy&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Asetetaan mato lähtemään sijainnista (0,0), kun painetaan vihreää lippua. Tämän jälkeen luodaan ikuisesti –silmukka, jolla saadaan mato pysymään liikkeellä. Tässä välissä voit jo kokeilla, miten peli toimii. Mitä tapahtuu, jos muutat askelten lukumäärää suuremmaksi?&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt;&lt;a href=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/matopeli-helpompi-versio/teksti/5.jpg#top&quot; title=&quot;5.JPG&quot;&gt;&lt;img src=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/matopeli-helpompi-versio/teksti/5.jpg:file/photo/4eb45472ad2f56491b08f623cdefc48e9c38e841/5.JPG&quot; alt=&quot;&quot; title=&quot;5.JPG&quot; class=&quot;inline&quot; loading=&quot;lazy&quot;/&gt;&lt;/a&gt;&lt;br/&gt;&#10; &lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Seuraavaksi haluamme muuttaa pallon madoksi. Se tapahtuu luomalla madosta kloonin, joka poistuu hetken päästä. Kokeile taas tässä vaiheessa miltä peli näyttää. Mitä tapahtuu, kun aikaa muutetaan?&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;a href=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/matopeli-helpompi-versio/teksti/6.jpg#top&quot; title=&quot;6.JPG&quot;&gt;&lt;img src=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/matopeli-helpompi-versio/teksti/6.jpg:file/photo/614f8f4528b2bf44afee63d62da7c646829988cf/6.JPG&quot; alt=&quot;&quot; title=&quot;6.JPG&quot; class=&quot;inline&quot; loading=&quot;lazy&quot;/&gt;&lt;/a&gt;&lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Sitten siirrytään luomaan madolle ruokaa. Voit valita madon ruoaksi jonkun valmiin hahmon (omena, donitsi, tms) tai piirtää itse muodon (ympyrä, neliö, tms).&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;a href=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/matopeli-helpompi-versio/teksti/7.jpg#top&quot; title=&quot;7.JPG&quot;&gt;&lt;img src=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/matopeli-helpompi-versio/teksti/7.jpg:file/photo/34833a0688e6618b48d939df8a751e26fcab7196/7.JPG&quot; alt=&quot;&quot; title=&quot;7.JPG&quot; class=&quot;inline&quot; loading=&quot;lazy&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt;&lt;br/&gt;&#10; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Siirrytään ohjelmoimaan ruokaa. Luodaan taas ikuisesti –silmukka ja ohjelmoidaan ruoka ilmestymään satunnaiseen sijaintiin niin, että aina kun mato koskettaa ruokaa, se ilmestyy uuteen paikkaan.&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;a href=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/matopeli-helpompi-versio/teksti/8.jpg#top&quot; title=&quot;8.JPG&quot;&gt;&lt;img src=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/matopeli-helpompi-versio/teksti/8.jpg:file/photo/581b77f57d10970c9dacd7914d8d07289381579e/8.JPG&quot; alt=&quot;&quot; title=&quot;8.JPG&quot; class=&quot;inline&quot; loading=&quot;lazy&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Kokeile tässä välissä taas, toimiiko peli.&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Seuraavaksi haluamme saada madon kasvamaan aina sen koskettaessa ruokaa. Luodaan muuttujat –kohdasta ‘Tee muuttuja’-komennolla uusi muuttuja nimeltä ‘madon koko’.&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Aseta ensin madon koodiin muuttujalle madon koko haluamasi alkuarvo&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt;&lt;a href=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/matopeli-helpompi-versio/teksti/9.jpg#top&quot; title=&quot;9.JPG&quot;&gt;&lt;img src=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/matopeli-helpompi-versio/teksti/9.jpg:file/photo/4d8ebeb395635c19e3228f811d5f353f273992ac/9.JPG&quot; alt=&quot;&quot; title=&quot;9.JPG&quot; class=&quot;inline&quot; loading=&quot;lazy&quot;/&gt;&lt;/a&gt; &lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Sen jälkeen lisätään ruoan koodiin ohje, että muuttuja ‘madon koko’ kasvaa joka kerta, kun mato koskettaa ruokaa.&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;a href=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/matopeli-helpompi-versio/teksti/10.jpg#top&quot; title=&quot;10.JPG&quot;&gt;&lt;img src=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/matopeli-helpompi-versio/teksti/10.jpg:file/photo/a548bb8e0e4a7ca9a21d9116323ab1c968b327a9/10.JPG&quot; alt=&quot;&quot; title=&quot;10.JPG&quot; class=&quot;inline&quot; loading=&quot;lazy&quot;/&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Voit taas tässä välissä kokeilla, toimiiko peli.&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt; &lt;br/&gt;&#10;&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Mato ei taida vielä kasvaa? Mato saadaan kasvamaan niin, että koodataan madon klooni odottamaan tietyn ajan sijaan muuttujan ‘madon koko’ verran. Tällöin joka kerta kun mato koskee ruokaa, muuttuja ‘madon koko’ kasvaa, ja tällöin klooni säilyy pidempään ennen poistumistaan.&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;a href=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/matopeli-helpompi-versio/teksti/11.jpg#top&quot; title=&quot;11.JPG&quot;&gt;&lt;img src=&quot;https://peda.net/p/annakaisa.markkanen/scratch-peleja/matopeli-helpompi-versio/teksti/11.jpg:file/photo/6c254c0d7f84821f9870ef4433ab0c5951ff46ba/11.JPG&quot; alt=&quot;&quot; title=&quot;11.JPG&quot; class=&quot;inline&quot; loading=&quot;lazy&quot;/&gt;&lt;/a&gt;&lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Kokeile, toimiiko peli nyt?&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt; &lt;br/&gt;&#10;&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;&lt;b&gt;HIENOA&lt;/b&gt;, olet saanut tehtyä oman matopelisi! Näytä valmis peli opelle!&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;/span&gt;&lt;/p&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Lisää ideoita matopeliin:&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li aria-setsize=&quot;-1&quot;&gt;&lt;!--filtered attribute: data-leveltext=&quot;-&quot;--&gt;&lt;!--filtered attribute: data-font=&quot;Calibri&quot;--&gt;&lt;!--filtered attribute: data-listid=&quot;2&quot;--&gt;&lt;!--filtered attribute: data-aria-posinset=&quot;1&quot;--&gt;&lt;!--filtered attribute: data-aria-level=&quot;1&quot;--&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Tee peliin uusi muuttuja ‘pisteet’ ja ohjelmoi pisteenlasku niin, että mato saa aina pisteen, kun saa ruoan syötyä.&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;ul&gt;&#10;&lt;li aria-setsize=&quot;-1&quot;&gt;&lt;!--filtered attribute: data-leveltext=&quot;-&quot;--&gt;&lt;!--filtered attribute: data-font=&quot;Calibri&quot;--&gt;&lt;!--filtered attribute: data-listid=&quot;3&quot;--&gt;&lt;!--filtered attribute: data-aria-posinset=&quot;1&quot;--&gt;&lt;!--filtered attribute: data-aria-level=&quot;1&quot;--&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Voit ohjelmoida pelin loppumaan, jos mato törmää reunaan. Ohjelmoi tällöin mato sanomaan esim. “Game over!”&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;ul&gt;&#10;&lt;li aria-setsize=&quot;-1&quot;&gt;&lt;!--filtered attribute: data-leveltext=&quot;-&quot;--&gt;&lt;!--filtered attribute: data-font=&quot;Calibri&quot;--&gt;&lt;!--filtered attribute: data-listid=&quot;4&quot;--&gt;&lt;!--filtered attribute: data-aria-posinset=&quot;1&quot;--&gt;&lt;!--filtered attribute: data-aria-level=&quot;1&quot;--&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Lisäksi voit luoda vielä kolmannen muuttujan, joka ilmestyy satunnaisesti ja johon mato ei saa koskea. Jos mato koskee tähän muuttujaan, peli päättyy.&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;ul&gt;&#10;&lt;li aria-setsize=&quot;-1&quot;&gt;&lt;!--filtered attribute: data-leveltext=&quot;-&quot;--&gt;&lt;!--filtered attribute: data-font=&quot;Calibri&quot;--&gt;&lt;!--filtered attribute: data-listid=&quot;4&quot;--&gt;&lt;!--filtered attribute: data-aria-posinset=&quot;2&quot;--&gt;&lt;!--filtered attribute: data-aria-level=&quot;1&quot;--&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Pelistä saat kaksinpelin, jos luot toisen hahmon (madon), jota liikutellaan esimerkiksi kirjaimilla. Haasta kaverisi peliin - kumpiko saa enemmän pisteitä tietyssä ajassa!&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;134233279&quot;:true,&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;p&gt;&lt;span&gt;&lt;!--filtered attribute: data-contrast=&quot;auto&quot;--&gt;Keksitkö vielä jotain muuta lisää matopeliin? Esittele ideasi ja valmis pelisi opelle!&lt;/span&gt;&lt;span&gt;&lt;!--filtered attribute: data-ccp-props=&quot;{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}&quot;--&gt; &lt;/span&gt;&lt;/p&gt;&#10;</content>
<published>2021-10-11T18:42:53+03:00</published>
</entry>


</feed>