demo refactoring game eng