You might try using System Restore to take you back to a time prior to the
cleanup. Start\All Programs\Accessories\System Tools\System Restore. If
that fails however, you only option is to reinstall the games. If these
were the default XP games, you can reinstall those by using Add/Remove
Programs in Control Panel, Add Remove Windows Components, select Accessories
and Utilities, click details, remove the check from games, click apply and
ok. When it is finished return to the same area, replace the check next to
games, click apply and ok and should reinstall the XP Games.