Saturday, 4 September 2010

Munchies food delivery #2

I was feeling hungry, lazy and tired. So I ordered food from Munchies again.

The New Orleans Cajun Po'boy:

2010-09-04 - Shanghai - Munchies - 02 - New Orleans Cajun Po'boy


The Kingston Jerk Chicken Sandwich:

2010-09-04 - Shanghai - Munchies - 01 - Kingston Jerk Chicken Sandwich


I ate, but did not really appreciate either of these. I don't think either are things suit my tastes. But they were fresh, hot and full of the ingredients they were supposed to be full of.

Xikang KFC

Was feeling hungry this morning, so I decided to try some McDonalds. However, there are very few McDonalds in Shanghai, so I settled for something that is far more common. KFC.

Like other fast food joints here, they have a menu with items in Chinese on one side, and in English on the other. I wasn't too fussy about what I ate, so I went for the Zinger burger combo.

2010-09-04 - Shanghai - KFC - 01 - Zinger combo


Unsurprisingly, the battered chicken fillet is dark meat. It cost around 22 RMB I think. It was nice enough, but I've had better KFC in New Zealand.

Thursday, 2 September 2010

Roguelike MUD progress #2

Previous post: Roguelike MUD progress.

I wasn't feeling very motivated when the time I had set aside tonight to work on this came around, but once I got into it I made pretty good progress. The bugs I listed yesterday are now fixed, and additionally the field of view emphasis is working. It's annoying that the stupid mistakes are the ones that take the longest to track down. In this case, absently writing or instead of and.

if y in self.drawRangesNew:
minX, maxX = self.drawRangesNew[y]
if x >= minX or x <= maxX:
return True
Maybe I should reconsider minX <= x <= maxX, although it never quite seems right.


The FoV changes are not as optimal as they could be. Every tile in the post-move FoV tile set is individually marked up with escape codes, I should instead simply mark each row of qualifying tiles in one go.

Current TODO list:
  1. Clean up the FoV emphasis to be row-based, rather than tile-based.
  2. Add some objects and entities to the world, that can be interacted with. Entities should move to add life to the world.


Next post: Roguelike MUD progress #3