Answer :
Answer:
algorithm should:
--Alternate between player 1 and player 2
--Ask the player how many numbers they would like to choose, ensuring that this is between 1 and 3
An algorithm using pseudocode that allows two players to play the game is:
- BEGIN Player One num "1"
- ASCENDING order num;
- TURN Player One num;
- TURN Player Two num;
- INCREMENT
- IF there is num "15"
- THEN
- PLAYER loses
What is a Pseudocode?
This refers to the use of plain language to describe the sequence of steps for solving a problem.
Hence, we can see that from the given game rules about the input that is made by a player where he starts at 1 and any player that selects 15 loses the game and there is an increment is displayed in a rough form above.
Read more about pseudocodes here:
https://brainly.com/question/24953880
#SPJ2