Blog filled with:

Technology | Sketches | Photos | BITS

Sunday, June 21, 2009

Run Chef Run - My Game for CodeChef Contest!

Been a while eh? It's been more than two months since I last posted (Ironically about one year of blogging!). For those who're still following this blog hoping for a good post, well here it is!

Coming to the point, the past few days have been pretty different. A lot of things have changed, for example the fact that I've hardly been online lately (Can't help it, I don't have net access at my Institute in Mysore, where I'm doing a Summer Internship). So I've been spending a lot of time exploring things not in the World Wide Web.

And I finally succeeded in completing one of the "10 Things to do before I die" (Okay I don't really have such a list, but I guess now is a good time to come up with one!). So well, I made a game. Yup. Yes. Yeah. (Yoyo?) Sorry to disappoint you if you were expecting something greeattt. :P

CodeChef, a Directi Initiative, offers regular coding contests (aka codejams) apart from a huge collection of practise problems which you can solve in your free time. This May, they decided to do something different, and held a Browser Based Game Contest (Flash/JS Games). I was eager to take part in it, but couldn't take out much time from my summer internship. Anyway, I made a small flash game (1 Day of Photoshop + 2 Days of Flash) and came up with this:

The game is pretty simple. You are the Chef, you need to run all the way, jump over Binary Heaps and slide under Dangling Pointers (A little too geeky names eh?). And if you notice carefully (I'm sure you didn't :P), nearly all major objects are made using TEXT/KEYBOARD Characters ONLY (Like the Trees using "#" and Mountains using "&"). Sadly gif compression really (REALLY) screws up the detailing, so maybe you should wait for a while for better graphics (yes I'll make a new version soon!).

As for those who're thinking about the code, well basically everytime you play, the Environment objects (Trees/Clouds/Mountains/Bushes) are generated at random, and so are the Enemy (Or whatever you want to call that). So sometimes it'll be a little hard to play the game and sometime you'll just be plain lucky :P

Anyhoo comments about the game are most welcome. And please don't hesitate to criticise it! (Though a little description about what's not good will be better than the more common "This is $#!T" comment :P)

Oh & not to forget, I got an "Honorable Mention" for my game! You can check out all the Winning Games at the official blog post.

Thank you CodeChef for the mention! (I get a T-Shirt too! Yipee!)

PS: If you're a student at BITS Pilani, Goa Campus, gear up as CodeChef student Chapter will be up & running next sem! (You should know that by now! :P)

Lemme know how the game was! =) ;)