AI Bot Challenge

← Back to all posts
21
Rock Paper scissors with neural network

Rock Paper scissors with a neural network for the computers move. Code on github https://github.com/qwertpi/rpsai and a walkthrough of the code on Medium https://medium.com/datadriveninvestor/making-your-first-neural-network-part-1-a683b80b93e3

Commentshotnewtop
2

haha I used a random number generator to pick the choices for me and still got crushed, 36/40/47 before it crashed

1

@BenDaBest It looks like the "crash" was caused by you not entering a move?

1

Maybe you could change selection for 1,2,3 or p,r,s .. it is a lot easier to write just "paper" than scissors :)

1

@Lasseu p r and s do actually work, maybe I should make this clearer?

1

I only got draw, and I used rock the entire time. Maybe you could vary the outcomes?

2

@theprobobxd Did you give permison for your data to be used for improvements? If so, hopefully next time I train the neural net it will learn that people sometimes repeat the same move