Question
Making a Flutter App Interactive: Extend the game of rock-paper-scissors to the rock-paper-scissors-lizard version (a simplified version of the infamous rock-paper-scissors-lizard-spock) You can use rock,
Making a Flutter App Interactive:
Extend the game of rock-paper-scissors to the rock-paper-scissors-lizard version (a simplified version of the infamous rock-paper-scissors-lizard-spock)
You can use rock, paper, scissors, lizard image assets
Show the winning image with green background & the loser image with a red background (or any other indicator that you prefer).
Rules: Scissors cuts Paper - Paper covers Rock - Rock crushes Lizard - Scissors decapitates Lizard - Lizard eats Paper - Rock crushes Scissors
Should look something like this:
Two of the symbols (rock, paper, scissors, lizard) will appear on the screen randomly (and centered with even spaces) and after choosing one a loss or win will be prompted by changing the background of the loser/winner image to the corresponding colours (green/red). The screen should change to 2 new random symbols(rock, paper, scissors, lizard) after a win or a loss so the game will be able to play forever.
8:02 % Rock Paper ScissorStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started