#Python Text-Based Horror Game (With .exe file for easy viewing)

30 messages · Page 1 of 1 (latest)

dreamy minnow
unborn goblet
#

Hello Mark Zuckerberg is will review it soon

naive stirrup
#

nice use of curses can't say much since its in beta also its weird having the folderName written in skake case
also are you playing with signal.SIGINT aswell? cuz it didn't kill for me..

#

haven't read the code but i might make this a function instead

    for i, line in enumerate(lines):
        if "Error" in line:
            prefix, rest = line.split("Error", 1)
            pad.addstr(i, 0, prefix)
            pad.addstr("Error", RED)
            pad.addstr(rest)
        elif "Conflicts" in line:
            prefix, rest = line.split("Conflicts: 3", 1)
            pad.addstr(i, 0, prefix)
            pad.addstr("Conflicts: ")
            pad.addstr("3", RED)
            pad.addstr(rest)
        elif "Success:" in line:
            prefix, rest = line.split("Success", 1)
            pad.addstr(i, 0, prefix)
            pad.addstr("Success", GREEN)
            pad.addstr(rest)
#

more code gets harder to read and work with sometimes

unborn goblet
#

is the curses only for windows

#

?

naive stirrup
#

also computations happening in a file where there's lots of data is kinda new to me

    "What's the rush? There's plenty of time for that later! ;)",
    "Not so fast, silly! That won'te be locked for long :)",
    "Early bird gets the worm :) you're a bit TOO early though he he",

]

option_locked_todo = [
    "Doesn't the menu remind you of a list? Like a to-do list? ;) ;)",
    "One thing at a time! Maybe we can make a to-do list about it? :)",
    "Look at all of those options! So many things... to-do ;) ;)",
    "to-do or not to-do? That is the question, but let's do :)",
    "This one will be so much better afer you have a to-do list I bet :)"
]

option_locked_weather = [
    "Aren't you curious about the weather? Let's start there :)",
    "I wonder if it's raining outside? Should I check??",
    "I'm thirsty, Dark and Stormy anyone? Maybe a Tequila Sunrise??",
    "Windy outside? The weather app will BLOW you away ha ha ;)",
    "Check the weather and grab an umbrella before you go there!"
]

none_complete = option_locked_all + option_locked_todo + option_locked_weather

never seen that

unborn goblet
naive stirrup
#

but in readme they claim that their project works for both?

unborn goblet
#

🤔

naive stirrup
naive stirrup
#

also it doesn't quite work for me too but ig that's fine since its just beta?

naive stirrup
#

and keep track of

unborn goblet
#

awesome i love it so far @dreamy minnow

naive stirrup
#

also is this abusing pattern matching here?

        if (str(choice) in apps) and (str(choice) not in completion):
            match choice:
                case "1":
                    weather_app()
                case "2":
                    todo_app()
                case "3":
                    print("                   ", end="")
                    ef.type_out(ef.menu_cleo_dialogue(phase=1))
                case "4":
                    print("                   ", end="")
                    ef.type_out(ef.menu_cleo_dialogue(phase=1))                    
                case "5":
                    print("                   ", end="")
                    ef.type_out(ef.menu_cleo_dialogue(phase=1))                    
                    ef.clear_screen()                    
                case _:
                    ef.clear_screen()
                    continue

i'd prolly make that a dict here i need to read more to figure out its purpose tho

naive stirrup
#

what does it do?

#

ig for now it only like tells weather and a todo list app? tho it seems like it has potential to make friends and all (code says that) but a work in progress fasho

#

also interview?

#

but yeah its a nice hangout in general

    ef.type_out("Okay, last question. ♥", delay=0.07)

how can i get this heart?

#

btw you can also sell this data

    ef.type_out("What neighborhood do you live in? ", pause=0, clear=False)

    ef.cli_input("What neighborhood do you live in? ")
    ef.clear_screen()

    ef.type_out("Great!", pause=0.75)
    ef.spinner()
    ef.type_out("What is your postal/zip code? ", pause=0, clear=False)

#

only share client side of your project on github and use web sockets to fetch real time data

naive stirrup
#

this should be a class my guy

dreamy minnow
# naive stirrup ig for now it only like tells weather and a todo list app? tho it seems like it ...

Hey efi! This app is just a little horror experience, it doesn't actually tell you the weather, also it doesn't connect to the internet/ send data anywhere, though the joke of the game is that it seems like it does.

Thanks for your input! I'm completely self taught and I haven't ever worked collaboratively so my code base is build off of untrained instinct with occasional help from AI, but most of it is written by me so it's lacking a lot of polish.

dreamy minnow
# naive stirrup i don't think its on windows... :p

That's weird, I'll check this out, I actually built this on Windows and can definitely run it on Windows. Though the section with Curses is pretty much where it ends as of now so you'll still see all of the game that is finished.