timadye / werewolf

Oxford Werewolf game
https://oxford-werewolf.eu.meteorapp.com
0 stars 1 forks source link

Use Javascript import properly #32

Open timadye opened 1 year ago

timadye commented 1 year ago

Currently every function is added to the global scope and all code is loaded together without using import.

This is ugly, but convenient. Can we do a bit better, eg. with explicit imports to load all functions from each file?