OK I have flashbacks of this game but I have no idea when the forget I played it or even if I was the one who played it:
You played as a red robot with a hat and one wheel for a leg, you had a bunch of levels you traveled to, one of them being a chess-themed level with narrow, grassy areas and some areas with checkerboard floors and giant chess pieces
And another level was set in a beachside city as far as I can recall. I recall it being a platformer, and being around the nintendo 64 era