Share your repls and programming experiences

← Back to all posts
MultiPong - A multiplayer pong game (and its my birthday today :D)
ruiwenge2

Hey guys! Today is my birthday (wow the same month as @CodingCactus, @Coder100, and @PixiGem!!!), and I made a multiplayer pong game where you can either play against another person online or against the computer! Here are the features:

  • See your opponent's moves
  • Play against the computer
  • Inviting people to a room

Remember, you are always on the right side, and your opponent is always on the left side. To move your paddle, use the up and down arrow keys. The first player to ten points wins! See more details on how to play at https://multipong.ruiwenge2.repl.co/howtoplay.

To test it out, you can join the same room in different windows, or in different computers. If it doesn't work, you can always just play against the computer. Invite me if you want to play against me.

Here's a demo:

Credits

Note: To create an account you must open the website in a new tab.

Click here for the GitHub repo.

Enjoy!

Voters
ruiwenge2
PhabionAlfaro
akhil124
IanBorthwick
sj42
rickysong
Mahtimammona
PLOOBOOBL
CarolinePoole
his91
Comments
hotnewtop
PixiGem

july coders - @ruiwenge2, me, @Coder100, @CodingCactus

ruiwenge2
PixiGem
PixiGem

@ruiwenge2 how old are you?

FlaminHotValdez

@PixiGem any notable january birthday-ers?

PixiGem

@FlaminHotValdez hmmm... idk but ig you and drone?

FlaminHotValdez

@PixiGem drone's bd is in january? noice

PixiGem

@FlaminHotValdez sorry for the late reply, but I'm not 100% sure

StringentDev

@FlaminHotValdez SO IS MINE, Jan 17th

randalltherat
PixiGem

@randalltherat you mean 14?

AyushGudipati

@PixiGem prob a joke, or the youngest coder I know.

ruiwenge2
ruiwenge2

sorry I forgot

thanks to @RonaldLeung1 for the badge that's on the GitHub repo

RonaldLeung1

@ruiwenge2 Nice work! Great room implementation too

ruiwenge2
kannibalistic

i used literally every username possible but it kept telling me this 💢💢💢💢💢

kannibalistic

@kannibalistic ps do i have to use my own username and pass?

JadenTang1

@kannibalistic You forgot to do the Captcha most likely

kannibalistic

@JadenTang1 there is no captcha

PixiGem

@kannibalistic then you use MS EDGE

kannibalistic

@PixiGem thanks...

zksoon1

@kannibalistic did you press i am not a bot

kannibalistic

@zksoon1 didn't see that button

kannibalistic

@kannibalistic anyways forgot to say happy birthday

HAPPY BIRTHDAY LAD

ruiwenge2

thanks!!! @kannibalistic

DepthStrider

wowwwwwwwwwwww!
also, happy bday :D

ruiwenge2
daCynicalbOi

Happy Birthday pal.

ruiwenge2
cuber1515

cool

ruiwenge2

@cuber1515 thanks

Yoplayer1py

BELATED HAPPY B`DAY . (So many b'days XD)

ruiwenge2
Yoplayer1py

@ruiwenge2 np (I now find out that I was the last one to wish again :( )

Whippingdot

Happy late birthday!

ruiwenge2

@Whippingdot thanks!

Coder100

yoo pogger happy bday

ruiwenge2

@Coder100 yay thanks!

InvisibleOne

Happy birthday and nice job

ruiwenge2
VulcanWM

happy bday!

ruiwenge2

@VulcanWM thanks!

VulcanWM

also nice game! @ruiwenge2

PixiGem

ok guys, let's make a team - RuiGem100Cacti. Just kidding but, yes this game is awesome BRO! and BTW HAPPY BIRTHDAY! I attempted on creating something for you, but it failed, yes, I SUCK in css. https://ruiwwenge2bday.pixigem.repl.co/
And BTW july 30th is my birthday guys!!!!!!!!!!!!!!!!!!!!!!

ruiwenge2

@PixiGem awesome! i'm also gonna make a cool animation for you :)

HrushalNikhare

@PixiGem how do ya guys import soo many packagesi try to use native css :(

ruiwenge2
PixiGem

@ruiwenge2 thanks alot!!! But im sad, I wasnt able to make one for you completely, I'm bad at css animation

ruiwenge2

it’s fine @PixiGem

SwiftOwl

Wow! This is really cool!

Also happy birthday :)

ruiwenge2

@SwiftOwl thanks :D

Kinei

Error: secret option required for sessions when i try to fork?

TravisRaney1

I...love...this!!

EdwardBentler

Hapi Birthday :D

ruiwenge2

thanks :) @EdwardBentler

AyushGudipati

Nice! In a real game though (professional, not casual) you play for 11, and you have to win by 2 points min. In casual, 21. also, click the image below.

Tien-Minh-ThuyM

AMAZINGGGG

randalltherat

[ redacted by moderators for cursing ]

VulcanWM

why u being mean @randalltherat

RayhanADev

@randalltherat please do not curse out people. We do not condone such behavior on Replit.

FlaminHotValdez

@RayhanADev his bio also swears

RayhanADev

@FlaminHotValdez can't do anything about that :(.

CodingElf66

Just wondering, but why exactly do we need to open in a new tab to make an account? Doesn't make sense, really.

Aivoybia

@JeffreyChen13 backend stuff blah blah

CodingElf66
ruiwenge2

@JeffreyChen13 actually it does, because you can't set cookies in an iframe

CodingElf66

@ruiwenge2 Right I understand.

HehehBuddy

noice'

ruiwenge2
JamieMcI

No one cares

JadenTang1

@JamieMcI Dude Chill

DynamicSquid

@JamieMcI Try to be a little nicer on Replit, thanks :)

ruiwenge2

i think some people do care @JamieMcI

JadenTang2

10-0 without moving :P(happy birthday)

JadenTang2

@JadenTang2 By the way can you update it so the ball first goes to the computer(you have to guess on the first run, with a low rate of hitting)

JadenTang2

@JadenTang2 and then another 10-0 :P

kannibalistic

@JadenTang2 btw is this you? jadentang 1 and 2?

VulcanWM

light mode damn @kannibalistic

kannibalistic
FlaminHotValdez

@kannibalistic ew light mode

kannibalistic
kannibalistic

@FlaminHotValdez <will not take insults>

TrinityKarim

happy birthday!

Balraj6i11

Happy Birthday

mamulashvilimis

great job bro.

JadenTang1

Beat the computer without moving 😊

JadenTang1

@JadenTang1 Also Happy Birthday

JULIODIAZ1

I got absolutely smacked tossed and squashed like a grape @JadenTang1

ruiwenge2
ruiwenge2
JadenTang1

@ruiwenge2 BTW the score was 10-0

byronordolol

happy birthday

ruiwenge2
BaconErie

I'm able to play against my self XD. This is a great remix of Pong. Also, Happy Birthday!

ruiwenge2

thanks! @BaconErie