Sanady

Untitled

Mar 13th, 2018
294
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. void drawAttackGrid()
  2. {
  3. int i, j;
  4. printf(" 0 1 2 3 4 5 6 7 8 9\n");
  5. for(i = 0; i < GRID_SIZE; i++)
  6. {
  7. printf("%d | ", i);
  8. for(j = 0; j < GRID_SIZE; j++)
  9. {
  10. printf(". ");
  11. }
  12. printf("\n");
  13. }
  14. }
Advertisement
Add Comment
Please, Sign In to add comment