Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Match.com #34

Open
jacobsorme opened this issue Oct 27, 2017 · 4 comments
Open

Match.com #34

jacobsorme opened this issue Oct 27, 2017 · 4 comments
Milestone

Comments

@jacobsorme
Copy link
Owner

SOoo fixing a real match - should it have a "owner"? 🏁 I think the match should be 21 hits = lost! However, it is confusing to win with least "points".. A chat? Spectate? Where should the players start? What should happen when there is only one player - before the other dude joins? Should there be only a maximum of two players? What should happen when the match is done?

@jacobsorme
Copy link
Owner Author

The join-a-room thing in app.js is pretty shetchy btw...

@jacobsorme
Copy link
Owner Author

Make the server-stuff object oriented? Like instead of player.name = ... and player.id = ... have like player.init( ... and have player be a var player = new Player(). Also - for app.s to get access to a .js file one will need module.exports ... . Can that be written in a file for the index.html? Like have all classes in one file - that the client and server both use? 💯

@jacobsorme
Copy link
Owner Author

Yoo the setup for a match is quite delicate - one will need to do some comments! There will probably be some back/forth with sending etc. Define and write down that procedure! 💯 ⏬ ⏫ 🏹

@jacobsorme
Copy link
Owner Author

bild
The div-setup for 1) #content, 2) canvas, 3) console and 4) controls

@jacobsorme jacobsorme modified the milestone: 1.0 Nov 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant