Earlier quoted context omitted.
If you made random moves in a game of chess or checkers you'd get beat by a four year old with the barest grasp of the rules. In fact I would love to see a chess-playing robot that actually does that, it would thrill the crap out of my nephews to beat the big bad robot in a game of wits. I'm unaware of the name of the property that RPS exhibits that makes it ungameable by a random opponent (zero-sum?) but ordinary RP…
2 person adversarial games with hidden information (eg poker or RPS) exhibit a "Nash equilibrium in mixed strategies". That is, the best strategy involves a random selection between choices with some probability weights. Since RPS is a very simple game, the weights are equal, so the unbeatable strategy is to choose between rock, paper and scissors with uniform probability on each round taking no account of what you o…
Show HN: Play rock paper and scissors against a untrained neural network
41–50 of 64 posts
Re: Show HN: Play rock paper and scissors against a untrained neural network
#42Earlier quoted context omitted.
Are you implying that you can (or any other human can) in the long run beat someone who is playing RPS randomly?
Can I beat a computer playing randomly, no. A human, show me where the random number generator in their brain is.
The entire point of this thread is that some of use pitted random vs this AI. And tht AI is winning more often than it should. Zero humans were involved.
Which brings us back to you can't game random.
Re: Show HN: Play rock paper and scissors against a untrained neural network
#43Earlier quoted context omitted.
This is not chess. But a game of chance. You can't form a strategy based off random without predicting said random. I thik it was already pointed out but I have not had a chance to verify. This game uses your played move in tht training set to train before making it's predictions.
RPS is not a game of chance. Outcomes of games are determined not by a random process, but by the choices of the players. If the players rolled dice and biggest roll wins, that's a game of chance. The dice can't pick how they're thrown, nor can the throwers influence the outcome. If either of those two things change, the game is no longer purely one of chance. The game can be set up in many ways that invite strategy.…
Which is the point of this thread. Random vs AI.
Re: Show HN: Play rock paper and scissors against a untrained neural network
#44Earlier quoted context omitted.
But if it predicts you are playing random, is it not then random vs random? I am under the impression that you can't game random -- unless you are aware of the random generator being used is broken..
If you made random moves in a game of chess or checkers you'd get beat by a four year old with the barest grasp of the rules. In fact I would love to see a chess-playing robot that actually does that, it would thrill the crap out of my nephews to beat the big bad robot in a game of wits. I'm unaware of the name of the property that RPS exhibits that makes it ungameable by a random opponent (zero-sum?) but ordinary RP…
Re: Show HN: Play rock paper and scissors against a untrained neural network
#45Earlier quoted context omitted.
The problem is that that the player's move is actually being fed to the training data before the computer makes its prediction. Take a look at the variable 'y' after making your move and you'll see that it includes the player's last move. Because 'y' is updated before the computer makes its prediction, this shows that the computer uses the player's current move as part of the training set to decide its move.
I took a stab at fixing this: https://github.com/victorqribeiro/jokenpo/pull/3
Re: Show HN: Play rock paper and scissors against a untrained neural network
#46Earlier quoted context omitted.
RPS is not a game of chance. Outcomes of games are determined not by a random process, but by the choices of the players. If the players rolled dice and biggest roll wins, that's a game of chance. The dice can't pick how they're thrown, nor can the throwers influence the outcome. If either of those two things change, the game is no longer purely one of chance. The game can be set up in many ways that invite strategy.…
It becomes a game of chance once one of the players is replaced with a computer picking at random. Which is the point of this thread. Random vs AI.
Re: Show HN: Play rock paper and scissors against a untrained neural network
#47Earlier quoted context omitted.
If you made random moves in a game of chess or checkers you'd get beat by a four year old with the barest grasp of the rules. In fact I would love to see a chess-playing robot that actually does that, it would thrill the crap out of my nephews to beat the big bad robot in a game of wits. I'm unaware of the name of the property that RPS exhibits that makes it ungameable by a random opponent (zero-sum?) but ordinary RP…
The Nash-Equilibrium solution to RPS is playing each option a third of the time. Simplified, this means that if you're playing this strategy, your opponent's best strategy is to do the same and there is nothing either of you can do to increase your own expectation.
Re: Show HN: Play rock paper and scissors against a untrained neural network
#48I hate to say it, but I’m not sure it’s playing fair. I used random.org to play truly randomly, and the “neural network” beat me to 10 pts 6 times in a row.
Looking at the source code, the move you are about to make is included in the training dataset. This can be confirmed by playing “scissors scissors scissors rock” and then looking at the variables x and y in the console, which will include the surprise rock. The code updates x and y, then trains the model, and then makes a prediction. “Fair” code would make a prediction, then update x and y and train the model This e…
Re: Show HN: Play rock paper and scissors against a untrained neural network
#49Earlier quoted context omitted.
after the player makes a move the nn makes ones and add it to it's training data. the move the player does after that is added as a counter move to the nn move. this way I treat the data as time series.
The problem is that that the player's move is actually being fed to the training data before the computer makes its prediction. Take a look at the variable 'y' after making your move and you'll see that it includes the player's last move. Because 'y' is updated before the computer makes its prediction, this shows that the computer uses the player's current move as part of the training set to decide its move.
Re: Show HN: Play rock paper and scissors against a untrained neural network
#50I hate to say it, but I’m not sure it’s playing fair. I used random.org to play truly randomly, and the “neural network” beat me to 10 pts 6 times in a row.
The thing is, if you are playing randomly, that makes it easier to predict what you’re (not) going to do next. A good random distribution would give fewer runs, which means your choice is less likely to be the last choice you picked and somewhat less likely to be other recent values. It can at least tie by choosing scissors if it thinks you will not pick rock. This is kind of a shot in the dark because I am not famil…
A good random distribution actually gives more and longer runs than a human trying to appear random.