correct dispatching
testing framework of a game but not finished