diff --git a/fisher.c b/fisher.c index b72b8c2..d400665 100644 --- a/fisher.c +++ b/fisher.c @@ -86,8 +86,8 @@ void draw(void){ /*while(LEN< 15 || COL<80) mvprintw(0,0,"Screen size should at least be 80*15 characters");*/ attron(colors[0]); - byte y,x; filled_rect(0,0,12,80); + byte y; mvprintw(0,0," __ Hooks:%d",hooknum); mvprintw(1,0,"|__ Score:%d",score); mvprintw(2,0,"| ISHER"); @@ -190,7 +190,6 @@ byte save_score(void){ void show_scores(byte playerrank){ - byte y,x; attron(colors[3]); filled_rect(0,0,LEN,WID); green_border(); @@ -368,7 +367,6 @@ int main(void){ flushinp(); } } - End: flushinp(); nocbreak(); cbreak(); diff --git a/snakeduel.c b/snakeduel.c index b1ef049..7e10028 100644 --- a/snakeduel.c +++ b/snakeduel.c @@ -480,7 +480,6 @@ long decide(byte board[len][wid],snake *me,snake *enemy){ int dist=(y_dist+x_dist); long g=go_deep(board,*me,1); reportd(g); - long max_survival; byte directions[4]={0,1,2,3}; long advantages[4]={0}; if(me->strategy==IMITATE ){