how to make the game playable directly in the browser?
It depends. What kind of game? See if the HTML5 game FAQ helps.
thanks