Arcade games coin

Hi. Im new in Arduino. I make a Leonardo Wheel interface for a game and i wont to
implement a coin reader to interact with the PC and the game I play, depending on time (eg 3 min) or at the end of the race. Can someone help me?
I suppose there must be something in Windows that connects with the game. Or if someone knows an application to do this is welcome. Thank you in advance.

look into MAME.

For a machine and platform game (simulator) and wants to work with coins. One type of coins. Ex. Star Wars Racer, Outrun2...
coin selector TW--131