Skip to content

Instantly share code, notes, and snippets.

@carlows
carlows / exercise1.md
Last active July 4, 2016 17:15
Exercises

Treehouse card

El ejercicio consiste en recrear exactamente el card que se muestra en el gif:

example

El icono de play no es necesario (ni el tooltip que dice Watch trailer, pero si es necesario el efecto de hover del boton 'switch', los peque;os cards que se ven abajo con la animacion, y todo lo demas.

Los colores son los siguientes:

@carlows
carlows / states.md
Created June 26, 2016 21:13
states of the game

States of the game

El juego va a contar que diferentes estados que van a ir llevando la estructura de todo.

Los estados seran los siguientes:

  • Start Menu
  • Home
  • Map
  • Minigame

Project structure

La estructura del proyecto va a ser de la siguiente manera:

  • Editor: aca se guardan scripts que tengan que ver con el editor de Unity (probablemente casi no tocaremos esta carpeta)
  • Scenes: las escenas de Unity seran nuestros niveles (solo puede trabajar una persona en cada escena)
  • Materials: los materiales que utilizara nuestro juego
  • Sprites: sprites creados en photoshop, texturas, etc.
  • Sounds: sonidos, duh.
  • Scripts: Aca organizaremos todos los scripts utilizando un patron MVC.
@carlows
carlows / collaboration.md
Last active December 9, 2016 02:47
unity

Unity Collaboration

Para mantener un orden de colaboracion necesitamos un Workflow, el cual sera de la siguiente manera:

Trello Workflow

Todas las tareas de hay por hacer van a irse listando en la columna de Backlog en el board de trello:

trello1

@carlows
carlows / general.md
Last active March 23, 2020 15:18
BachacoMan Overview

BachacoMan

Tools and platform

El juego va a estar destinado para Android, por lo que lo recomendable es mantenerlo simple.

Usaremos:

  • Unity 5+ for the dev engine
  • Android SDK for deployment
@carlows
carlows / clients.md
Last active June 24, 2016 04:53
Codelovers meeting

Que nos falta para poder trabajar con clientes:

  • Comunicacion con los clientes.
  • Contactos de importancia.
  • Estructura para abordar los proyectos que nos llegan.
  • Organizacion.
  • Diseñador.
  • El dinero/Financiacion.
@carlows
carlows / mock.js
Last active June 20, 2016 17:18
Mock example
(function () {
// funcion proveniente de alguna libreria
// realiza un call http (aca lo simulamos con un timeout)
function executeHttpCall(message) {
setTimeout(function () {}, 1000);
}
// nuestra funcion, la que nos interesa probar
function myFunction(http, message, value) {
if(value > 20) {
@carlows
carlows / index.md
Last active June 2, 2016 22:47
Refactoring nested callbacks

The code for sending a PM to multiple users for review is looking like this:

controller.hears(['pr-review (\\w+/\\w+/\\d+) with ((<@\\w+>\\s?){1,})'], botMessageTypes.ALL,
                 function(bot, message) {
  var repoDataGroup = message.match[1];
  var userIdsGroup = message.match[2];

  var accountName = parseRepoDetails(repoDataGroup).account;
  var repoName = parseRepoDetails(repoDataGroup).repository;
@carlows
carlows / overview.md
Created April 24, 2016 17:57 — forked from anonymous/overview.md
MainYourMom

MainYourMom

It's an application that will store aggregated stats for each summoner that is looked up. Say someone looks up for 'CarlosEME', the app will fetch its data and store it in the database. Same with every lookup, this way it will construct a huge database of summoners over time.

Will consist on 4 pages:

  • Summoner look up page. This is the page where you search for a summoner
  • Summoner stats page. This is the page that displays the stats for an specific summoner.
  • Global summoner stats page. A page that displays every summoner that has been looked up with a summary.
  • Global mastery stats page. A page that displays stats about the masteries stored in the Database.
@carlows
carlows / rspec_rails_cheetsheet.rb
Created March 15, 2016 15:42 — forked from them0nk/rspec_rails_cheetsheet.rb
Rspec Rails cheatsheet (include capybara matchers)
#Model
@user.should have(1).error_on(:username) # Checks whether there is an error in username
@user.errors[:username].should include("can't be blank") # check for the error message
#Rendering
response.should render_template(:index)
#Redirecting
response.should redirect_to(movies_path)