oop version gameFrame (failed?)