R/constants.R

#' Constant for the X player.
#'
#' @description It's value is the character "O".
#' @export
X <- "X"

#' Constant for the O player.
#'
#' @description It's value is the character "O".
#' @export
O <- "O"

#' Constant for the empty square. It's value is the character "_".
#'
#' @description It's value is the character "_".
#' @export
EMPTY <- "_"

#' Constant for no winner. It's value is the character "_".
#'
#' @description It's value is the character "_".
#' @export
NONE <- "_"

Try the rt3 package in your browser

Any scripts or data that you put into this service are public.

rt3 documentation built on May 2, 2019, 6:38 a.m.