This commit is contained in:
fl3ka 2024-06-07 12:06:07 +02:00
parent 4a50dfd049
commit 7d7582bf6a
2 changed files with 0 additions and 24 deletions

Binary file not shown.

View File

@ -18,30 +18,6 @@ int count = 0;
bool gameover; bool gameover;
WINDOW * win; WINDOW * win;
WINDOW * win2; WINDOW * win2;
/*void draw(){
//Change "clear" to "cls" if compiling for Windows
system("clear");
for(int i=0; i<width; i++){
cout << "#";
}
cout << endl;
for(int i=0; i<height; i++){
for(int j=0; j<width; j++){
if(j==0 || j==width-2){
cout<<"#";
}
if(j==snakeX && i==snakeY)
cout<<"o";
else
cout<<" ";
}cout<<endl;
}
for(int i=0; i<width; i++){
cout << "#";
}
cout<<endl;
}*/
void start(){ void start(){
gameover=false; gameover=false;