Cleanweb Hackathon – Epic Energy III

Hacking Away
On Saturday I participated in my first hackathon – the Vancouver Cleanweb Hackathon. It was a 12-hour coding marathon, or at least it was for our team from Pulse Energy. While most participants spent the first 2 hours brainstorming, pitching ideas, and recruiting team members, we locked ourselves in a board room and started coding with barely any breaks for eating or peeing. We weren’t necessarily serious or competitive. We just had an ambitious plan and only 12 hours to make it work, so there was no time for socializing.

Earlier in the week, we spent two lunches brainstorming about ideas and planning how we would build our favourite idea, a building manager sim game. We knew we were in over our heads, but we hoped the extra prep work would make up for our lack of game development experience.

Below you can see the evolution of our game as we slowly added functionality, content, and graphics. I’m impressed with how polished it looked after only 12 hours. A lot of the credit goes to our graphic designer, Tyler.

This slideshow requires JavaScript.

Our biggest challenges were making the game realistic (we used real data as much as possible), fitting in all the functionality we wanted (sadly, a lot of cool features got cut), and hardest of all, keeping it fun. At 6 pm, with 2 hours left, we stopped coding and did a play-through of our game and realized it was horribly boring. At that point, we stopped adding new features and prioritized fun. We added quirky comments from grumpy tenants, a scoring system, a tweet button, and animations to make it seem more like a game and less like a budgeting exercise.

I encourage everyone to check out and play Epic Energy III, and tweet your high score. The goal is to save as much energy as possible while keeping your tenants happy (which should be explained on an intro screen, but that feature got cut). So far, my best score is 20,308. If you’re interested in the code, you can see all the commits on GitHub. Don’t worry, even if you can read the code, it’s not obvious what the best strategy is to get a high score.

We’re still planning on making some improvements to the game in the coming weeks even though the Hackathon is over. It’s good marketing for Pulse Energy and fun to work on.

2 comments

  1. Sweet! I played and considering it was built in 12 hours not bad at all. My only question was about the color of the people/occupants. Green is happy and orange is neutral?

    And the video is pretty cool too. Did the marketing video get built in that same time?

    Like

    • Thanks.

      Yes, green is happy, orange is upset, and red is mad. There’s a hover state but you wouldn’t see it on an iPad. We were going to have mad tenants move out and take away some of your budget, but it didn’t feel right. We also had ideas for random events that would be based on tenant happiness. Maybe in V2.

      Peter created the video while we coded, in addition to collecting data on retrofit costs and savings. He did a great job.

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s