add onmouseover onmouseout onmouseclick functionality to game