# Normal form games

### Notes

### Videos

The coordination game: a motivating example for normal form games - YouTube - Private

Definition of a Normal Form Game - YouTube - Private

When one player loses the other wins: what is a zero sum game - YouTube - Private

The Prisoners Dilemma and Matching Pennies: examples of other normal form games - YouTube - Private

Using python to define Normal Form games with Nashpy - YouTube - Private

Installing Nashpy - YouTube - Private

## Typical Programming Exercises

- Create a variable
`game`

which has value the following Normal Form Game:
\(A = \begin{pmatrix}1 & - 1\\ -1 & 1\end{pmatrix} \qquad B = \begin{pmatrix}-1 & 1\\ 1 & -1\end{pmatrix}\)
- Output the following Normal Form Game:
\(A = \begin{pmatrix}3 & 2\\ 3 & 1\end{pmatrix} \qquad B = \begin{pmatrix}4 & 9\\ 5 & 3\end{pmatrix}\)
- Create a variable
`game`

which has value the zero sum Normal Form Game
defined by:
\(A = \begin{pmatrix}1 & - 1\\ -1 & 1\end{pmatrix}\)
- Output the zero sum Normal Form Game
defined by:
\(A = \begin{pmatrix}-3 & - 1 & 4\\ 2 & -1 & 1\\ 0 & 3 & -2\end{pmatrix}\)

Solutions

## Log of past relevant classes

Thanks all today for a fun class!

In today’s class we spoke about a deadline for the individual coursework but
spent most of our time taking the initial steps that a research project would
take to model gift giving for Valentines day.

Thanks all today for a fun class!