Game characterizations of functions of finite Baire class