Share your repls and programming experiences

← Back to all posts
July Competition: Create Multiplayer Games
timmy_i_chen (1180)

We're bringing back competitions, and this one is all about Multiplayer Games!

Previously we shared Hop Fighter by @kaldisberzins as a shining example. He kindly created an example of how to create a similar game using Node.js and websockets. Feel free to check out and fork his sample game here. Your game can be in any language!

How To Submit

Submit by posting your repl link to this board:

How To Win

Get the most votes by the end of the competition: Aug 14, 2018.


First Place: $100 Amazon Gift Card
Second Place: $50 Amazon Gift Card
Third Place: $20 Amazon Gift Card
Team Favorite (picked by team): $20 Amazon Gift Card.

Additionally, winners will be featured in our newsletter!

Additional Rules

  • Your work must be your own - you cannot plagiarize
  • Vote manipulation in any form will get you disqualified
  • Don't ask for votes outside of your submission
MeichenDong (6)

Does it count as "asking for votes outside my submission" if I post links to the game somewhere else?

PYer (4012)

What is the team favorite?

LiamChurchill (3)

@fullern000 I assume it's like "Hey this game didn't get the most votes but wow is it good" consolation prize

timmy_i_chen (1180)

@LiamChurchill Yup that's pretty much it. If someone took all three weeks to make a super awesome game that didn't win the most votes, it should be recognized too. :)

AyodeleDavid (2)

@timmy_i_chenTim i am truly sorry for the comment i made please forgive me and add me back to the discord server

vedprad1 (913)

It's been pretty much a week since the challenge has ended and nobody has gotten their prizes yet.

timmy_i_chen (1180)

You should be expecting an email today :)

AmeliaBlackwell (1086)

oo okay time to learn how to make a multiplayer game in python! this is gonna be fun :) thanks for doing this!

JakobNacanaynay (36)

@AmeliaBlackwell Try a text-based adventure game that uses if statements as different paths. Then try making a simplified version of an existing game like the Oregon trail.

JakobNacanaynay (36)

What are the qualities of a game that are most important to the repl team eg: originality, ease of game play, difficulty of code.

timmy_i_chen (1180)

@JakobNacanaynay All of those! We ran a Code Jam on our discord for Single Player games and this was the clear winner: original, easy to learn and play, and somewhat complex code:

AlexAquila (34)

To what extent of copying code is considered plagiarism? For example, being entirely new to JS, I am following along with a tutorial to set up the complete basics like setting up a Canvas as the game screen and I'm using a few snippets from StackOverflow that can't really be "paraphrased" due to it being so simple. However the core concepts in the game are all written my me as well as the design. Do either of these scenarios disqualify my game?

timmy_i_chen (1180)

@AlexAquila Both of those are fine, but you should provide credit where it's due. Grabbing snippets from SO is totally fine.

JakobNacanaynay (36)

Does no plagiarism mean it has to be an original game or does it mean original code. I don't want to seem mean to the people making games from existing games, but I was just wondering.

timmy_i_chen (1180)

@JakobNacanaynay Original code. You can recreate existing games. :)

AlexAquila (34)

Does local multiplayer count or does it have to be online?

timmy_i_chen (1180)

@AlexAquila Local MP is absolutely fine :)

AnouS (16)

Gawd! This challenge is forcing me to learn how to make a multiplayer game with python! Gonna be an experience to remember! (Hopefully in a good way) The prize Though! My Mom would like die with amazement if i got an amazon gift card!

timmy_i_chen (1180)

@AnouS It's all about the learning experience ;)

2IsAPrimeNumber (28)

There is a common mistake in this game. When a player presses two buttons at once (for example, "w" and "a") the player moves twice as fast. "W" changes the y position positively, "A" changes the x position negatively, "S" changes the y position negatively, and "D" changes the x position positively. When two of these buttons are pressed, the player is changing both the x position and y position, thus resulting in the player moving twice as fast as if the player were just pressing one button. To solve this, the server needs to know if the player is pressing two buttons, and if that's true, it'll change the x position or y position by the player's normal speed divided by two. Now, if two buttons are pressed, the game will change the x position and the y position by half, so the player moves just as fast.

vedprad1 (913)

@2IsAPrimeNumber Actually, if you do the math, the object is moving square root of 2 times as fast (use the Pythagorean Theorem).

Voxel_Games (0)

"Your game can be in any language!"
Are we allowed to post a game made with Pygame which doesn't run in Replit?

timmy_i_chen (1180)

@Voxel_Games It has to be made on, sorry :(

CSharpIsGud (1031)

Quick note, you misspelled multiplayer on the posts page, and the 404 on this page?

skull_is_dull (42)

i can imagine the game shown above being very competitive with friends

IbraheemRodrigues (89)

Would using feedback from play testers be considered 'not your own work'?

timmy_i_chen (1180)

@IbraheemRodrigues Absolutely not - we encourage you to get people to playtest your game and incorporate their feedback. :)

IbraheemRodrigues (89)

@timmy_i_chen Thought not, but wanted to be absolutely sure. Thanks!

AlfredHorg (0)

I have a game, but the instructions above tell me to submit my "repl link" to it. I do not even know what a "repl link" is. All I have is a link to my game on Google Drive.

timmy_i_chen (1180)

@AlfredHorg The game must be made on - you can make a new repl here:

OwenBradstreet (128)

Does it have to be visual, and does it have to be in node.js / web-based?

timmy_i_chen (1180)

@OwenBradstreet Nope and nope! @21natzil just submitted a python text-based online multiplayer tic tac toe game :)

PuspitaDasroy (5)

I have one more question, is it okay if I use gifs from online into my game?

timmy_i_chen (1180)

@PuspitaDasroy Mmmmmm I think as long as you have the rights to (e.g. you own it, or its license permits you to do so), then yes.

timmy_i_chen (1180)

@timmy_i_chen I believe this counts as "non-commercial use" as well :)

PuspitaDasroy (5)

wait so it's okay to do multiplayer from one device right? I'm not good at coding of any sort I just learn from the web so I don't know how to do multiplayer from multiple devices like kahoot is that fine

mmcdermotttcsp (23)

hey learned how to make a game from the coder school and made it my own a bit. Would I still be kicked from the contest???

AlephZero (348)

Awesome! Question - does the game have to be online, or can it be local multiplayer?

JSer (84)

Thanks @kaldisberzins for getting people into Node.js

15nalaas (36)

Rules are in place awesome, no more misconceptions!