LSTM Rock Paper Scissors

rps

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.

Architecture

Training

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.

Play

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