Skip to content
← Back to Community
MULTISNAKE - Featuring: Snek: 🐍 with PRIVATE ROOMS: Share the link with your friend and PARTYπŸ₯³
Profile icon
sojs

HELLO EVERYONE!!!

Here we have...

MULTISNAKE

The frick is multisnake?

Multiplayer snake?

The epitome of months (a couple days) of hard work. Made through my sweat, tears and blood, I give you....

Multisnake!

wait thats the second time i done that...

Anyways!

Play with either WASD of ARROW KEYS.

Most people will be in the public room, but when your playing this with friends, you can create private rooms.

SPACE key to use boost. Boost sucks up one apple every time you use it (if you hold it for a while you will lose a lot of apples).
Boost makes you go 2 squares instead of one, making you go twice as fast.

Winning the game:

Get to 10 to win

it has been changed to 10

Losing the game:

Run into yourself, another player, walls, or exit the board and you lose

Other things:

  1. A wall block is spawned every 5 points. Dont run into it.
  2. FPS is crazy to block AIs (It is impossible to tell how fast the next loop will come). Luckily, our human intuition allows us to make up for that (something that would be hard to code into an AI).

Yay thats fixed!

I am working on this... have added a lot of things. please play on the test servers to see if you like them

Just kidding y'all. The FPS is bad cause I cant figure out how to make it fast

Dont worry though, I have increased the FPS consistency a ton but it presented some other bugs so I dropped it to post this.
Im forking the current repl and going to copy+paste once its done. (its done)

everyone UPDOOT (thanks @ch1ck3n)

Sorry to steal from you @ch1ck3n but its catchy

here is the github;

play here

test servers here

most of all, Have FUN!

UPDATE: YAY! 100 Upvotes! Thank you so much everyone!

UPDATE: YAY! 150 Upbotes! I thought max I was getting half that! Thanks everyone!

UPDATE LOG:

  • because of a request, blocks now spawn every 5 points. This makes it a whole lot more challenging!
  • Just added new update on managing dead snakes so the game will run a tinch bit smoother.
  • just added this: optimizing CPU usage (currently im running individual loop for every function - movePlayers(), checkWin()... and so on. Now I will centralize all that into one loop so it will be waaaay better. Stay tuned!
  • next up, and already on the tests servers, optimizing client side re-rendering. Done :)
  • and after that, a feature to vote to clear the board when there are too many blocks. (kinda cause it clears automatically after 1 hour of inactivity)

Just added this fancy new thingamajig. Go upvote the makers post. He doesnt have enough upvotes for what he has created

Join our Discord

svg files cannot be displayed: https://replanalytics.repl.co/track/002fb1ea-8ea4-4a3f-8a6f-70b4ad13e96d/countbadge.svg

Voters
Profile icon
SalangHayo
Profile icon
SethNorton2
Profile icon
jaxonfromkh
Profile icon
Alexander-Dariu
Profile icon
07-RiyaAntil
Profile icon
DuxxKkkk
Profile icon
ISAIAS4049911
Profile icon
RiverdaleSuperCoder
Profile icon
Cursive
Profile icon
2BAdrianAranda
Comments
hotnewtop
Profile icon
BillNyeScience

And since tis weejio game is so pog, I composed a song

Updoot Train is coming to town

You better watch out (For your safety, please stay away from train tracks)
You better not cry
You better eat apples
I'm telling you why
The updoot train is coming to town
It's making a list,
It's checking it twice,
It's gonna find out who's naughty or nice (sojs)
The updoot train is comin + n * 10000 + g to town

def checkappl():
if snek ate appl:
updoot += 1

Profile icon
sojs

Nice song bro!

@BillNyeScience

Profile icon
CodingElf66

@BillNyeScience haha I'm not sure if Bill Nye the Science Guy even knows coding lol.

Profile icon
ruiwenge2
Profile icon
sojs

