ImportenceOfTheLadders {SnakesAndLaddersAnalysis}R Documentation

Finds the Importence of the Ladders during the game of Snakes and Ladders

Description

This function uses the SnakesAndLaddersGame function to estimate the importence of the ladders dependent on the number of players by looking at which ladders the winners of each game lands on.

Usage

ImportenceOfTheLadders(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 ladders used by the winners. As the number of players increase we see a steady state forming of the same ladders. This results in us working out which ladders are key to land on if you want to win.

Value

most.importent.ladders

A data frame which shows an estimation of the most importent ladders. The higher the frequency the more importent the ladder.

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 haffendenh@cardiff.ac.uk

Examples

ImportenceOfTheLadders(1)

ImportenceOfTheLadders(100)

ImportenceOfTheLadders(1000)


[Package SnakesAndLaddersAnalysis version 2.1.0 Index]