slavick.org

blog | software

Snake

I've written the classic snake game in CoffeeScript. It was my first time writing in CoffeeScript and I feel I got a good introduction to the language. I used jQuery to handle keyboard events and Raphael to handle the drawing.

I'm pretty happy with the result. The last time I wrote snake was in python using pygame. Whenever I wanted to show someone the game, I had to install python and pygame on their computer. What a headache. Now I can just give them the url and they can play in their browser.

Click here to play it in your browser.

JustTheTops now has search

As JustTheTops gets more and more content, it gets harder to remember when a particular post was made. Now you just need to remember a part of the title. Here are some sample searches to get you started:

  • Maybe you want to relive the awkward rap that Anne Hathaway did on Conan. Eh, I still love her.
  • Want to see all the XKCD or Oglaf comics.
  • How about all the NSFW content?

Welcome to the new slavick.org

I've thrown out all my old posts and a few of my old projects. Why would I do that? There are a few reasons:

  1. Move away from WordPress as its way too overpowered for my needs.
  2. Move my site off DreamHost and onto my Linode 512 VPS to save a little money.
  3. Write my own blogging software that fits my needs.

WordPress is such a gargantuan piece of software that I always felt a little intimidated by it. I wanted something much simpler. I wrote the code to this site as a django app with a focus on minimalism and simplicity. My main use of this site is as a place to post my projects and maybe a blog post here and there.