A little mirror with bits of evenly spaced black tape. Ir beam reflected once = car #1. Ir beam reflected twice = car #2.
RFID...
http://www.thebox.myzen.co.uk/Hardware/Crazy_People.html
Magnets + Hall effect sensor...
http://www.thebox.myzen.co.uk/Hardware/Dice_Game.html