Yes, all Windows Vista and Windows 7 games work on Windows 8.
Additionally, most Windows XP and Windows 98 games work as well, though you need to go through a bit of work to get certain XP/98 games working.
Even DOS games will usually run through an emulator like DOSbox...