News for hackers. Stuff that matters.

daformat

If you want to get started with web dev in 2017. You should avoid jQuery as much as possible. Take a look at http://youmightnotneedjquery.com before deciding.
Re:Show HN: Cryptris, a video game on cryptography on Tuesday June 17, 2014 @06:31AM (#7903602)
Can you please specify what is your config (including how you actually block those) so we can fix it?
Re:Show HN: Cryptris, a video game on cryptography on Tuesday June 17, 2014 @05:11AM (#7903442)
Add this to that the fact that we need to try not to lose the player's attention so he won't get too confused by too much information.

In the dialogs, we first explain to the player that we need to create him a username, a private key and a public one. Now the player gets too chose his username, and right after that we generate a random private key (well not exactly random, in fact we randomize a pre-generated private key so we can be sure of it's properties, otherwise the player could get hard times decrypting).

Once the private key is generated, we get the player to create his public key through scrambling and mixing the private key.

During the normal game, we add an extra check to make sure the private/public keys matches the ideal properties we need for our demonstration: we want the player to play with a simple public key and the AI to play with a strong (kind of) public key, in the game this translates to one column significantly 'bigger' than the others for the private key and more than one 'big' columns for the public key.

We only constrain the public key during the game's story mode, in arcade one can chose to create a 'weaker' public key ("Arcade" > "création des clés"), then let him play the arcade boards with it.

Additionally, we allow the player to chose who plays with what, so both the player and the AI can play with private/public keys.

So I really think all the building blocks are already in the game + arcade mode. But we need to admit that most people just skip dialogs, no matter what.

Oh, well let's just keep on iterating :)

Re:Show HN: Cryptris, a video game on cryptography on Monday June 16, 2014 @06:33PM (#7901861)
Sorry for catching up late, definitely, please submit issues to my fork so we can all keep up with what's going on.

Thanks for the help and comments guys, nice to see Cryptris getting some supporters on HN.

Re:Issues with Apple's iOS WebGL Implementation on Sunday June 15, 2014 @07:36PM (#7896722)
Did not get that apple was finally unleashing webGL on mobile Safari, that's awesome! Thanks for the investigating on the beta and helping in making it better. I can't wait to be able to have Three.js working on iOS.

Though, I feel disappointed that the promises of "web app" were not really held so far (just look how you can't even open an external link in the browser from a webapp now), in favor of native apps, and hope that webGL in the browser isn't gonna be just another bittersweet thing.

I guess we can simply wait to see how the tickets you linked to will go to have a good sense about that.

Re:Dreamforge (YC S12): Make your own superhero on Monday August 20, 2012 @07:26PM (#4410330)
That is awesome, can't wait to deliver it to you :)