ya. Its at 10% now... ;( @ruiwenge2

Profile icon
aaaaaaaaaaaaaaaaaaaaaaaaaaaa

@sojs try dealing with 3%

Profile icon
sojs
Profile icon
Leroy01010

your username is a work of art @aaaaaaaaaaaaaaaaaaaaaaaaaaaa

Profile icon
aaaaaaaaaaaaaaaaaaaaaaaaaaaa

@sojs yeah my friends posts only 3% upvotes

Profile icon
sojs

oh thats not very good. @aaaaaaaaaaaaaaaaaaaaaaaaaaaa

Profile icon
sojs
Profile icon
ruiwenge2

@sojs it's actually 3% now :(

Profile icon
sojs

ah gosh darn it. @ruiwenge2

Profile icon
hg0428

Where are you getting that from @ruiwenge2

Profile icon
ruiwenge2

multipong => multisnake?

nice game!

Profile icon
sojs

thanks! And also I had the idea for multi snake every since my first snake game with the AIs trying to kill you. It had nothing to do with your post (just clearing the air) @ruiwenge2

Profile icon
ch1ck3n

super laggy though ... nice so i updoot

Profile icon
sojs

YAY!

@ch1ck3n

Profile icon
SleepySid
Profile icon
sojs

Thanks!

Wow this is officially my most upvoted post

@SudhanshuMishra

Profile icon
SleepySid
Profile icon
MosesTYLi

This is probably the best innovation ever put into the Snake game. What impressive code, with the aesthetics and gameplay @sojs!!

Profile icon
sojs

Thanks so much! @MosesTYLi

Profile icon
MohammedNoorul

Very Nice @ch1ck3n

Profile icon
SeamusDonahue

very cool, although if you turn too fast (like if your heading left and you hit w then d) you run into yourself because the snake doesnt go up/down before turning right

Profile icon
sojs

yup. Got to wait a tick before turning. @SeamusDonahue

Profile icon
SeamusDonahue

one more thing: is there any good tutorials for making multiplayer games? seems like a lot of them don't work in the context of replit... or maybe im just dumb :P @sojs

Profile icon
sojs

hmmm.. im not sure... I will work on one though... in node.js though not sure if you'll like that. @SeamusDonahue

Profile icon
SeamusDonahue

from what I understand nodejs is very similar to regular js and I would be willing to learn some to make a multiplayer game @sojs

Profile icon
sojs

okay, cool! It is the same syntax and things... but it uses another thing called modules. find a tutorial here@SeamusDonahue

Profile icon
SeamusDonahue

a lot of that was just js syntax, the only new thing was require() which I haven't used before, is there a tutorial for making multiplayer within the context of replit? @sojs

Profile icon
sojs
Profile icon
sojs

I am making one right now called "making games with

". Wait a day or two for that one. Then you can apply the same concepts used in the first on to this one. @SeamusDonahue

Profile icon
SeamusDonahue

thanks! @sojs

Profile icon
sojs
Profile icon
ruiwenge2
Profile icon
ch1ck3n
Profile icon
sojs

thanks! @ch1ck3n

Profile icon
ch1ck3n

@sojs 420 is nice number

Profile icon
ruiwenge2

if the game is laggy maybe try requestAnimationFrame?

Profile icon
sojs

ah no because I need it to run every 200ms, not 60 FPS. @ruiwenge2

Profile icon
rickysong

doesn't work for me

Profile icon
sojs

go it to work again. Just a bug that occured when I rolled it back to solve another bug :) bug after bug after bug. Thats all my life is :) @rickysong

Profile icon
rickysong

@sojs ok thanks!

Profile icon
sojs
Profile icon
BabyBoy666

@sojs woah man, u good?

Profile icon
rickysong
Profile icon
sojs

im fine? @BabyBoy666

Profile icon
BabyBoy666

@sojs oh sorry i was responding to

go it to work again. Just a bug that occured when I rolled it back to solve another bug :) bug after bug after bug. Thats all my life is :)

just sounded like anxiety lol

Profile icon
sojs

ah haha ya. @BabyBoy666

Profile icon
CodingElf66

It's working now!

Profile icon
sojs
Profile icon
sojs

wait @CodingElf66 your that terminal chat guy? I just realized that!

Profile icon
CodingElf66

@sojs Yeah I am!

Profile icon
CodingElf66

@sojs Now we both celebrate together for being on REPLIT TALK (SHARE) HOT! Let's go! Hope we go on Trending!

Profile icon
sojs
Profile icon
sojs

oh ya! Cheers 🍻!! @CodingElf66

Profile icon
CodingElf66

@sojs We both made it to Trending yay! Congrats to you!

Profile icon
sojs

really? Cool! @CodingElf66

Profile icon
PixiGem

updoot this or I uproot all the trees in this world
MultiPong and MultiSnake r da bes

Profile icon
ruiwenge2

@PixiGem multiplayerbattlegame coming up! lol

Profile icon
ruiwenge2

@PixiGem and maybe multiplayerhangmangame :)

Profile icon
PixiGem

@ruiwenge2 POGGERS

Profile icon
ruiwenge2
Profile icon
PixiGem

@ruiwenge2 if u don't mind, is it 9:56 pm in ur timezone?

Profile icon
ruiwenge2

@PixiGem 1 hour behind that

Profile icon
PixiGem

@ruiwenge2 ooh, u live in nyc?

Profile icon
ruiwenge2

@PixiGem no pacific time zone

Profile icon
sojs

thanks! @PixiGem

Profile icon
sojs

haha thats a good [email protected]

Profile icon
sojs

Thank you, @PixiGem

Profile icon
ruiwenge2

@sojs lol I mean I’m working on it

Profile icon
sojs

haha cool! @ruiwenge2

Profile icon
georgebarberFUN

doesnt work

Profile icon
sojs

