[four-in-a-row] Tile should be placed at the centre for next player's move



commit 80e9aee20a025d95771360b86abfa080d2dbc45b
Author: Sahil Sareen <sahil sareen hotmail com>
Date:   Sat Sep 13 18:52:35 2014 +0530

    Tile should be placed at the centre for next player's move
    
    At present after the opponent moves, the tile for the next move is placed in
    the same column as that where the opponent dropped his tile.
    This makes it tougher for me when I'm playing with the keyboard.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=736621

 src/main.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/main.c b/src/main.c
index c1df1de..b89608c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -344,7 +344,7 @@ static void
 swap_player (void)
 {
   player = (player == PLAYER1) ? PLAYER2 : PLAYER1;
-  move_cursor (column);
+  move_cursor (3);
   prompt_player ();
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]