home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1989 …il & Dave's Excellent CD / Excellent CD HFS.raw / Moof / Goodies / DTS Goodies / Obfuscated_C / 1987 / lievaart.hint < prev    next >
Encoding:
Text File  |  1989-04-13  |  1.3 KB  |  28 lines  |  [TEXT/MPS ]

  1. Grand Prize: <botter!rblieva> Roemer B. Lievaart
  2.  
  3.     Roemer B. Lievaart
  4.     VU Informatica
  5.     Churchilllaan 173-IV
  6.     Amsterdam, The Netherlands
  7.  
  8. We believe that you too will be amazed at just how much power Mr. Lievaart
  9. packed into 1024 bytes!
  10.  
  11. This Plays the game of reversi (Othello)!  Compile and run.  It then
  12. asks for a playing level. Enter 0-10 (easy-hard).  It then asks for
  13. your move. A move is a number within 11-88, or a 99 to pass.  Illegal
  14. moves (except for an illegal pass) are rejected.  Then the computer
  15. does its move (or a 0 to pass), until the board is full.  It plays
  16. rather well, for such a small program!  Lievaart had to leave out the
  17. board printing routine, so you'll have to take a real game board to
  18. play it. ...  Also due to space-limitations (the rules for 1987 had a
  19. limit of 1024 byes), Lievaart took out the passing-handler, which
  20. makes its ending-game rather poor.  But further it knows all the
  21. rules, uses alpha-beta pruning, and it plays f.i. on mobility(!).
  22. Most important: it can play a pretty good game of Reversi!
  23.  
  24. The Author was kind enough to supply the fully functional version of the
  25. program.  The file lievaart2.c contains what the program would have
  26. been without the size restriction.  This version has the full end game 
  27. logic and displays the board after each move!
  28.