added web functionality to game