some code to select html elems from DOM and a little more of game mechanics