[][src]Function rust_warrior::game::play

pub fn play(player: impl Player)

The main entry point when playing the game.

After loading the player profile and initializing the current level, the game consists of repeatedly calling play_turn on the player's Player instance.