Game characterizations of some classes of functions in Baire space