Play "Four in a Row"

Play or simulate games of "Four in a Row" in the R console. This package is designed for educational purposes, encouraging users to write their own functions to play the game automatically. It contains a collection of built-in functions that play the game at various skill levels, for users to test their own functions against.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("fourinarow")

0.1.1 by Kelly Street, a year ago


Browse source code at https://github.com/cran/fourinarow


Authors: Kelly Street [aut, cre] (ORCID:


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports methods

Suggests knitr, quarto


See at CRAN