Sunday, October 9, 2011

Tetris clone in Unity

I have been working with Unity lately and decided to use it for a a 3D version of my simple-tetris-clone.
Unity great strengths are the easiness to go from concept to implementation and its support for deployment in multiple platforms. It's not that easy, I can tell, after finishing a project with iOS and Android support but once you get it right, it works.

You can play it online if you have the Unity plugin installed.

Wednesday, February 9, 2011

Solving the Tic-Tac-Toe game, finally...

The simple game that has been always after me laughing at my programming incompetence.

The very first time I tried to make a program that could play perfectly the game was in the university, after taking my very first course in Programming Languages (I learned Pascal). It was holidays and I was visiting my cousin and got the nice surprise of him getting a personal computer. It was a powerful 286 with a monochrome amber monitor. I couldn't find anything similar but for you to get the idea, games were played like this in those computers:

Saturday, January 15, 2011

Flasic: a very simple BASIC interpreter for Flash

I just found this very little cute BASIC interpreter: Jasic and I decided to make a port to Flash in order to add basic graphics commands (just "setcolor" and "putpixel" actually) so I could see the little thing drawing a colored Mandelbrot fractal. It was very easy, thanks to the profusely commented code of the original author (Bob Nystrom). You can select the program demos from the drop-down menu and press the [Run] button to start the interpreter. So without further ado, Flasic: