changed game size to 1280x800; refactoring