implement gameController and block