changed `const` keywords to `var`keywords
added a method for clearing the board/field
made constants for some things in the halfway line code
made a constant for adding a point
made it so that when the game is paused, it stops updating the game objects, rather than the game loop