Main inits game when DOM ready.