<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://fginfo.tech-lab.ch/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://fginfo.tech-lab.ch/feed.php">
        <title>https://fginfo.ksbg.ch Fachgruppe Informatik der KSBG - lehrkraefte:blc:informatik:ffprg1-2024:raster-snake</title>
        <description></description>
        <link>https://fginfo.tech-lab.ch/</link>
        <image rdf:resource="https://fginfo.tech-lab.ch/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-04-05T13:51:37+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://fginfo.tech-lab.ch/doku.php?id=lehrkraefte:blc:informatik:ffprg1-2024:raster-snake:grundlagen&amp;rev=1716449491&amp;do=diff"/>
                <rdf:li rdf:resource="https://fginfo.tech-lab.ch/doku.php?id=lehrkraefte:blc:informatik:ffprg1-2024:raster-snake:init&amp;rev=1716449693&amp;do=diff"/>
                <rdf:li rdf:resource="https://fginfo.tech-lab.ch/doku.php?id=lehrkraefte:blc:informatik:ffprg1-2024:raster-snake:move&amp;rev=1716449715&amp;do=diff"/>
                <rdf:li rdf:resource="https://fginfo.tech-lab.ch/doku.php?id=lehrkraefte:blc:informatik:ffprg1-2024:raster-snake:tail&amp;rev=1716449752&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://fginfo.tech-lab.ch/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>https://fginfo.ksbg.ch Fachgruppe Informatik der KSBG</title>
        <link>https://fginfo.tech-lab.ch/</link>
        <url>https://fginfo.tech-lab.ch/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://fginfo.tech-lab.ch/doku.php?id=lehrkraefte:blc:informatik:ffprg1-2024:raster-snake:grundlagen&amp;rev=1716449491&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-23T07:31:31+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>grundlagen</title>
        <link>https://fginfo.tech-lab.ch/doku.php?id=lehrkraefte:blc:informatik:ffprg1-2024:raster-snake:grundlagen&amp;rev=1716449491&amp;do=diff</link>
        <description>Grundlagen

Bilder

	*  SVG-Bilder im Ordner img. Diese dürfen gerne verändert oder auch durch andere ersetzt werden (auch Rasterformate wie png sind natürlich möglich).
	*  Rotation der Bilder mit CSS in der Datei raster.css mit den Klassen &#039;rot90&#039; etc.</description>
    </item>
    <item rdf:about="https://fginfo.tech-lab.ch/doku.php?id=lehrkraefte:blc:informatik:ffprg1-2024:raster-snake:init&amp;rev=1716449693&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-23T07:34:53+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>init</title>
        <link>https://fginfo.tech-lab.ch/doku.php?id=lehrkraefte:blc:informatik:ffprg1-2024:raster-snake:init&amp;rev=1716449693&amp;do=diff</link>
        <description>Startposition

In der Datei snake.js, in der Funktion reset:

	*  Initialisierung: Schwanz, Körper, Kopf in der Feldmitte. Alles in Richtung 0.
	*  Mit meinRaster.setValue(x,y,v,r) die richtigen Werte am richtigen Ort setzen.

Screencast

Sharepoint (nur für St. Galler) oder einfaches https (weltweit).</description>
    </item>
    <item rdf:about="https://fginfo.tech-lab.ch/doku.php?id=lehrkraefte:blc:informatik:ffprg1-2024:raster-snake:move&amp;rev=1716449715&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-23T07:35:15+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>move</title>
        <link>https://fginfo.tech-lab.ch/doku.php?id=lehrkraefte:blc:informatik:ffprg1-2024:raster-snake:move&amp;rev=1716449715&amp;do=diff</link>
        <description>Bewegen der Schlange

setTimeout

	*  setTimeout(funktionsName, millisekunden) erlaubt es, nach eine bestimmten Zeit (in ms) eine Funktion aufrufen zu lassen.
	*  setTimeout liefert eine id, über die der zukünftige Aufruf gestoppt werden kann. -&gt; Speichern in Variable</description>
    </item>
    <item rdf:about="https://fginfo.tech-lab.ch/doku.php?id=lehrkraefte:blc:informatik:ffprg1-2024:raster-snake:tail&amp;rev=1716449752&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-05-23T07:35:52+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>tail</title>
        <link>https://fginfo.tech-lab.ch/doku.php?id=lehrkraefte:blc:informatik:ffprg1-2024:raster-snake:tail&amp;rev=1716449752&amp;do=diff</link>
        <description>Schwanz nachziehen

Grundidee: Alle Positionen (und Richtungen!) des Schlangenkörpers in einem Array positions speichern. Einträge entsprechend entfernen und hinzufügen. Konvention: Kopf an Position 0, Schwanz an letzter Stelle.

Einträge sollen Objects der Form</description>
    </item>
</rdf:RDF>
