]> OzVa Git service - conf-dialer/commitdiff
Added routing doc and pannel link
authorMax Value <greenwoodw50@gmail.com>
Thu, 19 Feb 2026 16:21:32 +0000 (16:21 +0000)
committerMax Value <greenwoodw50@gmail.com>
Thu, 19 Feb 2026 16:21:32 +0000 (16:21 +0000)
.gitignore
dialer.py
templates/panel.html
templates/routing.html [new file with mode: 0644]

index fa9cbd21c22b946bfb579f8bbd27c09f2184c84e..a74329ad4bb13d16b83e47f3ee741cf59cc3b8d4 100644 (file)
@@ -2,3 +2,4 @@
 __pycache__/
 dialer.egg-info/
 secrets.json
+build/
index edc14eb9b2e04fc3574cde00d851cb1e7b577121..659f5e666f1544cd3918530e4603f90721188424 100755 (executable)
--- a/dialer.py
+++ b/dialer.py
@@ -54,7 +54,10 @@ def main():
 
        return render_template("panel.html", data=data)
 
-
+@app.route("/routing")
+@auth.login_required
+def routing():
+       return render_template("routing.html")
 
 # ==============================================================================
 # UTILS
index 134d2e3c6a7f09df7ba064020a781859a1ba32f6..2fa28988142d266da42888d3dac403458bad2a04 100644 (file)
@@ -42,7 +42,7 @@ socket.on('status', function (data) {
        </head>
        <body>
                <div class="admin" id="{{ data.admin }}">
-                       <span style="text-align: right; padding-right: 0.5em;">Admin status: </span>
+                       <span style="text-align: right; padding-right: 0.5em;">[<a href="/routing">Routing</a>] Admin status: </span>
                        <span id="{{ data.admin }}_status">Disconnected</span>
                </div>
                <div id="sounds">
diff --git a/templates/routing.html b/templates/routing.html
new file mode 100644 (file)
index 0000000..0add8e6
--- /dev/null
@@ -0,0 +1,302 @@
+<!DOCTYPE html>
+<html lang="en">
+       <head>
+               <meta charset="utf-8">
+               <title>Route</title>
+               <style>
+
+body {
+       margin: 30px;
+       font-family: sans-serif;
+       font-size: 10px;
+}
+blockquote {
+       margin-top: 0;
+       font-style: italic;
+}
+
+.groupcall {color: blue;}
+.singlecall {color: green;}
+.action {color: orange;}
+.nudge {color: pink;}
+.task {color: red;}
+.letter {
+       padding: 10px;
+       border: 1px solid black;
+       font-style: normal;
+       }
+li > a {color: inherit}
+
+.todo {border: 5px solid red;}
+               </style>
+       </head>
+       <!-- setTimeout(function() { document.location.reload() }, 1000); !-->
+       <body onload="">
+               <h1>Will is Dead</h1>
+               <ul>
+                       <li>Characters head up to the platform on the same side. There is no body, they are briefed to act shocked. The call will signal to the viewer that I am dead.</li>
+                       <li>Finn currently has the gun</li>
+               </ul>
+               <h2>Day-phase</h2>
+               <b>Start of phase:</b>
+               <ol>
+                       <li class="groupcall">Digetic rules briefing</li>
+                       <blockquote class="groupcall">
+                               Hello everyone it's Will. The dearly departed. On the day of my wedding too, all we know is that I didn't even make the train. Shot, poisoned, strangled, we don't know. There are seven of you here: Tegan, My darling wife; David, my ever-loyal business partner; Leo, still my son dispite our differences; JCS, still my son dispite your total lack of self control; Jack, the best worst lawyer I know and Poppy, you were pretty good, but try not to be so clumsy all the damn time. Oh and Finn, I have no idea who you are. Point is, one of you killed me and you're not leaving this train platform, living or dead, if you don't find out who.
+                               <br>
+                               I'll be in touch, In the mean time get to work, there'll be a vote soon and we'll find out what you know.
+                               <br>
+                               Oh and by the way, I need to speak to one of you, so all stay on the line. If you get disconected then get started.
+                       </blockquote>
+
+                       <li class="cont singlecall">Cont. [Tegan] is breifed on the fact that they dumped the gun they were going to use to kill me.</li>
+                       <blockquote class="singlecall">
+                               Tegan. Good thing you remebered to dump that gun you had in your pocket. Would've made them all think you we're the one to do it. In a way it could have been you.
+                               <br>
+                               Bad news though. Someone else found where you dumped it. They dont know it was you but now someone else has it. Good luck out there.
+                       </blockquote>
+               </ol>
+
+               <b>Oppertunity:</b>
+               <ul>
+               </ul>
+
+               <p>When desired move to night phase</p>
+
+               <h2>Night-phase</h2>
+               <b>Start of phase:</b>
+
+               <ol>
+                       <li class="groupcall">Night phase begins intro and script</li>
+                       <blockquote class="groupcall">
+                               Hello everyone. Look up. There are so so many stars. Night has fallen. Make your way to your position, face away and close your eyes.
+                               <br>
+                               Great! [talk about what has been happening in the day]
+                               <br>
+                               I've got to talk to some of you. So caller, please hold.
+                       </blockquote>
+
+                       <li class="action">All characters make their way to their positions</li>
+
+                       <li class="cont singlecall">[Poppy] told that she has 3g Coke in her poket.</li>
+                       <blockquote class="singlecall">
+                               Hey Poppy! You really made the most of that open bar, but the real party is in your pocket! Open your eyes and take a look, camera left at the bottom... God, keep it out the view of the camera.. Wow, all for you? Or were you looking to sell it again? [...] I think you'd probably get rid of it before someone finds out, dont leave it too late, and Leo is always looking to buy.<br>Talking of Leo, he used to tell me all about you. I always said "no no she's not right for you" but he would never listen. Thank god you didn't like him back. Or did you? [...] Why? [...] And he was just a customer to you? [...] [dig further to get appropriate answer]<br>Thank you Poppy. Put the drugs back in your pocket and close your eyes...
+                       </blockquote>
+
+                       <li class="singlecall">[David] told that Finn has a gun.</li>
+                       <blockquote class="singlecall">
+                               David! I'll cut to the chase, Finn has a gun. Be careful with this information, maybe keep this to yourself for the moment. The mood is... suspissious, for sure, and having some sure-fire self defence can't be hurting him.
+                       </blockquote>
+
+                       <li class="cont groupcall">Cont. Night phase ends and day phase begins.</li>
+                       <blockquote class="groupcall">
+                               Right, big strech everyone... Touch your toes... Do a jump... Day is here! All open your eyes if you havent already. Some of you slept sound, some of you had dreams. Go chat, get stuck in.
+                       </blockquote>
+                       <li class="action">Characters begin to move around again</li>
+               </ol>
+
+               <h2>Day-phase</h2>
+
+               <b>Start of phase:</b>
+               <p>When appropriate, begin making calls.</p>
+               <ol>
+                       <li class="singlecall">[Finn] is told that David knows about the murder, and to give him the gun</li>
+                       <blockquote class="singlecall">
+                               Hey Finn, do you have any regrets? Do not react... Do you regret sometimes jumping to conclusions? Do you regret being a little too trigger happy? Do you regret the 57 year old caucasian male who bled out in from of you? Or do you just regret getting caught? Yeah. Well then you better not get caught again. Unfortunately David found out. That gun you found makes you suspissious, I know it's not yours, but you'll have to dump it. Make a deal with David, he might take it off your hands.
+                       </blockquote>
+               </ol>
+
+               <b>Oppertunity:</b>
+               <ul>
+                       <li class="task singlecall">[Tegan] told to play dice with Finn.</li>
+                       <blockquote class="task singlecall">
+                               There's 2 dice in your pocket. I'll do you a deal. Win a game of street dice against Finn and ill tell you a secret.
+                       </blockquote>
+
+                       <li class="nudge singlecall">[JCS], god that argument I had with Leo at the wedding got pretty serious. </li>
+
+                       <li class="nudge singlecall">[Leo], the free bar was good, but you need something stronger. Ket. Maybe Poppy is selling, shes who you've been buying from behind my back.</li>
+
+                       <li class="nudge singlecall"><b>If needed:</b> [Poppy], confess your love for JCS before one of you is hurt</li>
+                       <blockquote class="nudge single">
+                               Poppy. I know I've treated you badly... That's all. Also we're getting closer to the end now. I know how you feel about Jack and if you dont tell him how you truly feel... I wouldnt want one of you to die in the others arms. So I'm giving you a heads up. He needs to know how you feel. Good luck.
+                       </blockquote>
+               </ul>
+
+               <b>End of phase:</b>
+               <ol>
+                       <li class="groupcall">The group are told about letter 1</li>
+                       <blockquote class="groupcall todo">
+                               This is the script for that section
+                       </blockquote>
+                       <blockquote class="letter todo">
+                               This is the letter
+                       </blockquote>
+               </ol>
+
+               <p>Go to night-phase when appropiate</p>
+
+               <h2>Night-phase</h2>
+
+               <b>Start of phase:</b>
+               <ol>
+                       <li class="groupcall">Night phase begins intro and script</li>
+                       <blockquote class="groupcall">
+                               Hello everyone. Look down. The earth is cold and the ice is black. Night has fallen. Make your way to your position, face away and close your eyes. Stay still, stay quiet.
+                       </blockquote>
+
+                       <li class="task singlecall">[Finn] Choose two people, I will tell you if one of them is the killer.</li>
+                       <blockquote class="task singlecall">
+                               Finn, pick two people, people that worry you or people you trust. I will tell you if one of them is the killer, but I will not tell you who. [...] Make good choices out there
+                       </blockquote>
+
+                       <li class="task singlecall">[JCS] Choose one person to protect, if they're killed: you will be able to protect them. With a cost.</li>
+
+                       <li class="singlecall">Reveal to [Leo] what Poppy said [<a href="#hotmicin" id="hotmicout">earlier</a>].</li>
+                       <blockquote class="singlecall">
+                               Leo? [...] [play clip] I told you. Didn't I? That she wasn't the one for you. But you didnt listen to me. Hold caller, for day-time to begin.
+                       </blockquote>
+
+                       <li class="cont groupcall">Cont. Night phase ends and day phase begins.</li>
+                       <blockquote class="groupcall">
+                               Right, siesta is over! Gimmie a couple vocal runs, me-me-me-me-me. Day is here! All open your eyes if you havent already. Some of you slept sound, some of you had visions. When night falls, we'll vote, and one of you will leave. Learn what you can. [CONT]
+                       </blockquote>
+                       <li class="action">Characters begin to move around again</li>
+               </ol>
+
+               <h2>Day-phase</h2>
+
+               <b>Start of phase:</b>
+
+               <ol>
+                       <li class="cont groupcall">As a group you may open letter 2.</li>
+                       <blockquote class="groupcall todo">
+                               Oh while i've got you, I've got and icebreaker [letter location]
+                       </blockquote>
+                       <blockquote class="letter todo">
+                               [Photo of Finn and Tegan kissing]
+                       </blockquote>
+               </ol>
+
+               <b>Oppertunity:</b>
+               <ul>
+                       <li class="nudge singlecall">[David], confront Tegan about cheating.</li>
+                       <li class="nudge singlecall">[Jack], confront David about the big scene he made at the wedding.</li>
+                       <li class="nudge singlecall">[Tegan], confront Leo about why he is estranged from JCS.</li>
+
+
+                       <li class="singlecall">[Finn] JCS has something is his pocket, this might help you during the vote.</li>
+                       <blockquote class="singlecall">
+                               You know why they call him the horse right? All im saying is, hes got something in his right breast pocket, might help you swing it during the vote if you need to
+                       </blockquote>
+
+                       <li class="singlecall">[JCS] Poppy has something in her pocket, this might help you during the vote.</li>
+                       <blockquote class="singlecall">
+                               Wonder why she and Leo keep snuck off? All im saying is, she got something in his right breast pocket, might help you swing it during the vote if you need to
+                       </blockquote>
+               </ul>
+
+               <b>End of phase:</b>
+               <ol>
+                       <li class="groupcall">Night falls and its time to vote. Head to group location to discuss who you all think is guilty</li>
+                       <blockquote class="groupcall">
+                               Hello everyone. Look down the tracks, the train is coming. Night has fallen. Make your way to your position, face away and close your eyes. Stay still, stay quiet.
+                       </blockquote>
+
+                       <li class="groupcall">When appropiate: Reveal Finn killed a man</li>
+                       <blockquote class="groupcall todo">
+                               [Hotmic recording of finn confessing to killing a man]
+                       </blockquote>
+
+                       <li class="groupcall">When desision reached: voting procedure</li>
+                       <blockquote class="groupcall">
+                               Dusk falls and the vote begins. All make your way over the center of the platform.<br>
+                               Tegan please put me on speaker.<br>
+                               You will each have a chance to say your peice, starting with:
+                               <ol>
+                                       <li>Leo</li>
+                                       <li>Poppy</li>
+                                       <li>Tegan</li>
+                                       <li>David</li>
+                                       <li>Finn</li>
+                                       <li>JCS</li>
+                               </ol>
+                               Thank you all, when I say your name please name the person you are voting for (order see above)
+                       </blockquote>
+               </ol>
+
+               <p>In a situation that David is voted for:</p>
+               <ol>
+                       <li>Hello everyone</li>
+                       <li>You're trapped David, YOU know you didnt do it, but who do you think did.</li>
+                       <li>David reach into your pocket and pull out the gun</li>
+                       <li>Level it at [person]</li>
+                       <li>Hold caller</li>
+                       <li>Take a deep breath, and pull the trigger</li>
+               </ol>
+
+               <p class="action">[person] you have been shot, please leave the platform.</p>
+
+               <h2>Night-phase</h2>
+
+               <b>Start of phase:</b>
+               <ol>
+                       <li class="groupcall">Night phase begins intro and script</li>
+                       <blockquote class="groupcall">
+                               Hello everyone. Look up the tracks, the train has passed, someone is dead. Make your way to your position, face away and close your eyes. Stay still, stay quiet.<br>
+                               The killer has not been found. You fuckers! And tonight they will kill again.
+                       </blockquote>
+
+                       <li class="singlecall">[Tegan] (or [JCS] if dead) lets make a deal: coin flip.</li>
+                       <blockquote class="singlecall">
+                               Hey [Tegan/JCS], how's it goin'. Lets make a deal. You got a coin on you? [if not reveal hidden coin on person]. Call the coin flip, if youre right then ill tell you a secret.
+                               [If correct]
+                       </blockquote>
+
+                       <li class="singlecall">[Poppy] (or [JCS] if dead) may ask a single yes or no question.</li>
+                       <blockquote class="singlecall">
+                               Hello caller! Though I'd call for a little [performance review/heart to heart]. Ask me a question and I'll answer, I promise, but only yes or no.
+                       </blockquote>
+
+                       <li class="singlecall">[David] Poppy (or JCS) just asked me this: ___, I told him: yes/no.</li>
+               </ol>
+
+               <b>End of phase:</b>
+               <ol>
+                       <li class="cont singlecall">[david] you have survived the first vote, who do you want to kill.</li>
+                       <blockquote class="singlecall">
+                               David! You have survived the first vote. The only way out of this is the way you went when it came to pinning me to the wall and BANG! You killer you. But who's next. Raise your hand above your head David, and point it at the next victim. [___] yeah? Take a deep breath, and pull the trigger. And close your eyes. Well done. I'll see you soon.
+                       </blockquote>
+               </ol>
+
+               <p>
+                       <b>At this point we're driving it!</b>
+               </p>
+
+               <b>Oppertunity:</b>
+               <ul class="todo">
+                       <li class="groupcall">[Leo] Finn has a gun [Finn contected to conf call]</li>
+                       <blockquote class="groupcall">
+                               Hey Finn! Oh hang on hang on I'm getting a call, stay on the phone [Finn muted and call Leo] Leo! Hello! [Affirm] Bad news. Finn has a gun. Thats all, goodbye! [Disconect Leo] Good luck Finn
+                       </blockquote>
+               </ul>
+
+               <h1>Apendix</h1>
+
+               <h2>All-call intro</h2>
+
+               <p>
+                       Each of you,<br>
+                       [person] / <em>Affirm</em>
+               </p>
+
+               <ol>
+                       <li>Finn</li>
+                       <li>Leo</li>
+                       <li>Tegan</li>
+                       <li>JCS</li>
+                       <li>David</li>
+                       <li>Poppy</li>
+               </ol>
+       </body>
+</html>