Okay, I have an old p4 running XP that I was going to use as my MAME machine, but that is now collecting dust. I also have one of these:

I have figured out how to use a 12 oz co2 tank to provide CO2 to it, and I have also read about how to keg home brew in the 5l minikegs. I figure I can take off the tap, and connect the beer line to a solenoid valve, then connect the valve to a small stainless steel tube to dispense beer.
I would build a box around it and use a linear servo to tilt the glass. In my mind it would work like this:
Insert coin, coin registers and activates the dispense button. You push the dispense button and the computer sends a signal to the glass tilter to tilt the glass, I figure the glass will stay that way as long as there is current to the motor. After a short delay to make sure the glass is in position, there would be a signal to the valve to open for x number of seconds. I don't think I would have to worry about flow rate because the co2 pressure is regulated to a constant pressure, so I would just have to have the valve open for x number of seconds to dispense.
Next shut the valve, lower the glass and then open the valve for a second or two to top off.
Doesn't seem hard, I just have no idea at all how to do it or what I need to do it.