Look, Costa Coffee, it's really quite simple.
Let:
l(x) | x is lactose intolerant |
s(x) | x wants soy milk in their cappuccino |
c(x) | x wants chocolate powder on top |
Then...
Read more...Look, Costa Coffee, it's really quite simple.
Let:
l(x) | x is lactose intolerant |
s(x) | x wants soy milk in their cappuccino |
c(x) | x wants chocolate powder on top |
Then...
Read more...Last month I was asked very nicely by Manchester Girl Geeks organiser Sam Headleand if I would consider making a simple platform game for their BarCamp event. So after a bit of coding with PyGame I came up with:
Read more...A few years ago I wrote an ASCII diagram parser in Python. I never got round to blogging about it at the time, but now I want to finally get some of my thoughts about it down in writing...
Read more...Today I wanted to set up a quick web script; just something that ran on the Apache server I already had set up, took some query parameters and spat out a basic page in response. My usual go-to for this kind of thing would typically be PHP, because it's so quick to throw together and deploy. But this time, I wanted to see what the Python equivalent would be. Is it possible to write a quick Python script, drop it on a server and have it just work? Well, yes, it turns out it is. Or very close, at least. Here's how...
Read more...Recently I have been having some issues with sprites in the game I'm currently working on. It's a 2D game and I'm using OpenGL to render textured triangle pairs for my sprites. Let me explain some of the caveats I've run into with regard to mipmaps...
Read more...I've been going to the Manchester Game Jam ever since the awesome Dan Hett started it up over a year ago at MadLab in Manchester's northern quarter. It's so much fun to turn up with a laptop, blast out a game idea over the course of a weekend and see how it turns out. Most of the time, what seems like a great idea on paper turns out to be a terrible idea in practice, once you can see it moving in the form of a prototype. Occasionally though, an idea will work, and at the last-but-one game jam this happened to me...
Read more...Recently, for the Manchester Raspberry Jam, I decided to write an extremely simple MUD game which could be run on the Raspberry Pi. The aim was to create something fun that might spark curiosity for someone learning to program. The code is up on GitHub.
Getting the server to work with Microsoft's Telnet client that ships with Windows (or doesn't, as is currently the case), proved to be a bit of a pain. In Linux I could connect to the server, type a command, and as I typed I would be able to see the letters appearing in my local terminal. When I hit enter, the server would receive the whole line I had typed. All good.
In Windows, however, the first problem I discovered was that the telnet client is no longer installed by default for Vista onwards...
Read more...It's been 3 months since my post previous about the game I'm working on. This is the game that I'm determined to finish no matter what - a simple 2-player strategy game centered around a cannon-firing mechanic - think Worms but on an isometric map.
What's happened with it since then? Well...
Read more...