YouTube

Got a YouTube account?

New: enable viewer-created translations and captions on your YouTube channel!

English subtitles

← 05-28 Maxwins

dummy description

Get Embed Code
1 Language

Showing Revision 1 created 05/13/2012 by Amara Bot.

  1. So now we're almost there. We've defined the problem.
  2. We've defined how the game works,
  3. and we're ready to write the optimal strategy--
  4. the best possible strategy for Pig, and I'll let you finish it off.
  5. We'll call this function "max_wins"--
  6. the strategy function that maximizes the number of wins--
  7. --at least the number of expected wins--
  8. and go ahead and write your code there,
  9. and you can write it in terms of the functions we've defined above
  10. and in terms of a call to best action.