random board games translated to html/js