Settings

Theme

Show HN: A friend and my CMU Webapps final project

keeplay.estenh.com

20 points by estenh 14 years ago · 22 comments

Reader

estenhOP 14 years ago

We wrote a little game that should help with pitch recognition. Uses Couch for storing high scores, Redis for cache and Tornado for the server.

Makes use of Audiolib.js (https://github.com/jussi-kalliokoski/audiolib.js/) for audio that works in FF/Chrome. Bit weird in FF though, but at least it plays.

I did most of the JS and my friend did most of the backend. We were sorta on deadline, so the design isn't quite what I would call perfect (ha) and my JS is super-messy in places. Also, there are bits where I inexplicably use jQuery for stuff I had been doing without a framework and other weird inconsistencies like that, but hey, it works. Anyway, let me know what you think! Thanks.

mushishi 14 years ago

I don't use Facebook, sorry. (Was FB integration really needed?)

  • estenhOP 14 years ago

    It probably wasn't, but we needed some way to save high scores, and "outsourcing" auth to FB was the simplest way. I've done other projects where that's optional, and that'll probably be the end goal for this as well.

    If it's any consolation, I don't like sites that only use FB auth either... this is just a product of the time-constraint.

    • throwaway16185 14 years ago

      Any way to put a quick hack so we can play without using FB login? Would love to try it out...

      • estenhOP 14 years ago

        I'll do my best to hack in a non-Facebook version when I get some time. Definitely a necessity.

  • antics 14 years ago

    I agree that they probably didn't need Facebook, but a generation ago, it would have been an email address that they required, and I would have just used a "junk" account. I'm honestly wondering, for people who don't like Facebook, what is the problem with just having a "junk" Facebook account?

    • ntkachov 14 years ago

      Facebook doesn't really like "junk" accounts.

      • antics 14 years ago

        And Hotmail et al did?

        • middus 14 years ago

          Yes, you could have your 246th email account as myspamaccount@hotmail.com without any fuss?!

          • veemjeem 14 years ago

            you can still have junk facebook accounts, the sign up process is slightly longer than hotmail's, but not by much. I still have around 15 junk facebook accounts or so... I only remember the passwords for about 3 of them.

  • redthrowaway 14 years ago

    I do, but any site that asks me to log in using it quickly gets closed. Sorry, but I'm not interested in using facebook outside of facebook.

  • chrischen 14 years ago

    It's just facebook login. Think of it as a cookie.

StavrosK 14 years ago

I must be doing something wrong, because it just drops a bunch of notes/rectangles on me and I lose within half a second. What's the purpose?

Chrome on Ubuntu, by the way.

  • estenhOP 14 years ago

    Interesting. Should start fairly slow... The idea is to catch notes that are in key (black ones) while avoiding those that are out of key (red ones). I'll try to slow down the blocks a bit to make it easier.

    • StavrosK 14 years ago

      I tried it again, but there's another problem: There's about a half second latency between hitting the brick and the sound playing. It makes any sort of association hard...

      • estenhOP 14 years ago

        Is this in Chrome? I've seen that happen in FF, and I'm pretty sure it's just due to the way the API works in that browser.

        Not sure what's going on if it's in Chrome. Fairly minimal latency on both my Mac and Windows machine.

  • estenhOP 14 years ago

    Should start a bit slower now, and speed up as you play.

    • StavrosK 14 years ago

      Oh, right, I wasn't avoiding the red ones. It was still too fast, though, hopefully it's better now. I'll test in a bit, thanks!

edge17 14 years ago

jeff eppinger's class?

  • estenhOP 14 years ago

    Taught by Anthony Tomasic this semester, but yes.

    • edge17 14 years ago

      fun class. I took it a few years ago, i remember one team did a 'nethack' style game using photos they'd taken in wean hall (i think they'd done the whole thing the night before). It was pretty funny to sit there while they presented and politely not try to laugh. Of course they thought it'd be humorous, and it was, but at that time the humor for us students was more from sitting in the audience and trying to re-live what must have been going through their heads the night before.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection