Fork me on GitHub

pawn

class pawn.Game(number_of_players=2)

Creates an N-players game.

Parameters:number_of_players – the number of players for the current game.
player_class

alias of Player

class pawn.Player(name='John Doe')

Creates a named player for the game.

Parameters:name – a name string for the player.

Table Of Contents

This Page