summaryrefslogtreecommitdiff
path: root/display.c
diff options
context:
space:
mode:
Diffstat (limited to 'display.c')
-rw-r--r--display.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/display.c b/display.c
index f147570..9ddcf26 100644
--- a/display.c
+++ b/display.c
@@ -7,10 +7,13 @@ void display(struct cell board[9][9])
int x;
int y;
int val;
+ printf(" A B C D E F G H I\n"
+ " ---------------------\n");
for (y = 0; y < 9; y++)
{
if (y % 3 == 0 && y != 0)
- printf("------+------+------\n");
+ printf(" |-------+------+------\n");
+ printf("%d | ", y + 1);
for (x = 0; x < 9; x++)
{
if (x % 3 == 0 && x != 0)