It sounds like you almost fainted (presyncope is technical term).
If you're young, in good health, and just happened once... Then i tell pt.'s not to worry about it. Just make sure to stay hydrated before playing, have a good breakfast, take breaks if you need to. I tell them if it's happening frequently or if they really do faint, make sure to see their doc!