Skip to content

ElderINTERalliance/ml-rock-paper-scissors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ml-rock-paper-scissors

Rock Paper Scissors with Teachable Machine ✊ ✋ ✌!

View live demo!

Problem

We will be implementing the checkWinner(computer, player) function. It is currently set so that the computer always wins. However, that isn't how rock, paper, scissors is supposed to work. We want to implement the function so that it uses the following logic to determine the winner. Rock, Paper, Scissors logic diagram

Solution

This is available in the solution branch. No cheating!