Skip to content
← Back to Community
My First Online Multiplayer Game :D
Profile icon
CodeSalvageON

This is my first attempt at creating an online multiplayer game. I will be creating another one, so leave your suggestions and thoughts down below!
Official Discord Server: https://discord.gg/VQvB9Cu

Voters
Profile icon
HBthePencil
Profile icon
HarrySmart1
Profile icon
AlexanderChang2
Profile icon
DanielZur
Profile icon
ZackZombiezzz
Profile icon
davidyu9
Profile icon
angrydoge
Profile icon
Meffeka
Profile icon
Soccer135246
Profile icon
Leroy01010
Comments
hotnewtop
Profile icon
studentAlfredAl

Wow, what a pro. 1782 lines of code as well! You worked really hard, and the result is amazing. Keep up the superb work! :D

Profile icon
CodeSalvageON

@studentAlfredAl thank you :D

Profile icon
studentAlfredAl

No problem! :) @CodeSalvageON

Profile icon
1Dagree

ummm i prefer COD...

Profile icon
8D_Joe_Efretuei

@Uzalii 😂😂😂

Profile icon
CodeSalvageON
Profile icon
1Dagree

@CodeSalvageON EPIC PROJECT THO!
When it gonna be on app store?

Profile icon
CodeSalvageON

@Uzalii lmao i dont think its good enough to be on any store lol

Profile icon
1Dagree
Profile icon
HerculukeZeEpic

This is awsome!

btw could you please make the error stop when I create a faction?
my faction is POTATO POWERS

Profile icon
CodeSalvageON

@HerculukeZeEpic the problem seems to stem from curl itself. I will fix it in the next game :)

Profile icon
alextotoro1

@CodeSalvageON
Cant wait. I'm currently dying because I can't make one.

Profile icon
JuanR4140

teach me python networking or ill literally drink milk

Profile icon
CodeSalvageON

@JuanR4140 connect to a server

Profile icon
JuanR4140
Profile icon
DynamicSquid

@JuanR4140 why don't you drink milk already? ArE yOu OrAnGe JuIcE GaNg?

Profile icon
HahaYes

@DynamicSquid please no more Dani references... DRINK YOUR MILK

Profile icon
Cookiezz

@JuanR4140 According to www.medicalnewstoday.com, calcium is an essential nutrient for strong bones and teeth, muscle movement, and nerve signals. Health authorities recommend getting enough calcium to help prevent bone fractures and osteoporosis. Milk offers a rich source of calcium.
So drink your milk! 🥛

Profile icon
JuanR4140

@DynamicSquid I am not orange juice gang, they are cringe

Profile icon
JuanR4140

@Cookiezz if milk is so good, imagine what the media says about orange juice :p

Profile icon
Cookiezz

@JuanR4140 lol good point

Profile icon
techgeek680

dude im vegan @Cookiezz

Profile icon
Cookiezz

@techgeek680 😶 ok makes sense... well Drink almond milk! :D

Profile icon
techgeek680

i LOVE almond milk! :-) XD. Good Idea!!!!! @Cookiezz

Profile icon
Cookiezz
Profile icon
techgeek680
Profile icon
ChezCoder

