{"id":140,"date":"2012-04-24T16:50:38","date_gmt":"2012-04-24T14:50:38","guid":{"rendered":"https:\/\/herr-rau.de\/blogs\/inform\/?p=140"},"modified":"2012-04-28T11:12:09","modified_gmt":"2012-04-28T09:12:09","slug":"kapitel-6-veroeffentlichen","status":"publish","type":"post","link":"https:\/\/herr-rau.de\/blogs\/inform\/?p=140","title":{"rendered":"Kapitel 6: Feinarbeiten und Ver\u00f6ffentlichen"},"content":{"rendered":"<p>Es ist sch\u00f6n, eine <strong>Einf\u00fchrung<\/strong> ins Spiel zu haben. Deshalb sollte es eine Regel geben, die am Anfang das Spiel etwas vorstellt:<\/p>\n<pre class=\"brush: inform7; title: ; notranslate\" title=\"\">When play begins, say &quot;Welcome to my game ! :-* .. &#x5B;line break]I hope you know the story about the wolf and the seven little kids. You are playing the wolf. Your job is to get into the kids' house and to eat all seven kids! You can use a map of the world, which helps you to orient yourself. &#x5B;line break]&quot;\r\n<\/pre>\n<hr\/>\n<p>Au\u00dferdem sollte irgendwann klar sein, wann das Spiel eigentlich <strong>beendet<\/strong> ist. Irgendeine Regel sollte dazu den Code enthalten:<\/p>\n<pre class=\"brush: inform7; title: ; notranslate\" title=\"\"> &#x5B;...] end the story saying &quot;You have won!&quot;<\/pre>\n<p>Das k\u00f6nnte man \u00fcber eine globale Variable oder wieder \u00fcber ein Attribut des Wolfs machen:<\/p>\n<pre class=\"brush: inform7; title: ; notranslate\" title=\"\">The player has a number called kids-eaten. Kids-eaten of the player is 0.\r\n\r\nInstead of eating a goat-kid:\r\n\tSay &quot;That was nice.&quot;;\r\n\tIncrease kids-eaten of the player by one;\r\n\tRemove the noun from play;\r\n\tIf kids-eaten of the player is 7:\r\n\t\tend the story saying &quot;Hey! You won, you evil wolf.&quot;\r\n<\/pre>\n<p>Wir \u00fcberpr\u00fcfen nur beim Essen, ob die n\u00f6tige Anzahl erreicht wird, aber das reicht bei unserem Spiel ja auch. Sonst m\u00fcsste man die Siegbedingung in einer Every-turn-Regel abfragen.<\/p>\n<hr\/>\n<p>Wenn das Spiel fertig ist, kann man es <strong>ver\u00f6ffentlichen<\/strong>. Dazu klickt man auf den Release-Knopf, und im Materials-Ordner erscheint eine \u00fcbersetzte Datei im Format .zblorb oder .z5 oder .z8 &#8211; diese Datei kann man jetzt weitergeben, und jeder mit einem Inform-Interpreter kann die Datei dann abspielen.<\/p>\n<p>Die Luxusvariante sieht allerdings so aus, dass man folgenden Code eingibt:<\/p>\n<pre class=\"brush: inform7; title: ; notranslate\" title=\"\">Release along with an interpreter, the source text, the introductory booklet, and a website.<\/pre>\n<p>Dann entsteht beim Release nicht nur die z-Datei, sondern eine HTML-Seite dazu, die die z-Datei zum Download anbietet, und ein Javascript-Interpreter, damit man das Spiel gleichauf der Webseite spielen kann, und eine pdf-Datei, die erkl\u00e4rt, wie das Spiel funktioniert, ist auch dabei. Die Elemente sind jeweils optional.<\/p>\n<p><a href=\"http:\/\/www.herr-rau.de\/inform7\/geisslein\/\">Das sieht dann insgesamt so aus.<br \/>\n<\/a><br \/>\nWer will, kann noch mehr Material zur Verf\u00fcgung stellen:<\/p>\n<pre class=\"brush: inform7; title: ; notranslate\" title=\"\">Release along with an interpreter, the source text, the introductory booklet, a website, cover art and a file of &quot;Landkarte&quot; called &quot;map.odg&quot;.<\/pre>\n<p>Dazu m\u00fcssen die Dateien &#8220;Cover.jpg&#8221; oder &#8220;Cover.png&#8221; (empfohlen: 960&#215;960 Pixel) und &#8220;Small Cover.jpg&#8221; oder &#8220;Small Cover.png&#8221; (empfohlen: 120&#215;120 Pixel) im Materials-Ordner sein, ebenso eine Datei &#8220;map.odg&#8221; &#8211; k\u00f6nnte nat\u00fcrlich auch pdf oder mp3 sein.<\/p>\n<p>Und jetzt der gesamte Quelltext:<\/p>\n<pre class=\"brush: inform7; title: ; notranslate\" title=\"\">\r\n\r\n&quot;The Wolf and the Seven Kids&quot; by Moritz.\r\n\r\nWhen play begins, say &quot;Welcome to my game ! :-* .. &#x5B;line break]I hope you know the story about the wolf and the seven little kids. You are playing the wolf. Your job is to get into the kids' house and to eat all seven kids! You can use a map of the world, which helps you to orient yourself. &#x5B;line break]&quot;\r\n\r\nRelease along with an interpreter, the source text, the introductory booklet, and a website.\r\n\r\n&#x5B;Release along with an interpreter, the source text, the introductory booklet, a website, cover art and a file of &quot;Landkarte&quot; called &quot;Map.odg&quot;. ]\r\n\r\n&#x5B;Dazu m\u00fcssen die Dateien &quot;Cover.jpg&quot; oder &quot;Cover.png&quot; (empfohlen: 960x960 Pixel) und &quot;Small Cover.jpg&quot; oder &quot;Small Cover.png&quot; (empfohlen: 120x120 Pixel) im Materials-Ordner sein, ebenso eine Datei &quot;Map.odg&quot; - k\u00f6nnte nat\u00fcrlich auch pdf oder mp3 sein.]\r\n\r\n\r\nThe Wolf Cave is a room. &quot;Here is your home. You got nearly everything in this cave that you need to invade the seven little kids. Light comes in from the west.&quot; West of the Wolf Cave is the Forest.\r\n\r\nThe Forest is a room. &quot;This place is very large and it is dark here. You can go north, east, south and west. You can hear birds singing.&quot; South of the Forest is the Marketplace. West of the Forest is the Entrance Area. North of the Forest is the River.\r\n\r\nThe River is a room. &quot;Here is a place where you can relax. Every time you did hard work, you can lie down next to the river and chill. A road leads south to a forest.&quot;\r\n\r\nThe Marketplace is a room. &quot;You should not stay here for too long, because the mother of the kids is often here to buy some food. If she sees you, she will bump the shit out of you. In the north, you can see the trees of the forest.&quot;\r\n\r\nThe Entrance Area is a room. &quot;Now you are in front of the house where the kids live. You have to go west to enter the house, or you can go east to the forest.&quot; West of the Entrance Area is the Kid House.\r\n\r\nThe Kid House is a room. &quot;A nice house. There is only one room, and the exit is west.&quot;\r\n\r\nThe red hoodie is a thing. It is wearable. It is in the Wolf Cave. The description is &quot;This is a red hoodie. A hoodie is a sweater with a hood.&quot;\r\n\r\nThe black hoodie is a thing. It is wearable. It is in the Wolf Cave. The description is &quot;This is a black hoodie. A hoodie is a sweater with a hood.&quot;\r\n\r\nThe white hoodie is a thing. It is wearable. It is in the Wolf Cave. The description is &quot;This is a white hoodie. A hoodie is a sweater with a hood.&quot;\r\n\r\nThe piece of chalk is a thing. It is in the Marketplace. It is edible. The description is &quot;Here is some chalk. You can use it, to write on a blackboard. If you eat it, your voice will get temporarily high and female.&quot;\r\n\r\nThe dripping cave ceiling is scenery in the Wolf Cave. The description is &quot;There are drops at the ceiling. The whole cave is very wet and you can hear the drops hitting the ground.&quot;\r\n\r\nThe trees are scenery in the Forest. The description is &quot;Lots of trees, some old, some new. Some have hearts cut into them.&quot; Understand &quot;tree&quot; as the trees.\r\n\r\nThe birds are scenery in the Forest. The description is &quot;Small bodies that hop from tree to tree.&quot;\r\n\r\nA goat-kid is a kind of thing. It is always edible. The description usually is &quot;A poor, helpless little kid. Baaa-ahh.&quot; The indefinite article is &quot;the&quot;.\r\n\r\nThe first kid, the second kid, the third kid, the fourth kid, the fifth kid, the sixth kid and the seventh kid are goat-kids in the Kid House.\r\n\r\nPitch is a kind of value. The pitches are high, middle and low.\r\nThe player has a pitch called voice. The voice of the player is low.\r\n\r\nThe player has a number called kids-eaten. Kids-eaten of the player is 0.\r\n\r\nInstead of eating a goat-kid:\r\n\tSay &quot;That was nice.&quot;;\r\n\tIncrease kids-eaten of the player by one;\r\n\tRemove the noun from play;\r\n\tIf kids-eaten of the player is 7:\r\n\t\tend the story saying &quot;Hey! You won, you evil wolf.&quot;\r\n\r\nInstead of going west from the Entrance Area:\r\n\tIf the player is wearing the white hoodie:\r\n\t\tIf the voice of the player is low:\r\n\t\t\tSay &quot;You can't go through there. From inside, you hear voices shouting: 'No, you don't sound like our mother.'&quot;; &#x5B;Strichpunkt nicht vergessen]\r\n\t\tOtherwise:\r\n\t\t\tContinue the action;\r\n\t\t\t&#x5B;regul\u00e4r weitermachen, also den Spieler bewegen]\r\n\tOtherwise:\r\n\t\tSay &quot;You can't go through there. From inside, you hear voices shouting: 'No, you're not our mother. Our mother has got white skin.'&quot;\r\n\r\nInstead of eating the piece of chalk:\r\n\tNow the voice of the player is high;\r\n\tSay &quot;You feel a bit funny.&quot;;\r\n\tRemove the chalk from play.<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Es ist sch\u00f6n, eine Einf\u00fchrung ins Spiel zu haben. Deshalb sollte es eine Regel geben, die am Anfang das Spiel etwas vorstellt: When play begins, say &quot;Welcome to my game ! :-* .. &#x5B;line break]I hope you know the story &hellip; <a href=\"https:\/\/herr-rau.de\/blogs\/inform\/?p=140\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1305],"tags":[],"class_list":["post-140","post","type-post","status-publish","format-standard","hentry","category-schnellkurs-1"],"_links":{"self":[{"href":"https:\/\/herr-rau.de\/blogs\/inform\/index.php?rest_route=\/wp\/v2\/posts\/140","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/herr-rau.de\/blogs\/inform\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/herr-rau.de\/blogs\/inform\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/herr-rau.de\/blogs\/inform\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/herr-rau.de\/blogs\/inform\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=140"}],"version-history":[{"count":0,"href":"https:\/\/herr-rau.de\/blogs\/inform\/index.php?rest_route=\/wp\/v2\/posts\/140\/revisions"}],"wp:attachment":[{"href":"https:\/\/herr-rau.de\/blogs\/inform\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/herr-rau.de\/blogs\/inform\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/herr-rau.de\/blogs\/inform\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}