Skip to content
Sign upLog in
← Back to Community

Bram Jam Submission -- Creepy Scary Music 'n' Story!

Profile icon
Bookie0

BOOOO!!! 👻

Did I scare you? Did I? Did I?!?!?!

Ok fine I probably didn't :(

Hope y'all are having a great month of October and preparing for HaLoWeEeEeEnNnN!!

Long time no see repl talk share board! I've mostly been posting tutorials in the tutorial section as I didn't have much ideas for games or projects unfortunately, but luckily there's this jam!


Anywayssss...

TL;DR: This is my submission for

@Bruhmley
's Bram Jam #2. Aim of game: with several other people, after a starter of the story, one word at a time everyone types a word to form a spooky Haloween-themed story.

I've called my submission Creepy Scary Music 'n' Story! (yea not the best of names lol, but at least it rhymes!). We were supposed to do a Haloween-themed multiplayer game for the "Electric Boogaloo".

So uh, mine isn't exactly "multiplayer", but it actually kinda is in a way. You'll see.


Set-up Before Game

  1. Ok so first, let's run the repl. For some reason, I can't find the button that makes your console go in a new tab, is it just me or does everyone not find it? Anyways, I dunno if this works in a new tab, but to be safe just run it in the same page, and expand the console to be as big as possible.

  2. After hitting Run, there'll be some updates, downloads, package installs, etc. Ngl, it's gonna take about 30-40ish seconds. Maybe more lol.

When you see:

- Updating aiohttp (3.6.2 -> 3.6.3)

this means you have about 30 more seconds to go. Just wait for it to load, you can do something else while waiting (like 20 jumping jacks and a few push ups lol). After running it for the first time, it'll be faster for the other times.

  1. Next, you'll have a chance to choose between music. You can choose either Spooky Scary Skeletons Remix, originally by Andrew Gold, or you can listen to Danse Macabre, by Camille Saint-Saëns. Pretty obvious why I chose them. Or you can listen to no music which is sad so you shouldn't do that lol.

Thank you to

@AllAwesome497
for helping me set up the music with repl.it audio!

(Repl.it audio docs here)

  1. Once you choose, the game will now start.

This is the multiplayer part!

Get a friend, family member, siri, a soft toy, or anyone you want!

Then verything else is pretty straightforward, so I won't walk y'all through everything. But basically, type how many people will be playing, then the name of the first player, their color (their name will have this color, as well as the text they type), and then repeat for as many players as you first put. Next type how many words in the story, and you're ready to start!


Game Play

Firstly, there'll be the title screen:

[image here]

Screen Shot 2020-10-27 at 2.21.51 PM

Secondly, there shall be a quick set up, with number of players, names, and colors, as well as how long the story is.

Screen Shot 2020-10-27 at 3.15.48 PM

Secondly, there will be the starter of a sentence, and you'll have to each, player by player, type 1 word. Each word will be added to the story, and you can't remove a word after it is added, so choose wisely! This is a multiplayer game, so the goal is for everyone to participate and make together a good spooky story.

Screen Shot 2020-10-27 at 3.16.17 PM

You'll know when it's your turn as it will tell you, with colors, so you'll easily be able to quickly rotate who's turn it is to type a word. Oh yes, only 1 word, if you put several words it won't accept it!

Screen Shot 2020-10-27 at 3.17.10 PM

After the story is finished, depending on how many words you choose, the whole story will be outputted for you to see. You can also play again, and if you do, you can choose new music if you want!

Screen Shot 2020-10-27 at 3.20.39 PM

Thank you to

@CodingCactus
for helping with the pausing of the audio!

And if you don't want to play again, then the game will end. You can always come back again with different people to play!

Screen Shot 2020-10-27 at 3.21.30 PM


The Code

So I already put many many comments explaining what each part does, so feel free to read them if you want. But I'll still explain what the code does a bit because why not lol.

So first, I have a list containing some story starters used to start the story. Then, the important inputs are the ones asking how many players, the names of the players, and their colors. I used a for loop that loops through the number of players so that it asks every single player their name and their color.

After that, it adds their color and name to a dict (so that later it can be outputted easily). Next, it asks how many words will there be in the story, randomly selects a story starter, and the setup is finished. The game now begins!

There's a for loop that will loop for as many words in the story as the user first entered. The program, with an input will ask each player to enter one word (the program checks if there's a space in what the user wrote, so you can't write several words), and will add that word to a list containing the whole story. The input will specify which player's turn it is, with the color they chose before (that's why I recommend using different colors). This was the kinda hard part; I had to use a dict to store the colors and the names. So when I need to color the player's name a specific color (the color they first picked), I can get their name through the dict which will give me that player's appropriate color.

And finally, when the whole story is finished, it prints the whole story, and asks if you want to play again. If you do, you get to choose a new music, but if want to leave and play again later, then the program stops with a break that breaks the while True loop.


Final Words

So yea, I guess that's about all. I think I'm pretty satisfied with my work, up to y'all if you like it too! :)

I originally thought I wouldn't be able to make/finish a game for this jam, but looks like I did it lol. I even had some time to make the style nicer and more uniformed with colors and stuff. One week seems little, but during the weekends I got a lot done.

Thanks again to

@AllAwesome497
and
@CodingCactus
for help on this!

Enjoy the game!!!

Have an fabulous day everybody! =)

Oh, and

Happy Halloween! 🎃 👻 😈 🧟 😱

