Player-class: A Squash Player class

Description Fields Author(s) Examples

Description

Wraps name and skill of a Squash player

Fields

name

(character) the player's name

name

(numeric) the player's skill (number between 0 and 1)

Author(s)

Roman Pahl, roman.pahl@gmail.com

Examples

1
2
3
p1 <- Player("John", skill = 0.7)
p1$isPlayer()    # TRUE
print(p1)

rpahl/Squash documentation built on May 28, 2019, 12:35 a.m.