<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Zhu Lian on Medium]]></title>
        <description><![CDATA[Stories by Zhu Lian on Medium]]></description>
        <link>https://medium.com/@zzulian?source=rss-87476ce2a355------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*lwAoL_cAjNFrqrTPHq5QoQ.jpeg</url>
            <title>Stories by Zhu Lian on Medium</title>
            <link>https://medium.com/@zzulian?source=rss-87476ce2a355------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 22:41:14 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@zzulian/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Tutorial on designing a meta-story: part 2]]></title>
            <link>https://medium.com/@zzulian/tutorial-on-designing-a-meta-story-part-2-db5d9d87c6d0?source=rss-87476ce2a355------2</link>
            <guid isPermaLink="false">https://medium.com/p/db5d9d87c6d0</guid>
            <category><![CDATA[story-model]]></category>
            <category><![CDATA[story-generation]]></category>
            <category><![CDATA[procedural-generation]]></category>
            <dc:creator><![CDATA[Zhu Lian]]></dc:creator>
            <pubDate>Fri, 23 Aug 2019 08:06:56 GMT</pubDate>
            <atom:updated>2019-08-23T08:06:56.996Z</atom:updated>
            <content:encoded><![CDATA[<p>Analysis of a simple example and make it more complexe</p><p>Let’s take again the example used in part 1, which you can find <a href="http://julien-roche.fr/mse/ex1.json">here</a>, after importing it, you should have the four nodes in the table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OjwCx81xXtqBwnXlBCzjLw.jpeg" /></figure><ul><li>The first node named “start” is an entry point into the model. Any node can be used as an entry point. It will be used when generating a story. In this node we simply display a title for the story, here we use an html tag &lt;h1&gt; to display a title. The text indicates that[nom_héros] is an item to be replaced. The content to be replaced by[nom_héros] is specified in the Replace_by section:”[nom_héros]= nom_héros_du”. In the Update_Memory part, we have initialized three variables. Finally, in the Next_Nodes part, we write the name of the next node.</li><li>The second node named “spatioport” contains text, in which two elements will be replaced: [nom_héros_Le] and[nb_androides]. The following possible nodes will be: carburant_assez#carburant_pas_assez, the “#” serves as a separator. This same separator can be used to use several conditions, display different parts of the text, replace several elements or initialize multiple variables.</li><li>The third node named “carburant_assez” is executed according to a certain state of the story memory, i. e. the value of the variable “fuel” must be strictly greater than 0. If this is the case, the node is executed and the text content of the node is displayed. The value of the variable will be displayed in the text.</li><li>The fourth node named “carburant_pas_assez” is executed only if the value of the variable “carburant” is strictly less than 1. only integers can be used for numerical values.</li></ul><p>We now know enough to make the seta-story more complex.</p><h4>Complexify the meta-story</h4><p>We have seen that the model is too simple to generate stories, we will now make it more complex by adding other nodes. To avoid having too many nodes, it may be useful to design a model with loops. To avoid a repetition of the textual content, we can vary it by different means:</p><ul><li>The first way is to display the content of a variable.</li><li>The second way is to use varied sentences that will express the same idea. That is, in the text part of the node we can use the # separator to separate different parts of the text. One of the parts will be displayed randomly.</li></ul><p>Here is the model after modification that you can find <a href="http://julien-roche.fr/mse/ex2.json">here</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/490/1*1brSVSYK7_C7Lb97LMDn-w.jpeg" /></figure><p>With this type of model containing a loop it is now possible to generate “endless” stories with only about forty nodes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*Gtepq5cqh1t_IoyVzHKdcg.jpeg" /></figure><p>It can be noted that there is not much variation in the chapters, to remedy this, it will be enough to increase the number of nodes. The basis of the model is done and it is now easier to complete the model to obtain varied stories.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db5d9d87c6d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tutoriel sur la conception d’une méta-histoire: partie 2]]></title>
            <link>https://medium.com/@zzulian/tutoriel-sur-la-conception-dune-m%C3%A9ta-histoire-partie-2-db195e3e733e?source=rss-87476ce2a355------2</link>
            <guid isPermaLink="false">https://medium.com/p/db195e3e733e</guid>
            <dc:creator><![CDATA[Zhu Lian]]></dc:creator>
            <pubDate>Fri, 23 Aug 2019 07:48:47 GMT</pubDate>
            <atom:updated>2019-08-23T07:48:47.198Z</atom:updated>
            <content:encoded><![CDATA[<h4>Analyse d’un exemple simple et complexification du modèle</h4><p>Reprenons l’exemple utilisé dans la partie 1, que vos pouvez trouvez <a href="http://julien-roche.fr/mse/ex1.json">ici</a>, après l’avoir importé, vous devriez avoir les quatre nœuds dans le tableau:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OjwCx81xXtqBwnXlBCzjLw.jpeg" /></figure><ul><li>Le premier nœud nommé “début” est un point d’entrée dans le modèle. N’importe quel nœud peut être utilisé comme point d’entrée. Il sera utilisé lors de la génération d’une histoire. Dans ce nœud nous affichons simplement un titre pour l’histoire, ici on utilise un tag html &lt;h1&gt; pour afficher un titre. Le texte indique que [nom_héros] est un élément à remplacer. Le contenu à remplacer par [nom_héros] est spécifié dans la partie Replace_by:”[nom_héros]=nom_héros_du”. Dans la partie Update_Memory, on a initialisation de trois variables. Enfin, dans la partie Next_Nodes, il est spécifié le nom du nœud suivant.</li><li>Le deuxième nœud nommé “spatioport” contient du texte, dans lequel sera remplacé deux éléments: [nom_héros_Le] et [nb_androides]. Les nœuds suivants possibles seront: carburant_assez#carburant_pas_assez, le “#” sert de séparateur. Ce même séparateur peut être utilisé pour faire intervenir plusieurs conditions, afficher différentes parties du texte, remplacer plusieurs éléments ou initialiser plusieurs variables.</li><li>Le troisième nœud nommé “carburant_assez” est exécuté en fonction d’un certain état de la mémoire de l’histoire, c’est à dire que la valeur de la variable “carburant” doit être strictement supérieure à 0. Si c’est le cas, le nœud est exécuté et le contenu textuel du nœud est affiché. La valeur de la variable sera affichée dans le texte.</li><li>Le quatrième nœud nommé “carburant_pas_assez” est exécuté seulement si la valeur de la variable “carburant” est strictement inférieure à 1. Seuls des entiers peuvent être utilisés pour les valeurs numériques.</li></ul><p>Nous en savons à présent suffisamment pour complexifier le modèle de l’histoire.</p><h4>Complexifier la méta-histoire</h4><p>Nous avons vu que le modèle est trop simple pour générer des histoires, nous allons à présent le complexifier en ajoutant d’autres nœuds. Pour éviter d’avoir un trop grand nombre de noeuds, il peut être utile de concevoir un modèle avec des boucles. Pour éviter une répétition du contenu textuel, nous pouvons le faire varier par différents moyens:</p><ul><li>Le premier moyen est d’afficher le contenu d’une variable.</li><li>Le deuxième moyen d’utiliser des phrases variées qui exprimeront la même idée. C’est à dire dans la partie textuelle du nœud nous pouvons utiliser le séparateur # pour séparer différentes parties du texte. Une des parties sera affichée aléatoirement.</li></ul><p>Voici le modèle après modification que vous pouvez trouvez <a href="http://julien-roche.fr/mse/ex2.json">ici</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/490/1*1brSVSYK7_C7Lb97LMDn-w.jpeg" /></figure><p>Avec ce type de modèle contenant une boucle il est maintenant possible de générer des histoires “sans fin” avec seulement une quarantaine de noeuds:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/621/1*Gtepq5cqh1t_IoyVzHKdcg.jpeg" /></figure><p>On peut remarquer qu’il n’y a pas beaucoup de variation dans les chapitres, pour y remédier, il suffira d’augmenter le nombre de nœuds. La base du modèle est maintenant posée et il est maintenant plus aisé de compléter le modèle pour obtenir des histoires variées.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db195e3e733e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tutorial on meta-story designing: part 1]]></title>
            <link>https://medium.com/@zzulian/tutorial-on-meta-story-designing-part-1-2f860bd9d9d9?source=rss-87476ce2a355------2</link>
            <guid isPermaLink="false">https://medium.com/p/2f860bd9d9d9</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[story-model]]></category>
            <category><![CDATA[story-generation]]></category>
            <category><![CDATA[procedural-generation]]></category>
            <dc:creator><![CDATA[Zhu Lian]]></dc:creator>
            <pubDate>Wed, 31 Jul 2019 09:57:26 GMT</pubDate>
            <atom:updated>2019-07-31T19:05:11.429Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>What is a meta-story or story model?</blockquote><blockquote>It is an oriented graph made up of narrative nodes, each link that links one narrative node to another can be conditioned on the verification of a state of “story memory”. When several choices are possible, the program randomly selects one. We can see meta-story as a set of paths that can contain loops. A story will be a chosen path in this set. We can also see a story as an instance of its model.</blockquote><blockquote>The difficulty is therefore to create a model that will be used to generate one or more stories by another program.</blockquote><blockquote>Where can I find a meta-story editor?</blockquote><blockquote>There is one online and free to use at the following address:</blockquote><blockquote><a href="https://metastoryeditor.000webhostapp.com/?source=post_page---------------------------">https://metastoryeditor.000webhostapp.com/</a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NJo99uxnS_2F4qQp0ajnZw.jpeg" /></figure><blockquote>In this editor, the meta-story is created using a table where each line represents a narrative node.</blockquote><blockquote>- The first column Node_Name contains the name of the narrative node that must be unique and without space.</blockquote><blockquote>- The second column Check_Memory allows you to check one or more states of the story’s memory.</blockquote><blockquote>- The third column Node_Text contains the narrative text that will be displayed when the node is executed.</blockquote><blockquote>- The fourth column allows you to replace part of the Node_Text text with the content of a memory state.</blockquote><blockquote>- The fifth column Update_Memory is used to update a state of the story memory.</blockquote><blockquote>- And finally, the sixth column Next_Nodes is used to indicate which nodes can be executed next. The program will choose one that is compatible with the state of the story’s memory.</blockquote><blockquote>When executing a story, the state of the memory is going to change.</blockquote><blockquote>In the screenshot below, we can see that the meta-story is composed of 4 nodes: start, spaceport, fuel_enough, fuel_not_enough</blockquote><blockquote>It is possible to have a visualization of the meta-story in the form of a graph:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1fqF2O4UfuWIGEIaHaHskA.jpeg" /></figure><blockquote>How do I save my meta-story?</blockquote><blockquote>The information in the table can be saved in the browser via the “Quick Save” button or exported in json format via the “Export to Json” button.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/846/1*KUHuU9MJr-kwH-59k_uXfQ.jpeg" /></figure><blockquote>Json data that can be saved as a simple text file.<br>Note that only one story can be saved in the browser, you will have to use the export function above to save several of them.</blockquote><blockquote>How to restore a meta-story?</blockquote><blockquote>If the story has been saved in the browser, then simply load it from the “Quick load” button. If a story has been exported, simply copy the contents of the file here:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/431/1*6hZEZpdk902FzhZRMx6HxQ.png" /></figure><blockquote>And click on “Import”, the content of the table will be loaded.</blockquote><blockquote>How to generate a story from a meta-story?</blockquote><blockquote>The table in the editor contains the meta-story data, make sure you have at least a few nodes linked to each other, as in the example. You can import the example above which you can find <a href="http://julien-roche.fr/mse/ex1.json">here</a>.</blockquote><blockquote>Now that the meta-story is imported, we can generate stories, which will certainly be identical because of the simplicity of the model. We must now focus on the “generation” part:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/592/1*iI5I9n03Jl3QB3cLMba6KA.jpeg" /></figure><blockquote>This form will allow you to send the story in Json format to another program to generate a story. The program takes in input the following parameters:</blockquote><blockquote>- the name of the starting node for generating the story</blockquote><blockquote>- the length of the story to be generated in number of nodes</blockquote><blockquote>- optionally a list of nodes to continue generating the story from an existing path</blockquote><blockquote>- display the story in “debugging” mode to know the state of the story’s memory at each execution of a node and display the entire path chosen as a list of nodes</blockquote><blockquote>The first two parameters are mandatory for the generation of a story. If the length of the story is too long compared to the model, the story will stop before.</blockquote><blockquote>This is the result of the generation:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*WkuPG7Uai7FhyIgsEFvFyg.jpeg" /></figure><blockquote>The result of generating a story in debug mode:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/855/1*okGgAlfBASf3rZ8Kde5FFA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2f860bd9d9d9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Tutoriel sur la conception d’une méta-histoire: partie 1]]></title>
            <link>https://medium.com/@zzulian/tutoriel-sur-la-conception-dune-m%C3%A9ta-histoire-partie-1-5fca56d3511f?source=rss-87476ce2a355------2</link>
            <guid isPermaLink="false">https://medium.com/p/5fca56d3511f</guid>
            <category><![CDATA[story-model]]></category>
            <category><![CDATA[procedural-generation]]></category>
            <category><![CDATA[tutoriel]]></category>
            <category><![CDATA[story-generation]]></category>
            <category><![CDATA[story-editor]]></category>
            <dc:creator><![CDATA[Zhu Lian]]></dc:creator>
            <pubDate>Tue, 30 Jul 2019 10:11:15 GMT</pubDate>
            <atom:updated>2019-07-31T09:10:40.434Z</atom:updated>
            <content:encoded><![CDATA[<blockquote><em>Qu’est-ce qu’une méta-histoire ou modèle d’histoire?</em></blockquote><blockquote>Il s’agit en fait d’un graphe orienté constitué de nœuds narratifs, chaque lien qui lie un nœud narratif à un autre peut être conditionné à la vérification d’un état de la “mémoire de l’histoire”. Lorsque plusieurs choix sont possibles, le programme en choisit un aléatoirement. Il faut voir la méta-histoire comme un ensemble de chemins qui peut être constitué de boucles. Une histoire sera un chemin choisi dans cet ensemble. On peut voir aussi une histoire comme une instance de son modèle.</blockquote><blockquote>La difficulté est donc de créer un modèle qui sera utilisé pour générer une ou plusieurs histoires par un autre programme.</blockquote><blockquote><em>Où puis-je trouver un éditeur de méta-histoire?</em></blockquote><blockquote>Il en existe un en ligne et libre d’utilisation à l’adresse suivante:</blockquote><p><a href="https://metastoryeditor.000webhostapp.com/">https://metastoryeditor.000webhostapp.com/</a></p><p><a href="https://metastoryeditor.000webhostapp.com/">Meta-Story / Editor</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NJo99uxnS_2F4qQp0ajnZw.jpeg" /></figure><blockquote>Dans cet éditeur, la méta-histoire est créée grâce à un tableau où chaque ligne représente un nœud narratif. La première colonne <em>Node_Name </em>contient le nom du nœud narratif qui doit être unique et sans espace. La deuxième colonne <em>Check_Memory </em>permet de vérifier un ou plusieurs états de la mémoire de l’histoire. La troisième colonne <em>Node_Text </em>contient le texte narratif qui sera affiché lors de l’exécution du nœud. La quatrième colonne permet de remplacer une partie du texte <em>Node_Text </em>par le contenu d’un état de la mémoire. La cinquième colonne <em>Update_Memory </em>est utilisée pour mettre à jour un état de la mémoire de l’histoire. Et enfin, la sixième colonne <em>Next_Nodes </em>permet d’indiquer quels sont les prochains nœuds pouvant être exécutés. Le programme en choisira un compatible avec l’état de la mémoire de l’histoire. Lors de exécution d’une histoire, l’état de la mémoire de l’histoire est appelé à évoluer.</blockquote><blockquote>Dans la capture d’écran ci-dessous, nous pouvons voir que la méta-histoire est composée de 4 noeuds: début, spatioport, carburant_assez, carburant_pas_assez</blockquote><blockquote>Il est possible d’avoir une visualisation de la méta-histoire sous forme de graphe :</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1fqF2O4UfuWIGEIaHaHskA.jpeg" /></figure><blockquote>Comment sauvegarder ma méta-histoire?</blockquote><blockquote>Les informations présentes dans le tableau peuvent être sauvegardées dans le navigateur via le bouton “Quick Save” ou exportées au format json via le bouton “Export to Json”.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/846/1*KUHuU9MJr-kwH-59k_uXfQ.jpeg" /></figure><blockquote>Du texte au format Json que l’on peut enregistrer dans un simple fichier texte.</blockquote><blockquote>A noter qu’une seule histoire peut être enregistrée dans le navigateur, il faudra utiliser la fonction export ci-dessus pour en sauvegarder plusieurs.</blockquote><blockquote>Comment restaurer une méta-histoire?</blockquote><blockquote>Si l’histoire a été sauvegardée dans le navigateur, alors il suffit de la charger à partir du bouton “Quick load”. Si une histoire a été exportée, il suffit de copier le contenu du fichier ici:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/431/1*bzH-ZdJSWrddY3VMcX1AiA.png" /></figure><blockquote>Et de cliquer sur “Import”, le contenu du tableau sera chargé.</blockquote><blockquote>Comment générer une histoire à partir d‘une méta-histoire?</blockquote><blockquote>Le tableau présent dans l’éditeur contient la méta-histoire, assurez d’avoir au moins quelques nœuds liés entre eux, comme dans l’exemple. Vous pouvez importer l’exemple ci-dessus que vous pouvez trouvez <a href="http://julien-roche.fr/mse/ex1.json">ici</a>.</blockquote><blockquote>Maintenant que la méta-histoire est importée, nous pouvons générer des histoires , qui seront certainement identiques en raison de la simplicité du modèle. Il faut maintenant s’intéresser à la partie “génération”:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/592/1*iI5I9n03Jl3QB3cLMba6KA.jpeg" /></figure><blockquote>Ce formulaire va permettre d’envoyer l’histoire au format Json à un autre programme pour générer une histoire. Le programme prend en entrée les paramètres suivants:</blockquote><blockquote>- le nom du nœud de départ pour génération de l’histoire</blockquote><blockquote>- la longueur de l’histoire à générer en nombre de nœuds</blockquote><blockquote>- optionnellement une liste de nœuds pour continuer la génération de l’histoire à partir d’un chemin existant</blockquote><blockquote>- afficher l’histoire en mode “débogage” pour connaitre l’état de la mémoire de l’histoire à chaque exécution d’un nœud et afficher l’ensemble du chemin choisi sous la forme d’une liste de nœuds</blockquote><blockquote>Les deux premiers paramètres sont obligatoires pour la génération d’une histoire. Si la longueur de l’histoire est trop grande par rapport au modèle, l’histoire s’arrêtera avant.</blockquote><blockquote>Voici le résultat de la génération:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*WkuPG7Uai7FhyIgsEFvFyg.jpeg" /></figure><blockquote>Le résultat de la génération d’une histoire en mode débogage:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/855/1*okGgAlfBASf3rZ8Kde5FFA.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5fca56d3511f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Online Meta-Story Editor(MSE): Tutorial n°4]]></title>
            <link>https://medium.com/@zzulian/online-meta-story-editor-mse-tutorial-n-4-aaf34bfdf956?source=rss-87476ce2a355------2</link>
            <guid isPermaLink="false">https://medium.com/p/aaf34bfdf956</guid>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[story-generation]]></category>
            <category><![CDATA[plot-generator]]></category>
            <category><![CDATA[procedural-generation]]></category>
            <dc:creator><![CDATA[Zhu Lian]]></dc:creator>
            <pubDate>Wed, 19 Jun 2019 13:01:54 GMT</pubDate>
            <atom:updated>2019-06-19T14:43:47.033Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*VdQpJEhZVDYwEW0fFhibtQ.png" /></figure><blockquote>A tutorial that shows how to set dependencies between nodes using an online MSE: <a href="https://metastoryeditor.000webhostapp.com/index.php">https://metastoryeditor.000webhostapp.com/index.php</a></blockquote><h3>1. Get the meta-story created in the previous tutorial:</h3><blockquote>[{“node_name”:”start”,”check_memory”:””,”node_text”:”Recueil d’histoires stellaires auto-générées:”,”replace_by”:””,”update_memory”:”story_count=0&quot;,”next_nodes”:”start_loop”,”\n\t\t\n\t\t”:””},{“node_name”:”start_loop”,”check_memory”:””,”node_text”:”Histoire stellaire n° [story_count]”,”replace_by”:”[story_count]=story_count”,”update_memory”:”story_count+1&quot;,”next_nodes”:”introduction”,”\n\t\t\n\t\t”:””},{“node_name”:”end_of_story”,”check_memory”:””,”node_text”:”Fin de l’histoire.”,”replace_by”:””,”update_memory”:””,”next_nodes”:”start_loop”,”\n\t\t\n\t\t”:””},{“node_name”:”introduction”,”check_memory”:””,”node_text”:”Sur une lointaine planète,#Sur une planète éloignée,#Sur une planète, aux confins de la galaxie,”,”replace_by”:””,”update_memory”:””,”next_nodes”:”something_happens_send_drone”,”\n\t\t\n\t\t”:””},{“node_name”:”something_happens_send_drone”,”check_memory”:””,”node_text”:”une antenne capta un étrange message. Il fut décidé d’envoyer un drone sur le lieu d’émission.#Une station de communication enregistra d’étranges signaux, un drone fût dépêcher sur le lieu d’origine des signaux. “,”replace_by”:””,”update_memory”:””,”next_nodes”:”conclusion_drone_lost”,”\n\t\t\n\t\t”:””},{“node_name”:”conclusion_drone_lost”,”check_memory”:””,”node_text”:”Quelques temps plus tard on perdit tout contact avec le drone.#C’est alors que l’on perdit toute trace du drone.”,”replace_by”:””,”update_memory”:””,”next_nodes”:”end_of_story”,”\n\t\t\n\t\t”:””}]</blockquote><p>Copy this and paste it in the “import Json text field” and you should get:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WiDHKJRitH52pC38bl9nvg.jpeg" /></figure><p>As you can see the two last nodes are strongly dependent on “drone”. if we can have the “conclusion_drone_lost” is because in the previous node “a drone or probe is sent”. There are no more choices right now, so we do not really need to set a dependency between the two nodes but if later we add different “conclusion” it can be useful. Let’s do it:</p><h3>2. Set dependency: update the story memory</h3><p>First we need to update the story memory when the story flow arrives to the node “something_happens_send_drone”. So in the column “<strong>update memory</strong>” we will set: “drone=gone_to_the_unknown_signal”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4PDZEOlByVP_Vsi7nPqJfQ.jpeg" /></figure><h3>3. Check the story memory state during the execution</h3><p>To make that the story is well updated, we will generate a story in debug mode:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/230/1*4B8qF4DAoLCZoVDLo7xUmw.jpeg" /></figure><p>The result is as following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t9QVClBpmMB2KZj8nz0bPw.jpeg" /></figure><p>When the story flow reaches the node “something_happens_send_drone” the story memory is correctly updated.</p><h3>4. Set dependency: verifying statement before entering a node</h3><p>We want to execute the node “conclusion_drone_lost” only if the drone has been sent. So to do that, we will fill in the column “<strong>Check_memory</strong>” by:</p><p>drone=gone_to_the_unknown_signal</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sTlhv5IJ836Lt8EB0QF1bg.jpeg" /></figure><p>So the node “<strong>conclusion_drone_lost</strong>” will be executed only if a drone has been sent. This way we add dependencies between nodes to keep the story coherent.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aaf34bfdf956" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Online Meta-Story Editor(MSE): Tutorial n°3]]></title>
            <link>https://medium.com/@zzulian/online-meta-story-editor-mse-tutorial-n-3-af223ddc939e?source=rss-87476ce2a355------2</link>
            <guid isPermaLink="false">https://medium.com/p/af223ddc939e</guid>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Zhu Lian]]></dc:creator>
            <pubDate>Wed, 19 Jun 2019 11:51:45 GMT</pubDate>
            <atom:updated>2019-06-19T12:04:07.455Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*VdQpJEhZVDYwEW0fFhibtQ.png" /></figure><blockquote>A tutorial that shows how a node can display different text content using an online MSE: <a href="https://metastoryeditor.000webhostapp.com/index.php">https://metastoryeditor.000webhostapp.com/index.php</a></blockquote><h3>1. Get the meta-story created in previous tutorial</h3><p>Here is the smeta-story previously created (from “export to Json” button):</p><blockquote>[{“node_name”:”start”,”check_memory”:””,”node_text”:”Recueil d’histoires stellaires auto-générées:”,”replace_by”:””,”update_memory”:”story_count=1&quot;,”next_nodes”:”start_loop”,”\n\t\t\n\t\t”:””},{“node_name”:”start_loop”,”check_memory”:””,”node_text”:”Histoire stellaire n° [story_count]”,”replace_by”:”[story_count]=story_count”,”update_memory”:”story_count+1&quot;,”next_nodes”:”story_body”,”\n\t\t\n\t\t”:””},{“node_name”:”story_body”,”check_memory”:””,”node_text”:”Corps de l’histoire.”,”replace_by”:””,”update_memory”:””,”next_nodes”:”end_of_story”,”\n\t\t\n\t\t”:””},{“node_name”:”end_of_story”,”check_memory”:””,”node_text”:”Fin de l’histoire.”,”replace_by”:””,”update_memory”:””,”next_nodes”:”start_loop”,”\n\t\t\n\t\t”:””}]</blockquote><p>Copy and paste it in this textfield then click on “import json”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/408/1*LM4Bdyh7xxAji0DAgmqqug.png" /></figure><p>The array of nodes will be automitacally filled in.</p><h3>2. How a node can generate different text content</h3><p>We will use the node “story_body” to generate different text content using the the seperator “#”. This is usually is to express the same idea in different ways, when the node is executed more than one time. here we will use this feature only to generate different text content. If we we have in the field “node_text”: text1#text2#text3# etc. , one of them will be displayed randomly (text1 or text2 or text3 or etc. Let’s try it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*i1YxoGF5lifS7HnQuMgEnQ.png" /></figure><p>If we use only one node to generate different stories, we have a little introduction, then something happens, and a “conclusion”. Each time we generate the story, we only can have two different versions: version 1 and 2. You can see the result when you generate stories:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/371/1*Wka_1cYC5KDU2HiiXxk50w.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4mT-ELUq1ky88b8H73R7Vg.jpeg" /></figure><p>As you can see, it is very limited. That’s why we will split the node “story_body” in different nodes: like “introduction”, “something_happens”, “conclusion”.</p><h3>3. Create more nodes, multiply possibilities</h3><p>As mentionned we are going to create 3 more nodes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/1*8oIwII8jJg7c19HLUQtJeA.jpeg" /></figure><p>Updates “next_nodes” fields:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/204/1*pErIhpiwDicQ4fv5WKZ4TA.jpeg" /></figure><p>Now the node “story_body” is useless, let’s delete it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/45/1*1RLZd5rAsdTuBMNd9TruIw.jpeg" /></figure><p>The table of the meta-story should be like that:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WiDHKJRitH52pC38bl9nvg.jpeg" /></figure><h3>4. Check the story model, check is nodes are well linked with the visualization tool:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*-vLHr6BVckLZxP3UdYjEzg.jpeg" /><figcaption>You should get a story model like here</figcaption></figure><p>Then you can try to generate stories from this model:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/366/1*1aCNnZNfEuHhoGTrJnguhg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/792/1*p9mpVNOiZHH9IJ2AdDzICg.jpeg" /></figure><p>In theses previously created nodes we can set dependencies. That will be the subject of the next tutorial.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=af223ddc939e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Online Meta-Story Editor(MSE): Tutorial n°2]]></title>
            <link>https://medium.com/@zzulian/online-meta-story-editor-mse-tutorial-n-2-1de73bb53b2c?source=rss-87476ce2a355------2</link>
            <guid isPermaLink="false">https://medium.com/p/1de73bb53b2c</guid>
            <category><![CDATA[procedural-story]]></category>
            <category><![CDATA[story-generation]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[procedural-generation]]></category>
            <dc:creator><![CDATA[Zhu Lian]]></dc:creator>
            <pubDate>Wed, 19 Jun 2019 11:50:06 GMT</pubDate>
            <atom:updated>2019-06-19T12:03:35.140Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*VdQpJEhZVDYwEW0fFhibtQ.png" /></figure><blockquote>A tutorial that shows how to include html tags in a story model using the online MSE: <a href="https://metastoryeditor.000webhostapp.com/index.php">https://metastoryeditor.000webhostapp.com/index.php</a></blockquote><h3>1. Get the meta-story created in the first tutorial</h3><p>Here is the meta-story previously created (from “export to Json” button):</p><blockquote>[{“node_name”:”start”,”check_memory”:””,”node_text”:”Recueil d’histoires stellaires:”,”replace_by”:””,”update_memory”:”story_count=1&quot;,”next_nodes”:”start_loop”,”\n\t\t\n\t\t”:””},{“node_name”:”start_loop”,”check_memory”:””,”node_text”:”Histoire stellaire n° [story_count]”,”replace_by”:”[story_count]=story_count”,”update_memory”:”story_count+1&quot;,”next_nodes”:”story_body”,”\n\t\t\n\t\t”:””},{“node_name”:”story_body”,”check_memory”:””,”node_text”:”Corps de l’histoire.”,”replace_by”:””,”update_memory”:””,”next_nodes”:”end_of_story”,”\n\t\t\n\t\t”:””},{“node_name”:”end_of_story”,”check_memory”:””,”node_text”:”Fin de l’histoire.”,”replace_by”:””,”update_memory”:””,”next_nodes”:”start_loop”,”\n\t\t\n\t\t”:””}]</blockquote><p>Copy and paste it in this textfield then click on “import json”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/408/1*LM4Bdyh7xxAji0DAgmqqug.png" /></figure><p>The array of nodes will be automitacally filled in.</p><h3>2. Adding html tags in the text content of nodes for a better displaying</h3><p>To get a better displaying of the story, we can add some html tags: like &lt;b&gt; for bold, &lt;i&gt; for italic, etc.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/658/1*9KShSRpk9tpACvY_hOG41Q.png" /></figure><h3>3. Result</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/374/1*acccO44xXUH94nR51Y9ehA.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1de73bb53b2c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Online Meta-Story Editor(MSE): Tutorial n°1]]></title>
            <link>https://medium.com/@zzulian/online-meta-story-editor-mse-tutorial-n-1-cc3a6067e6b8?source=rss-87476ce2a355------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc3a6067e6b8</guid>
            <category><![CDATA[plot-generator]]></category>
            <category><![CDATA[procedural-generation]]></category>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[story-generation]]></category>
            <dc:creator><![CDATA[Zhu Lian]]></dc:creator>
            <pubDate>Wed, 19 Jun 2019 09:44:52 GMT</pubDate>
            <atom:updated>2019-06-19T09:44:52.716Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/944/1*VdQpJEhZVDYwEW0fFhibtQ.png" /></figure><blockquote>A tutorial that shows how to create a loop in a story model using an online MSE: <a href="https://metastoryeditor.000webhostapp.com/index.php">https://metastoryeditor.000webhostapp.com/index.php</a></blockquote><p><strong><em>Objective: create a loop in order to generate different short stories</em></strong></p><h3>First step: create a start point in the story</h3><p>At this step, the array of story nodes is empty, to create a new one, use:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/56/1*I06fjHhLc1x3kQn4KnrFwA.png" /></figure><p>A new line should appear in the table: fill in as following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8z8IcklovkAEjS4ozdWNWw.png" /></figure><p>The field “Node_Name” contains the name of the node, must be unique without spaces.</p><p>The field “Check_memory” here is empty, so the node can be executed without checking any statement.</p><p>The field “Node_Text” contains the text to display when entering in the node.</p><p>The field “Replace_by” is empty here, it can be used to modify some text content with a variable.</p><p>The field “Update_Memory” here contains: story_count=0, that means we set up a variable called “story_count” and its value is 0.</p><p>The field “Next_Nodes” contains a list of nodes that will be executed after the current node, here just one node: “start_loop”</p><p>The enter point is done, let’s create the node “start_loop”.</p><h3>Second step: the “start_loop” node</h3><p>Create a new node and enter the following values:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*237OdkgIAVhgmTHuz313Cg.png" /></figure><p>The field “Node_Name” contains “start_loop”</p><p>The field “Check_memory” here is empty, that means, no condition needs to be verified to enter in the node.</p><p>The field “Node_Text” contains the text to display when entering in the node. here we only want to display the number of the short story: so in the text we want to replace [story_count] by the value of the variable of “story_count”.</p><p>The field “Replace_by” is here used to indicate that the text [story_count] must be replaced by the value of the variable “story_count”</p><p>The field “Update_Memory”: here want to increment the number of stories by 1, so to do this we write inside the cell: “story_count+1&quot;, at each time we enter in this node the variable story_count will be incremented by 1.</p><p>The field “Next_Nodes” contains “story_body” that means that the story flow continues to the node called “story_body”.</p><p>The initialization of the loop is done.</p><h3>Third step: the story body</h3><p>As it is the first example, we just use one node to display the story body, so in this part we just write: “Corps de l’histoire.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DhH65dLfbAZTjClBgEJjog.png" /></figure><p>Nothing difficult with this node, the name of node is “story_body”, there is no condition needed to enter in this node, the text content of the node is “Corps de l’histoire”, nothing to replace in this text, no memory to update; and the next node is: “end_of_story”.</p><h3>The last step: Ending the current story and go back in the loop</h3><p>When we reached this point, we want to mention that is the end of the current story and we want to begin a new one. So create a new node as following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6qgNiqSPXmJEO19qT5_mmw.png" /></figure><p>The name of this node is “end_of_story” and we only display “Fin de l’histoire”, then we go to: “start_loop”</p><h3>Visualization</h3><p>To see what your story model looks like, you can use the visualization tool:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/112/1*k_95-pkxuHS2cPPq4UcRMg.png" /></figure><p>Your story model should looks like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/924/1*BgpKw3YTci7T2HTxArAg5g.png" /><figcaption>The visualization tool to display the story model</figcaption></figure><h3>Story generation</h3><p>Now, from this story model, we want to generate stories, to do that, you must use the following panel:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/371/1*Wka_1cYC5KDU2HiiXxk50w.png" /></figure><p>You must set the entering point of the story: so here the node “start”, we set a story length (number of nodes that will be executed), for example: 100</p><p>After clicking on “Generate a story” you will get the result:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/414/1*9nAoOor404yyYPs0FfAwrA.png" /></figure><p>To see which decision the engine made to generate the story (here small empties stories), you can use the debug mode.</p><h3>Debug mode</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/240/1*B40NxmX7FgtUuc_JT6Akvg.png" /></figure><p>You can generate a story using the debug mode, it’s a good way to understand the chosen story flow (which node is executed and why), it displays also the content of the story memory:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/953/1*FiuMeDjc2U1HmXK_7XUxuA.png" /></figure><h3>Save/Load your story model</h3><p>To save the story model in your web browser just click on “Quick save”, and “Quick load” to restore it. To save your story model in your hard disk: click on “export Json”, it will display the story model in Json format, then you can save it on your device. To load a Json story model, copy/paste the content of the Json file in the textfield then click on “import Json”, it will load it in the editor.</p><p>We are reaching the end of this tutorial, the next tutorial will be about how to include html tags in the text content of nodes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc3a6067e6b8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A free online story editor and generator]]></title>
            <link>https://medium.com/@zzulian/a-free-online-story-editor-and-generator-ebf98e6c3bc2?source=rss-87476ce2a355------2</link>
            <guid isPermaLink="false">https://medium.com/p/ebf98e6c3bc2</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[procedural-generation]]></category>
            <category><![CDATA[story-generation]]></category>
            <category><![CDATA[php]]></category>
            <dc:creator><![CDATA[Zhu Lian]]></dc:creator>
            <pubDate>Tue, 18 Jun 2019 13:08:57 GMT</pubDate>
            <atom:updated>2019-06-18T13:08:57.860Z</atom:updated>
            <content:encoded><![CDATA[<p>The user creates his story world and define the rules in an online <a href="https://metastoryeditor.000webhostapp.com/index.php">editor</a>. The result is a meta-story in Json format. These data are sent to a server with some parameters like the length of the story, the entering point in the story, etc.</p><p>The meta-story editor is independant from the story generator engine. So different editors can be used but the structure of the json data must be respected.</p><p>The global architecture is as following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ve_P1fm77HI417qH6fqYEw.jpeg" /></figure><h3>Main principle:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*0GPLPQj-bagkOBoh8TLhwg.png" /></figure><p>The meta-story contains a directed graph and rules difined by the user, the story generator engine will choose a compatible path to generate stories from it. Depending the story flow, the story memory is updated and the story content can change according the current state of the memory and the rules.</p><h3>About the editor:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SbfzShKd4824ry7QwwMA6g.jpeg" /><figcaption><a href="https://metastoryeditor.000webhostapp.com/index.php">https://metastoryeditor.000webhostapp.com/index.php</a></figcaption></figure><p>The editor can be freely accessed from <a href="https://metastoryeditor.000webhostapp.com/index.php">here</a>. It’s like filling a table, each row represents a story node and each column a parameter of the node. The goal is to build a directed graph that represents the story world.</p><p>A story node contains the following information:</p><ul><li>Node_Name: A node name that is unique, without space and special characters but (‘-’,’_’,numbers and accent can be used)</li><li>Check_Memory: Condition for node execution, you can check the memory with operators: ‘&lt;’ (less than), ‘&gt;’(greater than), ‘=’(equal), ‘!’(different), you can use ‘#’ to verify more than one condition (similar to the “and” operator) to make a “or” operator you need one more branch in your graph.</li><li>Node_Text: The text content of the node, plain text that will be displayed in the story, you can add html tags to include images.</li><li>Replace_by: You can replace some text to display by an other or variable content, you can use ‘#’ to replace more than one element.</li><li>Update_Memory: Update the story memory: variable name = value, for ex: has_key=yes, the value can be the name of an other variable, available operators: “+ — * /” (to increment: var_name+1) a variable can be used. if you want to set more than one variable you can use ‘#’, for ex: a=0#b=1</li><li>Next_Nodes: The name of the next node, if more than one, node names are seprated by ‘#’.</li></ul><h3>Import/Export</h3><p>The button “Import” makes possible to import a Meta-Story in Json format, the “Export” button open a new window that contains the exported Meta-Story in Json format.</p><h3>Visualizing the story world</h3><p>As the story world is a graph, the editor contains a visualization tool:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/858/1*-vLHr6BVckLZxP3UdYjEzg.jpeg" /></figure><h3>Generate stories</h3><p>Using this html form:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/366/1*1aCNnZNfEuHhoGTrJnguhg.jpeg" /></figure><p>After clicked on the submit button “Generate a story” the meta-story is sent to the server with some parameters for generation purpose. The result is an html page that contains the generated story.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ebf98e6c3bc2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to make a story model/story world]]></title>
            <link>https://medium.com/building-story-worlds-story-models-for-processing/how-to-make-a-story-model-story-world-57c62373e77f?source=rss-87476ce2a355------2</link>
            <guid isPermaLink="false">https://medium.com/p/57c62373e77f</guid>
            <category><![CDATA[storytelling]]></category>
            <category><![CDATA[novel-writing]]></category>
            <category><![CDATA[procedural-generation]]></category>
            <category><![CDATA[story-model]]></category>
            <dc:creator><![CDATA[Zhu Lian]]></dc:creator>
            <pubDate>Wed, 02 May 2018 03:20:27 GMT</pubDate>
            <atom:updated>2018-05-02T03:20:27.259Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>How to make a story model/story world</strong></p><p>We are interesting here to model a story world, the goal is from the model, to generate different stories with a java application called “Java Novel Generator”. (<a href="http://greenorb.free.fr/spip.php?rubrique31">http://greenorb.free.fr/spip.php?rubrique31</a>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*k0_Xhs050yet7JW4SwULXw.jpeg" /><figcaption>The Java Novel Generator</figcaption></figure><p>Some kind of stories are easier to model, for example “Startrek” kind of stories.</p><p>To make a good story model, you have to identify cycles or repetitive schemes.</p><p>For example, we will take zombies/survivor(s) kind of stories, the goal is to survive, find enough foods, so we can identify a cycle:</p><ul><li>during the day, there is an exploration phase with some events</li><li>then a night phase, survivor(s) have rest, eat food, some events can occur during the night</li><li>a new day begins</li></ul><p>You have also to identify when a cycle will stop: the survivors dies because the lack of foods, killed…</p><p>So food here is an important element, when the survivor finds dome foods, we increment FOOD of 1, when he eats, decrement FOOD of 1, if FOOD is less or equal to 0, the survivor dies we break the cycle.</p><p>To prevent repetitive text when executing multiple cycles, you can express the same idea with different words. So, in a node you can use:</p><p>“same idea1#same idea2#same idea3” idea is the same but expressed with some variation and different words, the program will choose randomly one of them. Just use “#” to seperate narrative element.</p><p>Here you can download a zombies/survivor story model (in French): <a href="http://greenorb.free.fr/spip.php?article54">http://greenorb.free.fr/spip.php?article54</a>, that contains only 30 nodes, but the main model is done. You can after make it more complex.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/1*zZfULF6GI5nVEmjnmqrUzA.jpeg" /></figure><p>Here an example of story generated from this model:</p><p>- 1 -</p><blockquote>Le soleil venait de se lever. Le survivant sortit de son refuge et partit explorer les alentours. Il trouva une voiture abandonnée et l’inspecta. Il trouva de la nourriture et de l’eau. Il retourna à son refuge. la nuit venait de tomber. Il mangea puis alla se coucher. Il entendit un bruit de verre cassé et se dirigea vers l’origine du fracas. Il ne vit personne et retourna se coucher. Il dormit paisiblement jusqu’au matin. Le soleil venait de se lever. Le survivant sortit de son refuge et partit explorer les alentours. Il se dirigea vers un immeuble abandonné et l’inspecta. Il trouva un pistolet avec quelques munitions. Il retourna à son refuge. la nuit venait de tomber. Il mangea puis alla se coucher. Il entendit un bruit de verre cassé et se dirigea vers l’origine du fracas. Soudain, un zombie se précipita sur lui. Il prit son pistolet et tira à plusieurs reprises sur le zombie qui s’écroula au sol. Il retourna se coucher. Il dormit paisiblement jusqu’au matin. Une nouvelle journée commençait. Le survivant sortit de son refuge et partit explorer les alentours. Soudain, un zombi se précipita sur lui. Il donna un violent coup de pied, le zombi tomba. Il saisit son pistolet et tira sur le zombi qui s’effondra sur le sol. Il retourna à son refuge. Le soleil venait de se coucher, la nuit tomba. Il mangea puis alla se coucher. Il entendit un bruit de verre cassé et se dirigea vers l’origine du fracas. Soudain, un zombie se précipita sur lui. Il prit son pistolet et tira à plusieurs reprises sur le zombie qui s’écroula au sol. Il retourna se coucher. Il dormit paisiblement jusqu’au matin. Le soleil venait de se lever. Le survivant sortit de son refuge et partit explorer les alentours. Il se dirigea vers un immeuble abandonné et l’inspecta. Il ne trouva rien d’intéressant. Soudain, un zombi se précipita sur lui. Il prit son pistolet et tira à plusieurs reprises sur le zombi qui s’écroula au sol. Il retourna à son refuge. la nuit venait de tomber. Il mangea puis alla se coucher. un zombi brisa une fenêtre et sentit une présence humaine. Il se cacha, mais le zombi le trouva et se précipita sur lui. Il saisit son pistolet et tira sur le qui s’effondra sur le sol. Il retourna se coucher. Il dormit paisiblement jusqu’au matin. Le soleil venait de se lever. Le survivant sortit de son refuge et partit explorer les alentours. Il trouva une voiture abandonnée et l’inspecta. Il trouva de la nourriture et de l’eau. Soudain, un zombi se précipita sur lui. Il mordit notre héros, la morsure fut fatale.</blockquote><p>Notice that only 30 nodes have been written, each node can have more linguistic variation to make the story not repetitive. Here the hero is dead, and the story is finished but in case of the story is not ending, you can continue to grow the story world and continue to generate the story from the last stop.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=57c62373e77f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/building-story-worlds-story-models-for-processing/how-to-make-a-story-model-story-world-57c62373e77f">How to make a story model/story world</a> was originally published in <a href="https://medium.com/building-story-worlds-story-models-for-processing">Building story worlds / story models for processing purpose</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>