printf ("There are %d tiles in the deck\n" , deck->num_tiles);
 }
 
+static void deck_spread(deck_t *deck)
+{
+    int i, j;
+    for (i = 0; i < 8; i++)
+    {
+       for (j = 0; j < 13; j++)
+       {
+           deck->tiles[j + (i * 13)].x = j * 50;
+           deck->tiles[j + (i * 13)].y = i * 60;
+       }
+    }
+}
 
 static void deck_draw(game_t *game, cairo_t *cr)
 {
     
     game_init(&game);
     deck_print(&game.deck);
+    deck_spread(&game.deck);
     //deck_deal(&game, &game.deck);
-    hand_print(&game);
-    deck_print(&game.deck);
+    //hand_print(&game);
+    //deck_print(&game.deck);
 
     /* Create a new window */
     window = gtk_window_new (GTK_WINDOW_TOPLEVEL);