diff options
Diffstat (limited to 'games/gnome-games/files/patch-iagno_othello.c')
-rw-r--r-- | games/gnome-games/files/patch-iagno_othello.c | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/games/gnome-games/files/patch-iagno_othello.c b/games/gnome-games/files/patch-iagno_othello.c index 84b963a911e2..1d6d8e88a6a7 100644 --- a/games/gnome-games/files/patch-iagno_othello.c +++ b/games/gnome-games/files/patch-iagno_othello.c @@ -1,29 +1,20 @@ ---- iagno/othello.c.orig Mon Feb 14 12:07:12 2005 -+++ iagno/othello.c Mon Feb 14 12:07:47 2005 -@@ -551,7 +551,7 @@ - memcpy (tboard, board, sizeof (gint8) * 8 * 8); - move_board(tboard, i, j, me, 0); - -- // assume that opponent takes best move -+ /* assume that opponent takes best move */ - tmp_move = find_best_move(tboard, not_me, ply_depth-1, - -pass_thresh, -use_thresh, 0, 0); - -@@ -808,14 +808,14 @@ +--- iagno/othello.c.orig Tue Jan 25 11:24:35 2005 ++++ iagno/othello.c Tue Jan 25 11:24:56 2005 +@@ -784,14 +784,14 @@ found_free = TRUE; } - // check if a player is dead + /* check if a player is dead */ if (!found_me && found_not_me) - return (-10000); + return (S_LOSING_GAME); else if (found_me && !found_not_me) - return (10000); + return (S_WINNING_GAME); - // if the game is finished, return the actual score rather than - // a huristic + /* if the game is finished, return the actual score rather than -+ a huristic */ ++ * a huristic */ if (!found_free) return (actual_score); |