+ 7
frontend is where the game gets drawn and, if needed, any basic logic.
Backend controls all the logic and sends any changes to all the players.
If logic was in the frontend,there would be a lot of cheating (using console or inspect element and inject JS code or modify variables)