man. Yes it does. there are no bugs. it is at https://multisnake.xyz @georgebarberFUN

Profile icon
hg0428

Cannot open the page because it could not establish a secure connection to the server.

Profile icon
ruiwenge2
Profile icon
sojs

bunch of standard google BS. Click advanced then continue. Its cause https://multisnake.sojs.dev/ redirects https://multisnake.xyz and google doesn't like that. @hg0428

Profile icon
hg0428

How do I fix it [email protected]

Profile icon
hg0428

Yes, that's were I [email protected]

Profile icon
sojs

head directly to https://multisnake.xyz/. If it still doesnt work, try the old https://multisnake.sojs.dev/. It should display a message then redirect you. If that doesnt work and the message still appears, see if there is an advanced button, and click it. then "proceed to multisnake.xyz". If that doesnt work im not sure how to help [email protected]

Profile icon
hg0428

Directly to .xyz was the only one that [email protected]

Profile icon
sojs

hmmm. Ill look into [email protected]

Profile icon
Alfaheimr
Profile icon
sojs

multisnake.xyz. Not .sojs.dev. @Alfaheimr

Profile icon
TheOceanFace

H12fdsssssssss

Profile icon
sojs

no idea what that means. @TheOceanFace

Profile icon
TheOceanFace
Profile icon
TipToed

Awesome

Profile icon
sojs

thanks man! @TipToed

Profile icon
Tylerjusfly

its really fast

Profile icon
DynamicSquid

@Tylerjusfly Try to use other words like "really" :)

Profile icon
Tylerjusfly

@DynamicSquid haha...sorry my bad

Profile icon
sojs
Profile icon
sojs

it makes it super fun! @Tylerjusfly

Profile icon
GordonHuang4

Umm, I can't login to Socialrumbles i'm using the right email/username and password

Profile icon
sojs

hmm. Ping @RedMan2Man @GordonHuang4, he is the creator.

Profile icon
dheiryat

@GordonHuang4 did you verify your email? nvrmind it seems it is working for you now, are you the user MinecraftIsCool?

Profile icon
sojs

come on people! 10 more upvotes! lets go!

Profile icon
QuickV

Idea:

Snake 2 - Where the apple chases you and you have to hit the AI which is constantly running away .-.

Profile icon
sojs

ohhhh... that could be fun. Good idea! @QuickV

Profile icon
QuickV

Snake II | Apple Unleashed

Game Title^

I beg thine to make it.... You must with a title as good as that xD

@sojs

Profile icon
QuickV

I was originally going to make it myself but I have no idea how loloolololololoo

@sojs

Profile icon
sojs

haha sure ill try and make it! All credits for the idea to you! @QuickV

Profile icon
sojs

you can fork my impossible snake repl and mess around with it, the framework is all there, you would just need to change a couple things. @QuickV

Profile icon
QuickV

I mean originally from scratch, though I'll try messing around with everything lol.

@sojs

Profile icon
QuickV

haha sure ill try and make it!

So it as been confirmed, it's coming SOON .-.

All credits for the idea to you!

yay you liked the idea that doesn't even make sense in my head lol

@sojs

Profile icon
QuickV

Maybe the apple can chase you across the repl.it interface?

Kind of like Animator V.S. Animation, but it's Player V.S. Apple lol

@sojs

Profile icon
sojs
Profile icon
sojs

okay cool! Also, if you want to join the multisnake discord, here is the link: https://discord.gg/Np7vBvEtp2 @QuickV

Profile icon
sojs

Yup, thanks! @QuickV

Profile icon
QuickV

silently wishing she had discord

Yeah I don't have discord sadly lol

@sojs

Profile icon
QuickV
Profile icon
sojs
Profile icon
QuickV

ye .-.

@sojs

Profile icon
rickysong
Profile icon
sojs

wow holy crap. Its cleared now... somebody [email protected]

Profile icon
rickysong

@sojs that was like hell :/

Profile icon
sojs
Profile icon
Coder100

why didn't upvote? hm

nice

Profile icon
sojs

thanks! @Coder100

Profile icon
dylanlovestocode
Profile icon
sojs

yes, but thats not multiplayer. @dylanlovestocode

Profile icon
CodingChampion1

kjhkhjkjsgjk,hfdgjkhdsdfghjhgfghjhg

Profile icon
doveflight663

started up the game and immediately died. anytime I try to continue is immediate death too

Profile icon
sojs

yup. A block spawned right in fron of the spawn. Just put in new constraints so that wont happen again. @doveflight663

Profile icon
BaconErie

MY MAN STOLE MY IDEA

jkjk although I did think of making a multiplayer snake game (didnt make it tho)

very nice!

Profile icon
SediaBagnata

very good :)<3

Profile icon
sojs
Profile icon
VXZELL12345

I'm the 69th upvoter O_O Cool game btw

Profile icon
sojs