From 79f9dc940765d5a943f73e4e92e1baa4fe52a9a1 Mon Sep 17 00:00:00 2001 From: Max Value Date: Thu, 19 Feb 2026 16:21:32 +0000 Subject: [PATCH] Added routing doc and pannel link --- .gitignore | 1 + dialer.py | 5 +- templates/panel.html | 2 +- templates/routing.html | 302 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 308 insertions(+), 2 deletions(-) create mode 100644 templates/routing.html diff --git a/.gitignore b/.gitignore index fa9cbd2..a74329a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ __pycache__/ dialer.egg-info/ secrets.json +build/ diff --git a/dialer.py b/dialer.py index edc14eb..659f5e6 100755 --- 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 diff --git a/templates/panel.html b/templates/panel.html index 134d2e3..2fa2898 100644 --- a/templates/panel.html +++ b/templates/panel.html @@ -42,7 +42,7 @@ socket.on('status', function (data) {
- Admin status: + [Routing] Admin status: Disconnected
diff --git a/templates/routing.html b/templates/routing.html new file mode 100644 index 0000000..0add8e6 --- /dev/null +++ b/templates/routing.html @@ -0,0 +1,302 @@ + + + + + Route + + + + +

Will is Dead

+ +

Day-phase

+ Start of phase: +
    +
  1. Digetic rules briefing
  2. +
    + 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. +
    + 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. +
    + 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. +
    + +
  3. Cont. [Tegan] is breifed on the fact that they dumped the gun they were going to use to kill me.
  4. +
    + 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. +
    + 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. +
    +
+ + Oppertunity: + + +

When desired move to night phase

+ +

Night-phase

+ Start of phase: + +
    +
  1. Night phase begins intro and script
  2. +
    + 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. +
    + Great! [talk about what has been happening in the day] +
    + I've got to talk to some of you. So caller, please hold. +
    + +
  3. All characters make their way to their positions
  4. + +
  5. [Poppy] told that she has 3g Coke in her poket.
  6. +
    + 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.
    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]
    Thank you Poppy. Put the drugs back in your pocket and close your eyes... +
    + +
  7. [David] told that Finn has a gun.
  8. +
    + 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. +
    + +
  9. Cont. Night phase ends and day phase begins.
  10. +
    + 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. +
    +
  11. Characters begin to move around again
  12. +
+ +

Day-phase

+ + Start of phase: +

When appropriate, begin making calls.

+
    +
  1. [Finn] is told that David knows about the murder, and to give him the gun
  2. +
    + 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. +
    +
+ + Oppertunity: + + + End of phase: +
    +
  1. The group are told about letter 1
  2. +
    + This is the script for that section +
    +
    + This is the letter +
    +
+ +

Go to night-phase when appropiate

+ +

Night-phase

+ + Start of phase: +
    +
  1. Night phase begins intro and script
  2. +
    + 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. +
    + +
  3. [Finn] Choose two people, I will tell you if one of them is the killer.
  4. +
    + 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 +
    + +
  5. [JCS] Choose one person to protect, if they're killed: you will be able to protect them. With a cost.
  6. + +
  7. Reveal to [Leo] what Poppy said [earlier].
  8. +
    + 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. +
    + +
  9. Cont. Night phase ends and day phase begins.
  10. +
    + 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] +
    +
  11. Characters begin to move around again
  12. +
+ +

Day-phase

+ + Start of phase: + +
    +
  1. As a group you may open letter 2.
  2. +
    + Oh while i've got you, I've got and icebreaker [letter location] +
    +
    + [Photo of Finn and Tegan kissing] +
    +
+ + Oppertunity: + + + End of phase: +
    +
  1. Night falls and its time to vote. Head to group location to discuss who you all think is guilty
  2. +
    + 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. +
    + +
  3. When appropiate: Reveal Finn killed a man
  4. +
    + [Hotmic recording of finn confessing to killing a man] +
    + +
  5. When desision reached: voting procedure
  6. +
    + Dusk falls and the vote begins. All make your way over the center of the platform.
    + Tegan please put me on speaker.
    + You will each have a chance to say your peice, starting with: +
      +
    1. Leo
    2. +
    3. Poppy
    4. +
    5. Tegan
    6. +
    7. David
    8. +
    9. Finn
    10. +
    11. JCS
    12. +
    + Thank you all, when I say your name please name the person you are voting for (order see above) +
    +
+ +

In a situation that David is voted for:

+
    +
  1. Hello everyone
  2. +
  3. You're trapped David, YOU know you didnt do it, but who do you think did.
  4. +
  5. David reach into your pocket and pull out the gun
  6. +
  7. Level it at [person]
  8. +
  9. Hold caller
  10. +
  11. Take a deep breath, and pull the trigger
  12. +
+ +

[person] you have been shot, please leave the platform.

+ +

Night-phase

+ + Start of phase: +
    +
  1. Night phase begins intro and script
  2. +
    + 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.
    + The killer has not been found. You fuckers! And tonight they will kill again. +
    + +
  3. [Tegan] (or [JCS] if dead) lets make a deal: coin flip.
  4. +
    + 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] +
    + +
  5. [Poppy] (or [JCS] if dead) may ask a single yes or no question.
  6. +
    + 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. +
    + +
  7. [David] Poppy (or JCS) just asked me this: ___, I told him: yes/no.
  8. +
+ + End of phase: +
    +
  1. [david] you have survived the first vote, who do you want to kill.
  2. +
    + 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. +
    +
+ +

+ At this point we're driving it! +

+ + Oppertunity: + + +

Apendix

+ +

All-call intro

+ +

+ Each of you,
+ [person] / Affirm +

+ +
    +
  1. Finn
  2. +
  3. Leo
  4. +
  5. Tegan
  6. +
  7. JCS
  8. +
  9. David
  10. +
  11. Poppy
  12. +
+ + -- 2.39.2