Making a Browser Based Game With Vanilla JS and CSS