Working on lights

There are so many “2D maps with light” posts that I am beginning to think that I am out of my league. Everyone seems to know how to do it!

I have been using the last few hours to try and implement this :

http://roguebasin.roguelikedevelopment.org/index.php?title=Digital_field_of_view_implementation

I never played with lightning in a tiled game, despite having made a lot of tile based games, so I picked this implementation. It seems to work :

Progress after 4 hours

Not bad for a couple of hours... I think?

The game will be graphical, using XNA, but console is always better when trying to understand an algorithm IMHO. Next post should have it with some gfx tiles in a non-console mode.

Edit : I should have removed the scrollbar from that shoot