Tools for constructing board/grid based games, as well as readily available game(s) for your entertainment.

Install the latest version of this package by entering the following in R:

`install.packages("BoardGames")`

Author | Derek Qiu [aut, cre] |

Date of publication | 2016-07-18 20:37:26 |

Maintainer | Derek Qiu <qiu.derek.d@gmail.com> |

License | GPL (>= 2) |

Version | 1.0.0 |

**detect_seq:** Detects if a certain sequence is present in a matrix.

**get_cols:** Get all column vectors of a matrix.

**get_diags:** Get all diagonals vectors of a matrix.

**get_rows:** Get all row vectors of a matrix.

**get_surround:** Get surrounding elements of an element in a matrix.

**index2xy:** Converts a matrix index into a sex of x,y coordinates.

**is_palindrome:** Palindrome checker.

**UltimateTicTacToe:** Play some Ultimate Tic-Tac-Toe?

**xy2index:** Converts a set of x,y coordinates into a matrix index.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.