Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void desenha_tabuleiro(int linha_inicial, int col_inicial, int val[3][3])// para o jogo QC8
- {
- int l = linha_inicial;
- int c = col_inicial;
- //desenha quadro
- gotoxy(l,c);
- printf("\332\304\304\304\302\304\304\304\302\304\304\304\277");
- gotoxy(l+1,c);
- printf("\263 %d \263 %d \263 %d \263", val[0][0], val[0][1], val[0][2]);
- gotoxy(l+2,c);
- printf("\303\304\304\304\305\304\304\304\305\304\304\304\264");
- gotoxy(l+3,c);
- printf("\263 %d \263 %d \263 %d \263", val[1][0], val[1][1], val[1][2]);
- gotoxy(l+4,c);
- printf("\303\304\304\304\305\304\304\304\305\304\304\304\264");
- gotoxy(l+5,c);
- printf("\263 %d \263 %d \263 %d \263", val[2][0], val[2][1], val[2][2]);
- gotoxy(l+6,c);
- printf("\300\304\304\304\301\304\304\304\301\304\304\304\331");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement