Learning to code games involves at least 2 seperate lines of learning.
1 - Learning a programming language.
2 - Learning how to teach how to play a game.
After learning the first (hard) you may find that teaching the computer the second is Even Harder!!! No seriously, The second is as easy as telling some one to Roll a Pair od Dice, Move a Number of Spaces, Draw a card and follow instructions.
Last year I wrote a simple word game. That code Finished 20 pages of code, without any involved graphics coding/
So where to start ? Go to the local book store, Like a Barnes and Noble and page through Programming Language Books to see if you van follow along.
Also try the on-line stores as well.