home *** CD-ROM | disk | FTP | other *** search
/ Beginning Mac Programming / Beginning Mac Programming.bin / pc / Open Me for REALbasic 3 / REALbasic 3.2 / Example Projects / Techniques / odummoSource / __READ ME__ next >
Encoding:
Text File  |  2001-01-06  |  1.6 KB  |  22 lines

  1. "Odummo"
  2.  
  3. A game of Othello, also known as Reversi, with minimal interface.
  4.  
  5. It knows the rules, and it understands how to interact with the user to play the game; and this turned out to be amazingly easy to implement in REALbasic, thanks to REALbasic's object orientation and control arrays.
  6.  
  7. Thus, as I explained in my original review of REALbasic, I was able to write the first version of this program in less than a day!
  8.  
  9. http://www.tidbits.com/tb-issues/TidBITS-443.html#lnk4"
  10.  
  11. This amazed me, and the exercise also caused me to "get" REALbasic; from there on, I was hooked.
  12.  
  13. In the original program, there was absolutely no effort at providing the computer with any "intelligence" - the computer chose its moves at random. So it's a "dumb" Othello, which is why I call it Odummo.
  14.  
  15. In the current version, an option is provided to let the computer use a kind of strategy. This strategy is extremely simple-minded, not to say downright crude, and should by no means be confused with intelligence, artificial or otherwise. Intelligent Othello is an extremely deep and powerful problem (see http://www.neci.nj.nec.com/homepages/mic/publications.html). Nonetheless, at least it causes the computer's play to be vaguely sensible (though it still makes some obvious blunders).
  16.  
  17. matt neuburg, phd = matt@tidbits.com, http://www.tidbits.com/matt
  18.           *** REALbasic: The Definitive Guide! ***
  19. http://www.amazon.com/exec/obidos/ASIN/1565926579/somethingsbymatt
  20. Ch. 3: http://www.oreilly.com/catalog/realbasic/chapter/ch03.html
  21. -- See my home page for latest news, tutorials, examples, etc. --
  22.