Game engine rewrite.