10, 10, 10!
Io, Io, Io!
The Last Of At
The brain is a fascinating blender of unrelated things.
I had a crush for roguelikes when Lucio, an old good friend and dungeon master of mine, introduced me to Angband (Link) ages ago.
I wasn't the RPG type and the meaningful but raw ASCII graphics weren't appealing for an arcade-lover Playstation kiddo like me but its procedural dungeon generator, variety and complexity managed to leave a scar in my heart.
In the following years I periodically tried playing different roguelike and mainstream RPGs, essentially failing every time.
I started to mature some kind of "RPG acceptance" only many years later.
When I started loosing my hair.
So years passed and, during the last winter, I decided to choose and buy a quite large selection of games from The Humble Bundle Store (Link) as Christmas self-present, which included "Hack, Slash, Loot" (Link), a neat roguelike with simplified gameplay and nice but still schematic pixelated graphics.
This time I ended to lose some serious hour playing it and started to understand the value behind these games - as more mature gamer and programmer.
These sneaky roguelike sessions, mostly placed early in the morning, while Bianca was sleeping in order to avoid her my not-so-interesting-to-see dungeon crawling, were in the days we played The Last Of Us (Link), the latest masterpiece by Naughty Dog and, in our opinion, the game which raised the bar of story driven games in terms of integration with gameplay and themes.
When everything blended with my "subconscious substrate of persistent addiction" to everything retro.
From the obscure cracktros (Link) of the Commodore 64 scene to the outstanding .kkrieger (Link), I'm still thirsty of the fine and dirty products of the demo scenes.
Over the years I've managed to figure out my personal reason for this addiction: I think creativity is something you can drive to a specific task but it moves unpredictably when facing real or fake limits. And seeing where it goes is an outstanding show.
In videogames nothing describes this concept better than a demake: the attempt to port as much as possible of a game built on a machine to another one less powerful.
While it looks a quite whacky hobby today, every porting on home computer or game console between 80s and 90s is actually a demake - the time spent playing them covers most of my youth.
I started to try some code golfing in JS instead of playing games during early evenings few days ago and ended writing a little chunk of code implementing a tiny Sokoban-like puzzle game. Not the shorter solution possible but I had a lot of fun putting it together.
This tiny piece of code worked as seed and, together with all the random thought and events I listed, it became "The Last Of At" (Link) without any control - a humble tribute to everything that is important for me about gaming.
The 1024 bytes limit immediately resulted a rule for different reasons: to give a challenge on programming, to limit the size of the project, to stimulate on feature selection and, most important, to be printable on a T-shirt or a small poster.
Honestly I don't know if I'll ever print it somewhere but I thought that having a working roguelike or a TLOU minigame printed on a T-shirt could be nerdly funny - Bianca just thought that's way too nerd.
JS Crushers allow to pack more features in 1Kb but sadly the resulting code contained not-printable characters so I decided to try to avoid it.
Permadeath, turn based gameplay, ASCII graphics, complex random generated mazes, inventory, strategic battles and raycasted sight are very distinctive traits of classic roguelikes so I started implementing tiny but recognizable versions of each feature. I never wanted to make the definitive roguelike (nor doing it in 1Kb) but I tried to make it the less boring possible - if not quite enjoyable.
Different kind of zombies, a friend that will help and put you in danger, weapon selection, in-game narration, a turn of events, a human plot and the sense of hunt and being hunted are distinctive of The Last Of Us and, some of them, of good modern story-driven games - sadly the zombies presence too.
Zombies can justify the not perfect "AI" I managed to fit in the game and I added some of them that will just run randomly in order to give a bit of variety and mock Runner zombies.
I also tried to put the knife, a key weapon of TLOU, allowing the player to choose which zombie to attack and in which way, making the game a little deeper. The real challenge was to put the narrative part, which was byte expansive and risked to be not so clear with ASCII graphics, but I wanted it way too much and I hope you'll recognize and enjoy it - don't worry, it is not taken from the original game :)
What was clear from the beginning was that probably everything would have felt like a cheap DOS porting of a fanfictional game so why not to work on it too? So I gave mocked names to the character, invented a storyline that resembled the original and added some ASCII art to the sources - they will be stripped by the minifier, giving the "I need to read the manual in order to understand the cheap plot" typical of old age games.
I commented everything to help myself on keeping track of variables and features (and entertain who will be interested enough to read the sources) and wrote everything in minified form natively, in order to better compare code shortenings on the fly.
I used uglifyjs (Link) as "computer opponent", which was helpful most of the times in the first phases of the development.
I had to skip a lot of features, like hearing zombies a-la Joel, guns, procedural weapons, simplified crafting, knife-opened doors and the ability to pick up your partner but I'm satisfied with the results: "The Last Of At" (Play it here (Link) Sources here (Link)) is my humble and spontaneous tribute to roguelikes, old school games, modern games with deeper stories and a diary of my life as gamer and programmer that fits in a pocket.
I hope you'll find it strange, funny and formative as much as it was for me making it.
~ . ~
Doing some JS golfing (Link) during some kind of "Roguelike phase" comeback mostly because of Hack, Slash, Loot (Link) - a really accessible Roguelike I like very much.
Presenting Roguepuzzle! Try to swap letters in the labyrinth in order to WIN :) Use arrows keys to move. 192 bytes.
Want to make your own stages? Here you are a sightly longer version. 197 bytes (stage data excluded).
Play it here. (Link)
~ . ~
Le regole del gioco
A tris s'impara presto a giocare.
Due vicini di banco scelgono un simbolo tra croce e cerchio e lo dispongono a turno in una griglia 3X3. Chi allinea in orizzontale o diagonale 3 dei propri simboli vince.
Sulla carta la posizione centrale permette un maggior numero di condizioni di vittoria (due diagonali, una verticale ed una orizzontale) e, dopo poco tempo, diventa la posizione preferita dove giocare la prima mossa.
Col tempo, pero', si scopre che - se giocato con una particolare strategia - il tris non offre alcuna sfida: e' possibile, considerando alcuni pattern base di disposizione dei simboli, vincere sempre o pareggiare.
Per semplicita', nel linguaggio comune, queste tre considerazioni vengono identificate con la parola regole.
La prima e' una regola del gioco che, se violata, invalida la partita rendendola nulla e, se seguita, ne ufficializza l'esito.
La seconda e' una regola di buon senso che, se violata, riduce il numero di condizioni di vittoria e, se seguita, ne aumenta le probabilita' ma non l'assicura.
La terza e' una regola vincente che, se violata, riduce il numero di condizioni di vittoria ma, se seguita, assicura in ogni caso che non si raggiunga la condizione di perdita.
Nel corso della vita ci si confronta con centinaia di regole e le circostanze spesso non ci concedono il tempo di capire di quali tipologie siano: a volte ci si ritrova a violare le regole del gioco, rendendo vano tutto cio' che si e' costruito, a volte si crede di seguire una regola vincente ed invece e' solo una modesta regola di buon senso che non assicura nulla ed a volte s'incontrano vincenti in ogni caso che si spacciano strateghi di valore, che hanno solo scoperto dove il gioco sia rotto e che hanno tutto l'interesse nel mantenere il vantaggioso status quo.
Il saper riconoscere con quali di queste regole ci si stia confrontando e' vitale e tale coscienza la si raggiunge soltanto coltivando un personale e sensibile senso analitico e critico, che richiede cosi' tanto tempo per svilupparsi da poter coprire soltanto uno o pochi dei mille mondi regolati e mutevoli della vita.
Il mio contributo? Per quello che ho potuto valutare nella mia vita non esiste una regola vincente che regoli il senso critico. E, fortunatamente, nemmeno una regola del gioco. Esistono solo regole di buon senso e c'e' soltanto un altro mondo estremamente affine a questa situazione: il percorso per la ricerca del proprio senso critico in un particolare ambito coincide con quello della ricerca artistica. Siate, quindi, artisti nel vostro campo.
Sopratutto voi, nel mondo dell'IT.
~ . ~
Pagina successiva »