Back in 2007 I wrote a version of the classic Space War game
It used sprites for graphics, which worked ok but was complicated
Since then, web browsers have gotten good support for
a way to draw arbitrary graphics on a web page.
I adapted my old Space War code to use Canvas instead of sprites,
and it looks great!
Try it out.