This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <unistd.h> | |
#include <stdio.h> | |
#define MAX_INIMIGOS 20 | |
typedef struct tipo_posicao | |
{ | |
int linha, coluna; | |
} TIPO_POSICAO; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <string.h> | |
#define MAXSCORES 99999 | |
typedef struct | |
{ | |
char nome[40]; | |
int score; | |
} TIPO_SCORE; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ncurses.h> | |
#include <unistd.h> | |
#define DELAY 35000 | |
void movimento_da_nave(){ | |
int x_nave = 0, | |
x = 0, | |
y_nave = 0, |