R/game_generics.R

Defines functions CanonicalForm getValidMove getNextState stringRepresentation getGameEnded getActionSize getBoardSize getSymmetries getInitBoard

CanonicalForm <- function(x) UseMethod("CanonicalForm")

getValidMove <- function(x) UseMethod("getValidMove")

getNextState <- function(x, move) UseMethod("getNextState")

stringRepresentation <- function(x) UseMethod("stringRepresentation")

getGameEnded <- function(x) UseMethod("getGameEnded")

getActionSize <- function(x) UseMethod("getActionSize")

getBoardSize <- function(x) UseMethod("getBoardSize")

getSymmetries <- function(x, ...) UseMethod("getSymmetries")

getInitBoard <- function(x) UseMethod('getInitBoard')
Atan1988/rothello documentation built on May 28, 2019, 8:57 p.m.