LSTM Rock Paper Scissors


This rock paper scissors AI uses LSTM to predict your next move. The C++ LSTM code comes from the lstm-compress project. It was compiled to JavaScript using emscripten.



Click on the "Train" button to train the LSTM using randomly generated repeating sequences. The LSTM will become better at recognizing patterns with more training data. Note that the LSTM also trains while playing games against you.


The LSTM is randomly initialized, so consider running it through some training iterations to improve its performance before playing.

Your score: 0
AI score: 0