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.

Tantalising Games in R: Fun with Statistical Computing
The R language is a specialised tool for data science. Who said you can't have fun with data science? Read more about writing games in R.
Tenliner Cave Adventure in R: Miniature Text Adventure
The Tenliner Cave Adventure is a fully-functional miniature text adventure written for the ZX81, ported to the R language.
The Secret of Landusia: A Text Adventure in the R Language
Write your own text adventure in the R programming langauge. How could we use machine learning to write interactive fiction?
Celebrate Halloween with Creepy Computer Games in R
This article translates code from the 1983 Creepy Computer Games book by Uborn Publishing. Be careful not to get caught by the skeletons!
Tic Tac Toe Simulation: The Intelligent Minimax Algorithm
Using the R language to build a Tic Tac Toe simulation and teach your computer to play a perfect game of Noughts and Crosses.
R-Cade Games: Simulating the Legendary Pong Game in R
Playing arcade games in R? Introducing pong, the first R-cade game. This code simulates the legendary game of pong in your favourite data science language.