How To Write An Algorithm For Rock Paper Scissors . We will be designing the game using javascript where a player will be playing against the computer. After each move, the respective score of the opponent’s move is incremented. A simple algorithm for calculating the result of Rock Paper Scissors from www.learningpenguin.net In this article, we will go through the steps for creating our own game of rock paper scissors in python language. The three “if” statements could be reduced to one by checking whether player 1. Participants say “rock, paper, scissors” and then simultaneously form their hands into the shape of a rock (a fist), a piece of paper (palm facing downward), or a pair of scissors (two fingers extended).