For my game I used Godot Engine and it can export to HTML 5 that is the format you have to use in order to make your game playable in the browser.