rock_paper_scissors
Types
pub type Move {
Rock
Paper
Scissors
}
Constructors
-
Rock
-
Paper
-
Scissors
Functions
pub fn play(player_1_move: Move, player_2_move: Move) -> String
pub type Move {
Rock
Paper
Scissors
}
Rock
Paper
Scissors
pub fn play(player_1_move: Move, player_2_move: Move) -> String