MULTISNAKE - Featuring: Snek: 🐍 with PRIVATE ROOMS: Share the link with your friend and PARTY🥳
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:
- A wall block is spawned every 5 points. Dont run into it.
- 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
ya. Its at 10% now... ;( @ruiwenge2
@sojs try dealing with 3%
"Dealing with 3%"? @aaaaaaaaaaaaaaaaaaaaaaaaaaaa
your username is a work of art @aaaaaaaaaaaaaaaaaaaaaaaaaaaa
@sojs yeah my friends posts only 3% upvotes
oh thats not very good. @aaaaaaaaaaaaaaaaaaaaaaaaaaaa
yes, it truly is @aaaaaaaaaaaaaaaaaaaaaaaaaaaa @Leroy01010
ah gosh darn it. @ruiwenge2
Where are you getting that from @ruiwenge2
multipong => multisnake?
nice game!
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
Thanks so much! @MosesTYLi
Very Nice @ch1ck3n
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
yup. Got to wait a tick before turning. @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
hmmm.. im not sure... I will work on one though... in node.js though not sure if you'll like that. @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
okay, cool! It is the same syntax and things... but it uses another thing called modules. find a tutorial here@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
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. @SeamusDonahuethanks! @sojs
@sojs @SeamusDonahue i’ve made one on socket.io: https://replit.com/talk/learn/SocketIO-Tutorial-What-its-for-and-how-to-use/143781
hope that helps
if the game is laggy maybe try requestAnimationFrame
?
ah no because I need it to run every 200ms, not 60 FPS. @ruiwenge2
doesn't work for me
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
NP! @rickysong
@sojs woah man, u good?
im fine? @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
ah haha ya. @BabyBoy666
It's working now!
yup! @CodingElf66
wait @CodingElf66 your that terminal chat guy? I just realized that!
@sojs Yeah I am!
@sojs Now we both celebrate together for being on REPLIT TALK (SHARE) HOT! Let's go! Hope we go on Trending!
cool! @CodingElf66
oh ya! Cheers 🍻!! @CodingElf66
@sojs We both made it to Trending yay! Congrats to you!
really? Cool! @CodingElf66
updoot this or I uproot all the trees in this world
MultiPong and MultiSnake r da bes
@ruiwenge2 POGGERS
@ruiwenge2 if u don't mind, is it 9:56 pm in ur timezone?
@ruiwenge2 ooh, u live in nyc?
haha thats a good [email protected]
haha cool! @ruiwenge2
doesnt work
man. Yes it does. there are no bugs. it is at https://multisnake.xyz @georgebarberFUN
Cannot open the page because it could not establish a secure connection to the server.
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
How do I fix it [email protected]
Yes, that's were I [email protected]
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]
Directly to .xyz was the only one that [email protected]
hmmm. Ill look into [email protected]
multisnake.xyz. Not .sojs.dev. @Alfaheimr
H12fdsssssssss
no idea what that means. @TheOceanFace
its really fast
@Tylerjusfly Try to use other words like "really" :)
@DynamicSquid haha...sorry my bad
:) hah [email protected]
it makes it super fun! @Tylerjusfly
Umm, I can't login to Socialrumbles i'm using the right email/username and password
hmm. Ping @RedMan2Man @GordonHuang4, he is the creator.
@GordonHuang4 did you verify your email? nvrmind it seems it is working for you now, are you the user MinecraftIsCool?
come on people! 10 more upvotes! lets go!
okay cool! Also, if you want to join the multisnake discord, here is the link: https://discord.gg/Np7vBvEtp2 @QuickV
wow holy crap. Its cleared now... somebody [email protected]
haha. @rickysong
yes, but thats not multiplayer. @dylanlovestocode
kjhkhjkjsgjk,hfdgjkhdsdfghjhgfghjhg
started up the game and immediately died. anytime I try to continue is immediate death too
yup. A block spawned right in fron of the spawn. Just put in new constraints so that wont happen again. @doveflight663
MY MAN STOLE MY IDEA
jkjk although I did think of making a multiplayer snake game (didnt make it tho)
very nice!
very good :)<3
Thanks! @SediaBagnata
I'm the 69th upvoter O_O Cool game btw
thanks! @VXZELL12345
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
Nice song bro!
@BillNyeScience
@BillNyeScience haha I'm not sure if Bill Nye the Science Guy even knows coding lol.