Fun and Games in R: Fun with Statistical Computing
Analysing data analysis is a serious business without much room for fun. This specialised computer language is not designed for games in R.
Not many R developers have written games. R has a games package in CRAN, but this library is about the mathematics of game theory.
These articles demonstrate how to program games with the R language.