I tried to follow the source of a tutorial Metar Gearn Nanna because it was interesting to create a game in opengl and c ++, could be something simple, with precarious validations, just so I can understand the concept, I learned to draw triangles and color using opengl (I confess I might have taken a little time and effort to do this), but it was very far make a game like snake for example. The link to the source was broken. And my knowledge in this area is extremely limited, almost nil, I followed this booklet , but I also had difficulty.
I believe that creating a game is something of interest to many developers for the same hobby, but many like me end up finding many difficulties. The lack of example code of something functional was something that limited me greatly. I did not post code because I did not know very well where to start.
So the real question to this question is: How to make a game in opengl (any game) that accepts user interaction (keyboard keys , mouse or control)?
What I expect in response are things like links with example code, documentation and etc ... anything that is useful not only for me, but for everyone who has an interest in building a game. It does not matter that it's simple. If you have a menu and a frame that moves with the mouse arrows is worth! The idea is to give a north for all who want to develop a game read this question and with the answer are able to take the first steps.