I have been catching the HTML5 buzz lately but have barely scratched the surface. To those who are in the know, I pose the question:

Can HTML5 truly do everything that Flash can do? Or is this just wishful thinking?

Specifically, I am interested in developing a web-based game, which previously would be a mainstay of Flash. Is HTML5 capable of accomplishing this sort of functionality instead?