Cool stats for Terry Cavanagh's game Super Hexagon. I love this game and you should love it too. Try the Flash version so you know how awesome it is (Super Hexagon is even better).
Website is live on superhexagonstats.herokuapp.com. If you have any ideas for new features, just create a new issue.
Would it be possible to do something like this for another Steam game (or all other Steam games) with a leaderboard?
Yes, but I don't want to simply because Valve now knows that e.g. group leaderboards are useful (thanks, greuben :)) so I hope they will implement it as a native Steam feature. Or it may be available on awesome sAPI in the future, I don't know.
I have no idea. If there are any problems, create a new issue or make a pull request with a fix.
Oh, also buy our game Euro Truck Simulator 2. It's required to use Super Hexagon stats... Ok, just kidding. But try it.
This site was built with AngularJS. It's my first project in it, so it may be ugly. I'm using Ruby for server stuff (specifically Sinatra), MongoDB (MongoLab) for the database, CoffeeScript, and Twitter Bootstrap because you wouldn't want to look at the website if it was designed by me.
- You definitely want to get RVM (Ruby Version Manager). Life would be hard without this awesome tool. Or try pik if you are on Windows, but I haven't tried that so it's possible that it doesn't work.
- Go to the directory and run
bundle install
in the terminal. - Open file
env_variables.rb.example
, rename it toenv_variables.rb
and change it to your needs (used in development, use e.g. Heroku config in production). - Run
rake hex:update_data
to update leaderboard and users. It will take a while, Steam API is slow. - Install Node.js and then
sudo npm install -g coffee-script
to install CoffeeScript compiler. - Run
rake js:compile
to compile CoffeeScript files in thecoffescripts
directory. It's a good idea to put it in a shell script before launching the server (or if you use RubyMine, just set Run Rake task js:compile in the Before launch option). - Run Super Hexagon stats with
thin start
,rackup
or however you want!
Enjoy!