#### [Board](https://docs.dev.board.fun/unity/api/index.html "index")

### [Board.Session](https://docs.dev.board.fun/unity/api/Board.Session.html "Board.Session")

## BoardAIPlayerType Struct

Defines an AI player type that a game supports.

```
public struct BoardAIPlayerType
```

### Remarks

Games register their available AI types (e.g., “Easy”, “Hard”, “Master”) via  
[SetAIPlayerTypes(BoardAIPlayerType[39m[[32m][39m)](https://docs.dev.board.fun/unity/api/BoardSession.SetAIPlayerTypes(BoardAIPlayerType[]).html "Board.Session.BoardSession.SetAIPlayerTypes(Board.Session.BoardAIPlayerType[])" ). Each type has a display name shown in  
the player selector and an optional description.

| Fields |  |
| --- | --- |
| [description](https://docs.dev.board.fun/unity/api/BoardAIPlayerType.description.html "Board.Session.BoardAIPlayerType.description") | A description of this AI type’s behavior (e.g., “Plays conservatively”). |
| [name](https://docs.dev.board.fun/unity/api/BoardAIPlayerType.name.html "Board.Session.BoardAIPlayerType.name") | The display name of this AI type (e.g., “Easy”, “Hard”, “Master”). |
