Giter VIP home page Giter VIP logo

multiplayer-hangman's People

Contributors

aayanqazi avatar abderra7 avatar gavinmccormack avatar jgierer12 avatar jnelson180 avatar kaceygambill avatar kenavr avatar michaelney avatar nawazishali avatar prettierci-commits avatar rokoala avatar spaceoso avatar tor020 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

multiplayer-hangman's Issues

Separate DOM updates from clientSocket.js/clientGame.js

clientSocket reads some information directly from the DOM - I think mostly due to the fact that the clientGame controller isn't set up to send data back or initiate events on it's own.

clientGame.js is mostly clean now, but generally speaking it shouldn't do any DOM manipulation either.

Create profile menu

Create a small user menu that has options for changing the user name, changing room, and a bit of wiggle room for anything else we might think of.

Update document.querySelectorAll element selectors

At the moment I've changed a good portion of the getElementByID to querySelectorAll()[0]. This is essentially the same thing, but any DOM actions we take on these should be applied to all elements ( i.e we remove the [0] ).

i.e we should be able to create two objects with a data-online-players attribute and they both display players without any extra finangling

Separating view logic from game logic

The current back end code is pretty much a god object in store.js

Things that affect the front end shouldn't be mixing directly with the back end code, as this will make life harder for people just working on one specific side of the project.

This will need quite a bit of cleaning up, but if you'd prefer to work on something with the existant code I'll refactor this ( and anything you add )

Website unavailable?

Hello everyone,
it is just me or does it seem to be both the case that:
1.) The website (assuming it was once hosting the game itself) is no longer there?
2.) The project has been abandoned?

I am on search for multiplayer games I can play together with my closed-off community online.

Have a good time, whoever is reading that.

Illustrate us a hangman! (or hangpig)

We'll need a decent looking hangman created.

For example this can be done in illustrator and exported as an SVG. Each part will have to be one complete path/shape, and ideally each layer will contain one part. These translate into manipulatable DOM objects so will allow us to play with the end result using basic CSS and Javascript. Fun.

I've included an example in the current iteration, just to give a feel for it.

Animate letter drop ins

Animate the "correctGuess" process by bringing the letters on the screen in a fun way.

Woosh. Shazam. Kablam.

Creating a logo ( or intro banner )

We don't necessarily need, but could use a fun logo to use either in the top left corner of the site, or as an intro/loading page.

Happy to accept animated logos in any fashions, or other ideas if there's anything someone would like to try.

Network Implementation ( Making it actually multiplayer ! )

If someone could grab me on discord who's interested in implementing the basic networking aspects of this.

Sockets.io seems to be the consensus and fits better than WebRTC, so I'd like to go for that.

Given this is one of the primary functions of the project, it would be good to get this (and a UI update) out so that we can have something nice to wave around and lure in contributors.

Someone willing to work on a rough draft of the UI needed

Get in touch on the discord to get assigned, and I'll kit you out with wireframes.

Generally speaking there'll only be two 'views' ( both on the same URL ). If you only want to do part of it, I'll happily take over where you leave off.

If it looks good, it'll encourage people to work on it !

Multiple games

Create functionality in the clientSocket to allow us to host multiple games simultaneously

Solve socket build errors

"""
The solution that works without changing the build process is requireing the socket.io-client in clientSocket.js

var io = require("socket.io-client");
var socket = io('http://localhost:5000');

That tells webpack that it should add it to the bundle
In that case you don't need the socket.js file at all and you don't need to load it separately in the index.html file
I guess I could change the babel config so everything is put back on global. let me know what you think is the way to go
"""

ken

UX Issue, Enter key not working on input button.

I think It would be a better UX if user would be able to submit the input using keyboard. And typing and clicking on submit button can quickly frustrate the player.

I would love to take this issue and make a PR. If you are OK with it?

Fullscreen Layout

The current layout of logo/game window/word entry/sidebar/contents doesn't handle all screen sizes very well.

Will need some responsive work !

Set up node routes properly

There is a specter of node routes in the current version, however in reality it's just loading an index.html in the base directory.

It would be good to get this working for the sake of having a template language even if it's remaining a single page site.

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.