ttt_game {tictactoe}R Documentation

Tic-Tac-Toe Game

Description

Object that encapsulates a tic-tac-toe game.

Usage

ttt_game()

Value

ttt_game object

Examples

x <- ttt_game()
x$play(3)
x$play(5)
x$show_board()

[Package tictactoe version 0.2.2 Index]