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
<?php | |
namespace Alura\Doctrine\Mapping; | |
use Alura\Doctrine\Entity\Aluno; | |
use Alura\Doctrine\Entity\Curso; | |
use Alura\Doctrine\Entity\Telefone; | |
use Alura\Doctrine\Repository\AlunoRepository; | |
use LaravelDoctrine\Fluent\EntityMapping; | |
use LaravelDoctrine\Fluent\Fluent; |
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
#ifndef _FOGEFOGE_H_ | |
#define _FOGEFOGE_H_ | |
#define CIMA 'w' | |
#define BAIXO 's' | |
#define DIREITA 'd' | |
#define ESQUERDA 'a' | |
#define BOMBA 'b' | |
void move_pers(char comando); |
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> | |
void abertura(int m) { | |
printf("Tabuada do %d\n\n", m); | |
} | |
int main() { | |
int multiplicador = 2; |
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 <stdlib.h> | |
#include "time.h" | |
#include "fogefoge.h" | |
#include "mapa.h" | |
#include "ui.h" | |
MAPA m; | |
POSICAO heroi; | |
int tempilula = 0; |
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 <stdlib.h> | |
#include "fogefoge.h" | |
char** mapa; | |
int linhas; | |
int colunas; | |
void lemapa() { | |
FILE* f; |
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 <stdlib.h> | |
#include <string.h> | |
#include <time.h> | |
#include "forca.h" | |
char palavrasecreta[20]; | |
char chutes[26]; | |
int chutesdados = 0; |
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> | |
char palavrasecreta[20]; | |
char chutes[26]; | |
int chutesdados = 0; | |
int enforcou() { | |
int erros = 0; |
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> | |
void abertura() { | |
printf("/****************/\n"); | |
printf("/ Jogo de Forca */\n"); | |
printf("/****************/\n\n"); | |
} | |
void chuta(char chutes[], int* tentativas) { |
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> | |
void abertura() { | |
printf("/****************/\n"); | |
printf("/ Jogo de Forca */\n"); | |
printf("/****************/\n\n"); | |
} | |
void chuta(char chutes[], int* tentativas) { |
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> | |
void abertura() { | |
printf("/****************/\n"); | |
printf("/ Jogo de Forca */\n"); | |
printf("/****************/\n\n"); | |
} | |
void chuta(char chutes[], int* tentativas) { |
NewerOlder