├── README.md └── ViejoInimputable.cs /README.md: -------------------------------------------------------------------------------- 1 | # ViejoInimputable 2 | Disassembly of Viejo Inimputable's brain 3 | 4 | Si entra el chorro yo no lo puedo amasijar en el patio porque después dicen que se cayó de la medianera. 5 | Vos lo tenes que llevar al lugar más recóndito de tu casa, al último dormitorio, y si es posible al sótano, bien escondido. Y ahí lo reventas a balazos, le tiras todos los tiros, no uno, porque vas a ser hábil tirador y te comes un garrón de la gran flauta. 6 | Vos estabas en un estado de emoción violenta y de locura; lo reventaste a tiros, le vaciaste todo el cargador, le zapateas arriba, lo meas para demostrar tu estado de locura y de inconsciencia temporal. 7 | ¿Me explico? Además tenes que tener una botella de chiva a mano, te tomas media botella y si tenes un sobre de cocaína papoteate y vas al juzgado así (tembleque)… 8 | Sos inimputable hermano, en 10 días salís 9 | -------------------------------------------------------------------------------- /ViejoInimputable.cs: -------------------------------------------------------------------------------- 1 | class Brain{ 2 | const int STATE_FAIL = -1; 3 | const int STATE_SUCCESS = 1; 4 | const int DAYS = 10; 5 | 6 | enum PLACES{ 7 | LAST_ROOM = 1, 8 | BASEMENT 9 | } 10 | 11 | 12 | enum DefensaHogar { 13 | STATE_SUCCESS = 1, 14 | STATE_FAIL 15 | } 16 | 17 | class ViejoInimputable { 18 | bool amasijarEngine = false; 19 | int crazyness = -1; 20 | public void TakeItToReconditPlace(Chorrito chorro, PLACES place1, PLACES place2) { 21 | chorro.SetPlaces(place1, place2); 22 | } 23 | 24 | public bool AmasijarEnElPatio() { 25 | amasijarEngine = true; 26 | return true; 27 | } 28 | 29 | public void SetCrazyEngine(int crazy) { 30 | crazyness = crazy; 31 | } 32 | 33 | public void ShootEveryRound(Chorrito chorro) { 34 | 35 | } 36 | 37 | public void Zapatear(Chorrito chorro) { 38 | } 39 | 40 | public int[] GetShots() { 41 | int[] tiros = new int[10]; 42 | return tiros; 43 | } 44 | 45 | public void HabilTirador(bool tirador) { 46 | } 47 | 48 | public void GarronDeLaGranFlauta(bool garron) { 49 | } 50 | 51 | public void Inimputable(bool ininputable) { 52 | } 53 | 54 | public void SetJailTime(int type, int count) { 55 | } 56 | 57 | public void Mear(Chorrito chorro) { 58 | } 59 | 60 | public void Papotear(ViejoInimputable papota) { 61 | } 62 | 63 | public bool HasCocaine() { 64 | return true; 65 | } 66 | 67 | public void SetTembleque(bool tembleque) { 68 | } 69 | } 70 | 71 | class Chorrito { 72 | int hp; 73 | PLACES[] places = new PLACES[2]; 74 | public bool IsInside() { 75 | return true; 76 | } 77 | 78 | public void SetPlaces(PLACES place1, PLACES place2) { 79 | places[0] = place1; 80 | places[1] = place1; 81 | } 82 | 83 | public void Hide() { 84 | } 85 | } 86 | 87 | public class CayoMedianeraException : Exception { 88 | 89 | } 90 | 91 | public class GarronDeLaGranFlautaException : Exception { 92 | } 93 | int inconsciencia_temporal = 1; 94 | 95 | 96 | ViejoInimputable me = new ViejoInimputable(); 97 | 98 | DefensaHogar CheckForChorro(Chorrito chorro) { 99 | if (chorro.IsInside()) { 100 | if (me.AmasijarEnElPatio()) { 101 | throw new CayoMedianeraException(); 102 | } 103 | me.TakeItToReconditPlace(chorro, PLACES.LAST_ROOM, PLACES.BASEMENT); 104 | chorro.Hide(); 105 | me.ShootEveryRound(chorro); 106 | me.Zapatear(chorro); 107 | 108 | if (me.GetShots().Length == 1) { 109 | me.HabilTirador(true); 110 | 111 | throw new GarronDeLaGranFlautaException(); 112 | } 113 | me.Mear(chorro); 114 | me.SetCrazyEngine(inconsciencia_temporal); 115 | 116 | if (me.HasCocaine()) me.Papotear(me); 117 | 118 | me.SetTembleque(true); 119 | me.Inimputable(true); 120 | me.SetJailTime(DAYS, 10); 121 | 122 | return DefensaHogar.STATE_SUCCESS; 123 | } 124 | return DefensaHogar.STATE_FAIL; 125 | } 126 | } 127 | --------------------------------------------------------------------------------