Skip to content

Instantly share code, notes, and snippets.

View rauldeavila's full-sized avatar
:octocat:
Game Deving

Raul (bwulf) rauldeavila

:octocat:
Game Deving
View GitHub Profile
#include <unistd.h>
#include <stdio.h>
#define MAX_INIMIGOS 20
typedef struct tipo_posicao
{
int linha, coluna;
} TIPO_POSICAO;
#include <stdio.h>
#include <string.h>
#define MAXSCORES 99999
typedef struct
{
char nome[40];
int score;
} TIPO_SCORE;
#include <ncurses.h>
#include <unistd.h>
#define DELAY 35000
void movimento_da_nave(){
int x_nave = 0,
x = 0,
y_nave = 0,