Rock Paper Scissors

Through machine learning, you can train a machine to play rock paper scissors with you.

../../../../_images/ex9.png

Building Instructions and Sample Programs

Download Resource Pack

Sample Wiring:

../../../../_images/game_wire.png

Extensions Needed:

Video Capture:

../../../../_images/video.png

Machine Learning:

../../../../_images/ml.png

Sample Training Program

../../../../_images/game_train_code_1.87.png

Sample Program

../../../../_images/game_code_1.87.png

Model Procedure

  1. Train the model using the training program.

  2. Open the main program and load the trained model.

  3. Connects the Micro:bit to KittenBlock.

  4. Press spacebar to start the game.

  5. In this sample program, the robot will always win.