owenashurst / agar.io-clone

Agar.io clone written with Socket.IO and HTML5 canvas
MIT License
2.89k stars 1.13k forks source link

Seperate player logic from game logic #535

Closed CoderJoeW closed 1 year ago

CoderJoeW commented 1 year ago

This would be the start of separating the code into responsibilities that can be easily extended

owenashurst commented 1 year ago
  • Additionally I have replaced hardcoded values with constants

Thanks for the contribution! Merged.