1. The purpose of an action game is to provide an alternate reality where you have opportunity to pursue adventure. The purpose of a trivia game is to have fun while answering questions, perhaps with a trace of competitivity. Since the games are in different genres, the purposes of the games are different; trivia games are oftentimes simpler in function, while action games require more involvement and of course, action.
2. Some games are easier to play with two people, like games that require teamwork. However, others are more conveniently played by yourself. For example, Ge0metry Dash should be played by yourself, but games like F0rtnite can be more easily played in teams. However, there are also games that can be played both by oneself and with others, like Min3craft.
3. The way you would play an action game is entirely different from how you would play a trivia game, so certain genres require different gameplay styles.
Answer:
computer
Explanation:
By typing and answer and keep the data and have files
Answer:
<em>import java.util.Random;</em>
<em>import java.util.Scanner;</em>
<em>public class ANot {</em>
<em> public static void main(String[] args) {</em>
<em> Scanner in = new Scanner(System.in);</em>
<em> Random rand = new Random();</em>
<em> int randomNum = rand.nextInt(100)+1;</em>
<em> System.out.println("ENTER A NUMBER TO PLAY");</em>
<em> int userNum = in.nextInt();</em>
<em> if(userNum<randomNum){</em>
<em> System.out.println("Guess Higher");</em>
<em> }</em>
<em> else if(userNum>randomNum){</em>
<em> System.out.println("Guess Lower");</em>
<em> }</em>
<em> else{</em>
<em> System.out.println("CORRECT GUESS");</em>
<em> }</em>
<em> }</em>
<em>}</em>
Explanation:
- Use the Random class in Java to generate a random number
- Save the random number in a variable
- Use the Scanner Class to prompt user to enter a number as a guess
- Save the user input in a variable
- Use if/elseif/else statements to compare the random number and the number entered by the user.