Skip to content

Instantly share code, notes, and snippets.

View Slow-Programmer0's full-sized avatar
💭
I may be slow to respond.

Guilherme Slow-Programmer0

💭
I may be slow to respond.
View GitHub Profile
# @ -> our hero
# G -> ghosts
# P -> pills
# . -> empty spaces
# | and - -> walls
map = [
"|--------|",
"|G..|..G.|",
"|...PP...|",
"|G...@.|.|",
@tamyrisro96
tamyrisro96 / exercicio3.c
Created October 17, 2018 23:53
3- Escreva um programa que contenha duas variáveis inteiras. Leia essas variáveis do teclado. Em seguida, compare seus endereços e exiba o conteúdo do maior endereço
#include <stdio.h>
int main ()
{
int x, y;
printf("Digite um numero: ");
scanf("%i", &x);
printf("Digite mais um numero: ");
scanf("%i", &y);
@mauricioaniche
mauricioaniche / forca.c
Created January 19, 2015 21:50
Jogo de Forca - Completo
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "forca.h"
char palavrasecreta[TAMANHO_PALAVRA];
char chutes[26];
int chutesdados = 0;