Skip to content

playPage

playPage(html, game, roomPath?, version?): string

A game page as a visitor gets it: its library tags pointed at /client/*.js and the relay running in the same window. version names a script’s content (its URL gets ?v=<tag>), so the browser keeps it for good and a changed script is fetched again.

string

string

string = "/room"

(path) => string | undefined

string