GhitaB / guess-my-number

:a: The numerical version of bulls and cows game.
http://ghitab.github.io/guess-my-number
The Unlicense
22 stars 4 forks source link

So easy #3

Closed lrusnac closed 9 years ago

lrusnac commented 9 years ago

So easy to win :D just put a debug and watch the stack schermata 2015-05-17 alle 13 32 04

jamesliu96 commented 9 years ago

LOL, awesome!

GhitaB commented 9 years ago

Yes. You discovered a cheat for this game. :smiley_cat: Do you have any solution to fix this?

jamesliu96 commented 9 years ago

@GhitaB the only solution that can fix this thoroughly is to create a remote server that generates and processes the random number.

GhitaB commented 9 years ago

Thank you, @jamesliu96! But this is hosted on GitHub Pages that is client side only...

jamesliu96 commented 9 years ago

@GhitaB Yeah, well then, this problem therefore cannot be solved. But this project is nice, especially for the designing!

GhitaB commented 9 years ago

Thank you. I use http://coolors.co/ for nice color schemes.

lrusnac commented 9 years ago

Nice project but I don't really understand the difference with Mastermind. And yes the better way is to have a server side for hiding the computer number :) :+1:

GhitaB commented 9 years ago

I used to play this game on paper with my brother some years ago. I don't know the real name of this game. Maybe it is the same with Mastermind.

h0dgep0dge commented 9 years ago

I imagine this bug could be partially solved with some kind of cryptographic black magic without the need for a smart back end server. This is not exactly my forte, but I may do some research on it

In fact, a back end server wouldn't solve the problem, as one could simply use the network monitor in chrome.

GhitaB commented 9 years ago

Maybe yes. Try it.