ImportenceOfTheSnakes: Finds the Importence of the Snakes during the game of Snakes...

Description Usage Arguments Details Value Warning Author(s) Examples

View source: R/ImportenceOfTheSnakes.R

Description

This function uses the SnakesAndLaddersGame function to estimate which snakes are the most powerful dependent on the number of players by looking at which snakes the losers of each game lands on.

Usage

1
ImportenceOfTheSnakes(number.of.players = 2)

Arguments

number.of.players

A single numeric value that represents the number of players you wish to run the trial with.

Details

Function uses the SnakesAndLaddersGame function to find and display the snakes used by the losers. As the number of players increase we see a steady state forming of the same snakes. This results in us working out which snakes are key to avoid if you want to win.

Value

most.powerful.snakes

A data frame which shows an estimation of the most powerful snakes. The higher the frequency the more powerful the snake.

Warning

I have not put a limit on the amount of time that this function will run. This is to allow as many players as you want.

Author(s)

Hector Haffenden [email protected]

Examples

1
2
3
4
5

hectorhaffenden/SnakesAndLaddersAnalysis documentation built on April 8, 2018, 3:19 a.m.