I used to do a lot of this kind of stuff when I was learning. Good memories!
Hint: you can make it browser playable by using the Emscripten port of DOSBox. For action games, it's not very good, but for turn based, it's almost acceptable (check my entry to see what I mean)