(Stay safe! ;)

Edit: seems like audio isn't working for some people, tell me in the comments if it doesn't, make sure your speakers are loud and you selected a music choice. If it still doesn't work, try opening the repl

Screen Shot 2020-10-28 at 11.51.00 AM

and running it.

Also you might need to turn on explorer mode! (Go to account >> roles >> explorer)

:D

Voters
Profile icon
SilvermoonCat
Profile icon
isaacproskils
Profile icon
phantomlord45
Profile icon
AnishAgrawal1
Profile icon
OlauPla
Profile icon
lfny
Profile icon
dudeactualdev
Profile icon
seanlnge
Profile icon
CodingGoose
Profile icon
CodeSalvageON
Comments
hotnewtop
Profile icon
OldWizard209

This is pretty cool

@Bookie0
:)

Profile icon
Bookie0

lol thanks! :D

@abdullahrajput9

Profile icon
OldWizard209

OMG are you a bot

@Bookie0
to reply soooo quickly lol.

Profile icon
Bookie0
Profile icon
RayhanADev

Sweet! Nice BramJam submission, I love how the console actually looks awesome! GG
~ Ray

Profile icon
Bookie0

lol thanks! :)

@RayhanADev
making it nice was an important part of my code

Profile icon
Bookie0

Oh, and also! Contest for scariest/creepiest video here!

ThIs My ScArIeSt ViDeO: here ;)

Profile icon
zplusfour

@Bookie0
how the frick, got rick rolled, but I checked that it is not qWblagvlag

Profile icon
Bookie0

lol hehe

@ZDev1

Profile icon
zplusfour

@Bookie0
heheh

Profile icon
elipie

@Bookie0
when you block the word rickroll in your wifi

Profile icon
Bookie0
Profile icon
RayhanADev

@elipie
hmm, wonder which genius gave you that one...
xD

Profile icon
elipie

@RayhanADev
yup i really wonder... (i did it yesterday during lunch get on the repl...)

Profile icon
NoNameByProgram

@Bookie0
you fool i have rememberd every rick roll link there ever was >:)

Profile icon
Bookie0
Profile icon
realTronsi

Ah you got some time to make a submission after all! Good luck

Profile icon
Bookie0

@realTronsi
yup, I had to sacrifice some stuff during the weekends lol!

thanks! :D

Profile icon
realTronsi

@Bookie0
very fun, unfortunately I have no friends

Profile icon
Bookie0
Profile icon
realTronsi

@Bookie0
You basically got guaranteed 3rd since I don't think there are that many participants

Profile icon
Bookie0

@realTronsi
oh what were the other submissions? I didn't see them
could u link them plz thanks! :)

Profile icon
realTronsi

@Bookie0
well it ends on Saturday and I know Rayhan is participating, but other than that it has been quiet. I submitted mine yesterday night at 12am here

Profile icon
Bookie0

@realTronsi
ah ok, then yes seems like I'm third lol!

Profile icon
RohilPatel

Hi

Profile icon
Bookie0
Profile icon
RohilPatel
Profile icon
TalinSharma

Cool + Fun!
Wish there was a way to embed python projects/games into websites. (Just a side note. Nothing for you

@Bookie0
)

Profile icon
Bookie0

@TalinSharma
Thanks! :)

Profile icon
rediar

@TalinSharma
It is possible to embed python projects into websites using the repl.run url and an html element

Profile icon
ZePanda9711

It was a cool game, it would be cool if you put one word and then the story put the rest, and then it continued like that, just saying.

Profile icon
Bookie0

@ZePanda9711
ah yes, that's a cool idea, but then I'd have to figure a way for the computer to put a word that makes sense after what the user says.

but thanks anyways! :)

Profile icon
ZePanda9711
Profile icon
Kookiez

Cool!

Profile icon
Bookie0

thanks! :)

@Kookiez

Profile icon
PattanAhmed

Python game, WOW
Good work!

Profile icon
Bookie0

lol thanks! :)

@PattanAhmed

Profile icon
PattanAhmed

@Bookie0
welcome!
btw, I wasn't scared of your BOOO!!!
lol

Profile icon
Bookie0
Profile icon
Dylan-Pusilo

Cool

Profile icon
Bookie0

thanks! :)

@hello4691

Profile icon
HackermonDev

Audio only works for people with explorer mode.

Profile icon
Bookie0

@PDanielY
Hum, I thought audio works for people without it, I think they made it public. Actually I checked again, seems like yea you'll need explorer, thanks for reminding! :)

Profile icon
DynamicSquid

I like your readMe(only if you want lol).md file

Profile icon
Bookie0

lmao thanks! :)

@DynamicSquid

Profile icon
tankerguy1917

this is so cool

Profile icon
Bookie0

lol thanks! :D

@tankerguy1917

Profile icon
Bookie0

does the music work? do you hear the audio?


@tankerguy1917

Profile icon
tankerguy1917

@Bookie0
yeah the music worked

Profile icon
Bookie0

ok cool! :)

@tankerguy1917

Profile icon
zplusfour

that's good

Profile icon
Bookie0

thanks! :)

@ZDev1

Profile icon
zplusfour

@Bookie0
np, more 9 cycles and you'll have 4000!

Profile icon
Bookie0
Profile icon
JBloves27

Nice Job!

Profile icon
Bookie0

thanks!! :)

@JBYT27