wwwhizz' blog Blog about some tech, some linux, my MIDIbox SID, etc.

12Nov/111

Portal 2 cupcakes!

It was a cold and dull day today, so we (me and my girlfriend) decided to bake&make Portal 2 cupcakes. Check out the pictures below :)

The cupcakes are carrot-orange cupcakes, with marzipan base, cream cheese frosting and marzipan figures, colored with food coloring. My girlfriend made the Portals with split-turret, the cake and the cube on the cake. I made the turret, the cube without a cake and Wheatley :)

Comments are welcome :)

Filed under: Uncategorized 1 Comment
6Oct/110

Awesome Super Meat Boy cuddly toy!

She did it again!

Remember the awesome Plants vs. Zombies cake my girlfriend gave me last year?
This year she gave me a self-made awesome Super Meat Boy soft cuddly toy! It's now always watching TV with us :)

 

26Aug/115

My Bejeweled Blitz cheat bot

A few months ago I've written a cheatbot (in Java) for PopCap's Bejeweled Blitz on Facebook. Today I've done a few improvements. Time to share this with the web.

You might think "OMG H4X!!!one!!". Well, not really. I didn't manipulate the game or browser in any way, I simply let my computer move my mouse and play the game.

How does it work?

  • Take a screenshot of the current grid (or field)
  • Check the color of the pixel in the middle of each gem on the grid
  • If it's a hypercube: move the hypercube randomly to a direction
  • Check for each gem whether moving it is a valid move
  • If so, move it!
  • Repeat until the minute is over
  • ...
  • Profit!

This performs pretty well, check out the video below:

Improvements still to be done:

  • It does not recognize every special gem, this should be fixed
  • The first valid move is now performed immediately, perhaps a better heuristic is possible (e.g. find hypercubes first, then search for multipliers... etc.)
  • It should have a shortcut to e exited, now it keeps on running; making the mouse impossible to use until the minute is over.
  • The code is a bit messy, should be cleaned up.

Funny thing: Normally Blitz guarantees there always is a new move, however I happened to have a field once with no further possibilities, probably because of a race condition between my bot and the game, see below.

Questions and comments are welcome :)

4Oct/105

Awesome Plants vs. Zombies cake

Look what I got as a present from my girlfriend, celebrating our 6 months anniversary:

It's an AWESOME Plants vs. Zombies cake. If you don't know the game, you must've been lying under a stone for a while... Anyway, I just LOVE the game, and the cake.

The cake is a chocolate cake with a green grid of butter-cream containing egg white. The cake characters are a Sunflower, Peashooter, Chomper, Potato Mine and a Zombie all made of custom colored marzipan.

Just look at all the little details! Gleeeeee. More pictures below :)

Comments are more than welcome :) I'll make sure my girlfriend will read them ;)

 


Marzipan

   

Page optimized by WP Minify WordPress Plugin