pantuza / node-pong

Classic ping-pong game using nodejs, socket.io, canvas and javaScript
7 stars 6 forks source link

No Event listeners for paddle to move #1

Open keaton-codes-tech opened 8 years ago

keaton-codes-tech commented 8 years ago

I don't seem to see any event listeners for mouse or key press to control the paddles.

The paddles don't move. Is this still a feature to be coded?

pantuza commented 8 years ago

@oldbootz This project is under refactoring. Previously, it was only one file with global variables. About your question, yes, there is a mouse bind for controlling the paddles. But, because of the current status of the refactoring, it is not working properly:

I'm separating responsibilities about:

So, as you can see, there is a lot of stuff to refactor in this project. If you want to join me to put all of this thing working well, you will be welcome.

Regards,