Coder Social home page Coder Social logo

rowinruizendaal / multiplayer-snake Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cmda-minor-web/real-time-web-2021

1.0 1.0 0.0 7.79 MB

๐Ÿ Multiplayer snake game ๐Ÿ

Home Page: https://realtime-web.herokuapp.com

License: MIT License

CSS 20.08% SCSS 28.83% JavaScript 17.71% EJS 33.39%
multiplayer-game snake-game socket-io

multiplayer-snake's Introduction

Hi there ๐Ÿ‘‹

https://github.com/RowinRuizendaal/github-readme-stats https://github.com/RowinRuizendaal/github-readme-stats

Tech and Tools

Current favourites

Svelte Vue.js Nuxt.js Node.js

Other tools I use

React Html5 CSS3 Javascript Figma Sass MongoDB Express Python

"The best error message is the one that never shows up."

Racoon

trophy

multiplayer-snake's People

Contributors

joostf avatar ju5tu5 avatar koopreynders avatar lukasvan3l avatar razpudding avatar rowinruizendaal avatar

Stargazers

 avatar

Watchers

 avatar

multiplayer-snake's Issues

Lost instantly, not enough time to move

It seems like the speed is very high, I couldn't even move before already losing the game.

Maybe consider showing the snakes on the countdown, so the user knows where their snake is.

Shoutout

Can I have a shoutout, please?

Data flowchart niet volledig

Het lijkt er naar mij op dat de flow in je chart niet helemaal correct is. Er wordt bijvoorbeeld vanuit de server een nieuwe positie gereturned, alleen lijkt het er op deze manier op dat deze nooit bij de client terecht komt

Peer review

Peer review

Repository

  • Repository heeft nu nog de standaard RTW naam, als je een naam voor je project hebt kun je die aanpassen in de settings
  • Er is een beschrijving van het concept aanwezig die erg goed is
  • Live link is aanwezig
  • Ik zou code meer bundelen in een /src folder. Nu staan er losse .js bestanden in de root
  • Er is een dataflow aanwezig, maar voor de rest nog geen API beschrijving, real-time events or install notes

Concept

  • Ik begrijp wat de app doet vanuit de beschrijving
  • De app staat live en werkt ook al voor een best groot deel. Ik kon zelf het spel niet in mijn eentje spelen, maar ik kon wel al in een room en zag op 1 scherm dat ik won en op het andere scherm dat ik verloor
  • Ik denk als je dit goed werkend krijgt dat er weinig meer aan toegevoegt hoeft te worden, het zou zo al super vet zijn!

Data life cycle

Data life cycle is uitgebreid, ik zie alleen niet gelijk het verschil tussen API calls & websockets verbindingen. Dit zou nog beter kunnen met kleuren

Real-time events

Nog niet aanwezig.

API info

Nog niet aanwezig

Code comments

  • Ik vind het heel netjes opgezet met duidelijk onderscheid tussen normale variables en de constantes van de game (in ALL CAPS)
  • Er zijn wel veel (vind ik) onnodige enters in de code, maar ik begrijp dat dit per persoon verschilt
  • Misschien zou je nog kunnen kijken naar Babel om ES6 import en export bijvoorbeeld te gebruiken

Rematch didn't work

When both players clicked rematch, nothing happened, also no feedback that it went wrong.

Consider moving some functions out of server.js

It may be a personal thing, but I think a server becomes easier to read/understand when you can quickly see what is called when. Functionality behind it, the functions, can be outside the main js file.

Remove course

Consider removing the folder "course", so your application looks more like your own project.

readMe mist beschrijving

App beschrijving mist en eigenlijk vrijwel alle andere beschrijvingen, zoals externa data, real time events, etc.

README on snake branch too scanty

I'm a nerd, so I know what snake is. If i were to go to my friends, they don't really know what snake nor the goal is. Add a description that explains how the game works!

README can be more organised

I'm a bit confused on where to find information about the application. The first week where we implemented a live chat on our team page would fit better on your wiki, since it has little to do with the current project :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.