@techgeek680 nut milks make me want to barf 🤮 :(

Profile icon
techgeek680
Profile icon
RaidTheWeb

@techgeek680 I like rice milk

Profile icon
techgeek680
Profile icon
ShivankChhaya

Why did you make a ship name a swear word? I do not like this repl anymore.

Profile icon
CodeSalvageON

@ShivankChhaya I didn’t make it

Profile icon
ShivankChhaya

@CodeSalvageON oh yes. I forgot! Its online so somebody else made the name?

Profile icon
CodeSalvageON
Profile icon
ShivankChhaya

@CodeSalvageON OHMYGOD! Somebody named their ship a swear word!

Profile icon
CodeSalvageON
Profile icon
Jakman

@ShivankChhaya are you 5? Who cares what words one uses to express themselves?

Profile icon
ShivankChhaya

@Jakman First, I am 10, Second I wouldn't care if it wasn't a swear word.

Profile icon
Jakman

@ShivankChhaya who calls them swear words bruh.

Profile icon
ShivankChhaya

@Jakman huh?

Profile icon
Jakman

@ShivankChhaya you said i don't like this repl anymore. What kind of [Vulgarity removed by moderator] is that?

Profile icon
ShivankChhaya

@Jakman You have been reported.

Profile icon
Jakman

@ShivankChhaya alright. Ill see about that

Profile icon
ShivankChhaya

@Jakman I already reported.

Profile icon
Jakman

@ShivankChhaya I dont care

Profile icon
ShivankChhaya
Profile icon
Kognise

@Jakman Hey, please try to be kind and respectful to fellow replers!

Profile icon
Jakman

@Kognise I will tell it how it is. No more no less.

Profile icon
[deleted]

@Jakman Be nice, and don't swear.

Profile icon
ShivankChhaya

@eekboi wait. im getting replies now??

Profile icon
[deleted]

That's so cool. And a that's a lot of code. I can see that a lot of effort was put into this project. Good Job!

Profile icon
CodeSalvageON

@Twitchmmanikan thanks! :D

Profile icon
RiazuMacroni

Great game dude. Really dig the concept of creating an actual multiplayer game on the console with Python. Good job man. o( ̄▽ ̄)d

Profile icon
CodeSalvageON
Profile icon
BobNeo

Wow 17 installs. Cool game!

Profile icon
CodeSalvageON

@BobNeo thx dude

Profile icon
[deleted]

image

i am left speechless

Profile icon
CodeSalvageON
Profile icon
DungeonMaster00

i cant believe it

THE FIRST SHIP I FOUGHT WAS NAMED A SWEAR WORD

Profile icon
CodeSalvageON
Profile icon
Rithaquick
Profile icon
YeetMstr

Me coding simple dungeon

Looks at this game

Me: Rip

Profile icon
CodeSalvageON

@epicman702 your game is really fun btw :D

Profile icon
YeetMstr
Profile icon
DAksh07

Make pubg

Profile icon
nicho29

it takes so long for it to update everything but still an epic game

Profile icon
mesquite2234

How did you make it online? Is there a good tutorial?

Profile icon
CodeSalvageON

@TommyVictory connect it to a database

Profile icon
mesquite2234

@CodeSalvageON How? I'm asking because I want to make something like this.

Profile icon
CodeSalvageON

@TommyVictory Basically what I did was I sent POST and GET requests from the console to a PHP server (also built on repl.it) using curl and the os module for python.

Profile icon
mesquite2234
Profile icon
maxina

that is a lot of imports

Profile icon
CodeSalvageON

@maxina people still look at this?

Profile icon
maxina

@CodeSalvageON lol I just look look through the most upvoted

Profile icon
cowboyyall10

lxml is not a package. change it to just import html. that should work.

Profile icon
BREACHERGN

just in combat is impossible to know enemys health?

Profile icon
CodeSalvageON

@BREACHERGN Nah, I didn’t code it in

Profile icon
BREACHERGN

it takes insane amount off time bit worth it

Profile icon
[deleted]

wow o_o. keep up the amazing x 5 trillion work!

Profile icon
Meffeka

bruh this is great. I have tried many times to break it, BUT IT IS UNBREAKABLE!!! fun game!!

Profile icon
CodeSalvageON

@Meffeka thanks! XSS fails due to the way the database stores the data and the way the game parses the received data. However, the game is heavily dependent on the client itself to do all the heavy lifting, hence the game's slowness.

Profile icon
Soccer135246

oh yeah and also people keep on naming their ship swearwords. I met the USS F**k

Profile icon
Soccer135246

GREAT. JUST GREAT. I AM AT A LOSS OF WORDS.

Profile icon
Leroy01010

sooo coool

Profile icon
AustinZhang1

I fought myself?!

Profile icon
CodeSalvageON

@AustinZhang1 Oh that was because of a simple flaw I had in my code. Looking back on it, I could’ve fixed it quite easily. Sorry about that.

Profile icon
Pyth0nline

You work really hard... o.0

Profile icon
CodeSalvageON

@Pyth0nline thank you!

Profile icon
Pyth0nline

@CodeSalvageON Wait how did you respond in under 30 min?

Profile icon
Pyth0nline

@CodeSalvageON Do you constantly monitor your game?

Profile icon
CodeSalvageON

@Pyth0nline im coding something rn

Profile icon
CodeSalvageON

@Pyth0nline nah dude this project is old

Profile icon
Pyth0nline
Profile icon
dragonslayor

nice, i like the game

Profile icon
CodeSalvageON
Profile icon
alextotoro1

Me: writes 5 lines of code: this is so tiring
Him: writes 1782 lines of code, making a really great game
Me: :0 how???
P.S. This is the best game ever created with WORDS AND SYMBOLS!!!! P.S.S. This is my computer background now.

Profile icon
CodeSalvageON

@alextotoro1 thank you for your kind comment! I am flattered that you made my game your computer background xD

Profile icon
alextotoro1

@CodeSalvageON I made a stop-motion by taking several screenshots and making my computer switch through them ever second. Everyone thought I was off task when I was just looking at my screen. (Great graphics, they recognized it was a space ship)

Profile icon
CodeSalvageON

@alextotoro1 nice!
Sources for the graphics are in credits.txt

Profile icon
alextotoro1

@CodeSalvageON

:)))))))))))))))))))))))))))))))))))))))))))))))))))))) yay!

