A basic requirement would certainly be Javascript. That’s what the “J” in AJAX actually means. You basically need two things: the client-side code dealing with the user input, sending requests to the server, dealing with the responses, managing all the graphics; and the server-side system handling requests triggered by the client code and providing adequate responses. How you should “do the game” and “arrange” the MySQL database strictly depends on the game you want to create. Of course your request is too generic to be able to provide you any meaningful help.
solved How to do a game working in browser [closed]