A couple of games that I created. A very good exercise for learning to code better.
rockStone is The rock, paper & scissors game. You can choose how many turns you want to play.
cubeGame is a simple game but a great practice to learn the logic about programming.