Hexagonal Map Rendering

I’m still working on my Hexagonal Map Renderer in my spare time and I decided to create a project on GitHub to better keep track of the changes . Features so far: Hexagonal tiles Map culling Picking Pathfinding using A* Here’s the link: https://github.com/mizrael/hex-map I’ve used a couple of external resources...

1 minute read

Hexagons! Hexagons everywhere!

I feel bored. Sometimes I feel so bored that I start walking around as if I were on a tiled map. And sometimes I like to switch from rectangular to hex-shaped tiles 😀 I’ve started working on a hex-based map renderer, just because, as I said. I’m bored. Here’re the...

1 minute read

HttpContext.Current, I hate you.

What if you have some legacy code that you cannot refactor and that contains references to HttpContext.Current ? What if you are writing unit tests for your code and it has references to that legacy code? Option 1: refactor the calls to the legacy code with the proxy pattern and continue writing the...

1 minute read

Simple Membership Provider. Oh you!

{“The Role Manager feature has not been enabled.”} 1/2 hour. Took me half an hour to track down this. It all began with the ASP.NET MVC 4 template, with its shiny AccountController. “Why do I have to write all that auth code? Why can’t I use WebMatrix ? ” {“The...

1 minute read