Working game engine.  After game over still a bug where you have to click first to reset game board.