Profile icon
BrandonKeele

Its very cool kinda weird to play but still pretty cool and fun :D

Profile icon
CodeSalvageON
Profile icon
BrandonKeele
Profile icon
CodeSalvageON

@BrandonKeele I suggest using this client someone made for 1v1s
https://repl.it/talk/share/StarCrap-Modded-Client/41008

Profile icon
BrandonKeele
Profile icon
VulcanWM

I'm trying to make a multiplayer game, where everyone has to contribute to defeat the villain. The problem is that only the people who have access to edit my game's data is being saved. Is there a way to make my game multiplayer, like you did with yours?
My game

Profile icon
CodeSalvageON

@VulcanWM there are two ways to approach this. You can either do a competition-style game where the players each attempt to defeat the villain at their own pace, and the more damage they do, they move up the leaderboard, or a realtime game(Not recommended) where each player fights the villain at once.

Profile icon
VulcanWM

I know what you mean. I just need a way to connect all the user data with it being saved @CodeSalvageON

Profile icon
CodeSalvageON

@VulcanWM you need to make a database

Profile icon
VulcanWM
Profile icon
dillonjoshua68

@CodeSalvageON , if you learn c++ it would be amazing, totally recommend it, especially for building games

Profile icon
dillonjoshua68

Further research show, it aids you in grasping other languages, such as C#, and other object-oriented programming languages

Profile icon
CodeSalvageON

@dillonjoshua68 yeah totally! I’m learning C and C++ right now

Profile icon
dillonjoshua68

@CodeSalvageON Nicuu dude... I’m gonna learn c++ t00 after I get a gud understanding of python, since I’m a rookie, I’m in my 1st year of computer
science, so we didn’t learn much, just the basics

Profile icon
dillonjoshua68

@dillonjoshua68 btw, which section of programming are u particularly interested in? I’m interested in cyber security

Profile icon
dillonjoshua68

@dillonjoshua68 and since you’re learning C and C++ together, it’ll be good for u, especially when u learn c++ (according to research made) it helps you in grasping other object-oriented programming languages.

Profile icon
CodeSalvageON

@dillonjoshua68 network programming :)