mirror of
https://github.com/abakh/nbsdgames.git
synced 2025-01-03 14:56:23 -05:00
removing debug stuff 🤦
This commit is contained in:
parent
4a375b2998
commit
42b53c5413
@ -123,19 +123,15 @@ void shuffle(char board[size][size]){
|
||||
for(int m=0;m<10000;++m){
|
||||
switch(rand()%4){
|
||||
case 0:
|
||||
addch('0');
|
||||
slide_one(board,ey,ex+1);
|
||||
break;
|
||||
case 1:
|
||||
addch('1');
|
||||
slide_one(board,ey,ex-1);
|
||||
break;
|
||||
case 2:
|
||||
addch('2');
|
||||
slide_one(board,ey+1,ex);
|
||||
break;
|
||||
case 3:
|
||||
addch('3');
|
||||
slide_one(board,ey-1,ex);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user