English subtitles

← 05-09 Clueless

dummy description

Get Embed Code
1 Language

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

  1. Now I'm going to talk about strategies for a minute.
  2. Remember a strategy is a function, which takes a state as input,
  3. and it's output is one of the action names, roll or hold.
  4. I want you to write a strategy function, which we're calling clueless.
  5. So its a function that takes a state as input,
  6. and it's going to return one of the possible moves, roll or hold.
  7. It does that by ignoring the state
  8. and just choosing one of the possible moves at random.
  9. So go ahead and write that.