started generalizing game states with bar example