Skip to content

Instantly share code, notes, and snippets.

View ltuozzo's full-sized avatar

Lucas Tuozzo ltuozzo

View GitHub Profile
#ifndef __TDATO_H
#define __TDATO_H
#ifndef __MAX
#define __MAX 8
#endif
typedef char TdatoC;
typedef int TdatoE;
@ltuozzo
ltuozzo / .h
Last active June 30, 2017 01:44
Tp version final
#ifndef __TDATO_H
#define __TDATO_H
#ifndef __MAX
#define __MAX 8
#endif
typedef char TdatoC;
typedef int TdatoE;
int led[8] = {5,6,8,13,12,11,10,9}; //Reemplazar los numeros cuando esten instalados los leds
int puntaje = 0;
int punto = 2;
int puntajeStart = 0;
int posLed = 0; //Estas dos variables se comparan para ver si
int posPuntajeActual = 0; //hay que prender o no una led en ActualizarLeds
int botonA = 7; //Igualar a la posicion del boton A (equipo A)
int botonB = 2; //Igualar a la posicion del boton B (equipo B)
@ltuozzo
ltuozzo / .ino
Last active May 23, 2017 20:01
Juego de la cuerda
int arreglo[] = {0,1,2,3,4,5,6,7} //Reemplazar los numeros cuando esten instalados los leds
int puntaje = 0;
int posLed = 0; //Estas dos variables se comparan para ver si
int posPuntajeActual = 0; //hay que prender o no una led en ActualizarLeds
int botonA = ; //Igualar a la posicion del boton A (equipo A)
int botonB = ; //Igualar a la posicion del boton B (equipo B)
int botonC = ; //Igualar a la posicion del boton C (Reiniciar el juego)
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class FieldOfView : MonoBehaviour {
public float viewRadius;
[Range(0, 360)]
public float viewAngle;