html-js frontend for points game