Share your repls and programming experiences

← Back to all posts
It's My Birthday!
h
Coder100 (17613)

It's My Birthday!

Hello, world! It's my birthday today! I created this awesome website to celebrate the occasion. Anyways, you can either write me a birthday card or play the fun balloon game!

Game

  • Mouse to aim
  • Click to shoot
  • Don't let any balloons get past you!
  • Remember to click on [ save to leaderboard ] to save your score!

Bday Card

  • You can make as many as you want :D
  • You can also not be logged in and make a card!

Code

  • Made with EJS!
  • I used my own client for the database!
  • There's some font awesome in there...

Have a great day!

Yay!

Me being birthdayboi on discord:

Edits

Ok, so I guess you guys found the hack feature in my game LOL! Well, turns out I KNEW IT WAS GOING TO HAPPEN All hackers have been removed, and @AustinZhang1 is still number 1! Also, I don't know what happened with the cards... I'll be looking into that!

ANNOUNCEMENT

Wow! This has gotten more support than I had anticipated!! Thank you everyone for writing a card! I have read them all! So kind of all of you :D

This is probably my best birthday ever!! Thank you!

Edits

So I got a new computer, but then a tree fell and so now I don't have wifi and probably not for a long time :( (this is wireless data btw)

More edit

So basically why you couldn't write cards was because of a database error. I still have no idea if it's a problem with my client or not, but here's the test. Anyways, it appears I could set the data with a new line, but it couldn't read it. How strange. Anyways, I'm now just removing newlines completely until its fixed. Have a great day!

Comments
hotnewtop
ChezTacoz (340)

How in the why is this physically possible

DynamicSquid (4815)

HAPPY BIRTHDAY

🎉🎉🎉

DynamicSquid (4815)

Here's a present for you: 🦑 :)

DynamicSquid (4815)

@nt998302 WHAT NO EAT NO SQUID NOT WHAT NOb dWNISHgeDKUG Fgtbbtnnnfnfu ke yguwk

SystematicError (25)

@Coder100, I wish I could give you something from me but it will just break your code ¯_(ツ)_/¯

DynamicSquid (4815)

@JosephSanthosh JKSRG FAIWGFKZUHNKJRBG LUWR HFKUwg lifuwf lg fabvWG FRIUh fkuG FOywf ;IU

HahaYes (1863)

I dunno if I should release my project right now. This seems important

amasad (3404)

Happy birthday!!! I scored 12 on the leaderboard. I tried to write you a card but it didn't work.

Coder100 (17613)

aww!! Thanks!!
The card is slightly broken, I will be investigating my client @amasad

Coder100 (17613)

alright, you can now write a card!
I will continue investigating... @amasad

JDOG787 (434)

@Coder100 THATS SO COOL AMASAD TOLD YOU HAPPY BIRTHDAY!!!!

ayush2007 (42)

u must have put lot of effort in this

mathiasaboye (86)

🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪🍪

RolandJLevy (1072)

@Coder100 by the way, Express now has it’s own body-parser. So you don’t need to use the body-parser package anymore.

If you are using Express 4.16+ you can now replace this line:

app.use(bodyParser.urlencoded({extended: true}));

with this:

app.use(express.urlencoded({extended: true}));

It’s explained in this article

Coder100 (17613)

yeah I know, but it only parses JSON iirc @rjlevy

Coder100 (17613)

oh wait nvm thats super cool @rjlevy

RolandJLevy (1072)

@Coder100 OK, I'm not aware of that issue. I've never heard of JSON iirc. I'll look into it. Thanks

Coder100 (17613)

@rjlevy iirc = if i recall correctly
anyways, reading your article appears that I am wrong and they now support www-url-encoded

RolandJLevy (1072)

@Coder100 not sure what you mean by nvm...?

RolandJLevy (1072)

@Coder100 hahaha! I thought iirc was a type of JSON! my bad.

RolandJLevy (1072)

Thanks @ZDev1👍 I'm learning

zplusfour (905)

@rjlevy cool!
we call it, chat words

zplusfour (905)

@Coder100 he dunno what do nvm stand for

RolandJLevy (1072)

Hi @Coder100, great job! I love the pop the balloon game. Where are you storing the scores for the leader board - what kind of database?

Coder100 (17613)

:D Thanks!
I used the repl.it db, you can read more about it here @rjlevy

RolandJLevy (1072)

@Coder100 thanks! I will check it out. Does your approach of using the repl.it db mean you don't have to be concerned about XSS?

Coder100 (17613)

@rjlevy actually, no. That's handled for me with ejs's <= feature (which automatically escapes all tags)

Coder100 (17613)

no database would ever handle that for you, because if you were trying to store HTML code that would be a pain to handle. @rjlevy

RolandJLevy (1072)

@Coder100 OK, thanks - good to see a Node, Express, EJS project 👍

JosephSanthosh (1177)

Happy birthday!
don't even ask !

Duvangamer3845 (128)

PRINT("Happy Birthday Coder100 )
Coder_god = True
If Coder_god == True:
print("Coder God is HEREEEE HAPPY BIRTHDAY🎈🎈🎈🎈🎉🎉🎉🎉🎊🎊🎊 ")

Highwayman (1474)

Hm.... It’s been your birthday for a month now... XD

TravisRaney (11)

@Coder100 come to my happy birthday coder100 replit now please?

TravisRaney (11)

@Coder100 come to my for: coder100, pepelaugh, and me replit please?

TravisRaney (11)

@Coder100 sorry to bother you but can you come to my repl of make anything you want please?

frostedbutton75 (49)

Happy birthday coder100! Hope this day brings good luck! 😉

nahu (27)

Happy Birthday!!! 🎁🎁🎁

CodingMEJ (10)

Happy birthday!!! your birthday reminds me of my birthday witch was 2!!!! days after the quarantine started:(

CodingMEJ (10)

HA I WILL NEVER EAT SQUID IM VEGETARIEN

LTI2 (116)

It's still your birthday? Intresting...

Coder100 (17613)

no, but its still on hot @LTI2

parth800 (1)

By the way happy B-day!!!

parth800 (1)

What's your discord?

DannyIsCoding (698)

Congrats! this post hit 100 upvotes