game can update state with DOM elements