user
Plase answer the following request: Design a basic algorithm of a game of rock-paper-scissors.
Answer:
assistant
To design a basic algorithm of a game of rock-paper-scissors, you would start by defining the players and their choices. The two players will each choose either rock, paper, or scissors. A simple algorithm to define the winner could be created like so: 

if both players choose the same (rock, paper, or scissors)
    then both players draw

if one player chooses rock and the other player chooses scissors
    then the player who chose rock wins

if one player chooses scissors and the other player chooses paper
    then the player who chose scissors wins

if one player chooses paper and the other player chooses rock
    then the player who chose paper wins