Skip to content

Latest commit

 

History

History
380 lines (165 loc) · 11.4 KB

pk-game-to-pass-the-time.md

File metadata and controls

380 lines (165 loc) · 11.4 KB

PK game to pass the time | Start Chat

You can easily enjoy soccer penalty kick matches.

Prompt

# Prerequisites for this content 
- Running a game using ChatGPT.
- Users must understand basic soccer rules and penalty shootouts.
- The rules of the game are the same as for a typical penalty shootout. Please comply with the rules.

# Details of this content 
- This game will be a realistic penalty kick game. Users and ChatGPT will kick 5 kicks each other, and the game will be played in penalty kick format, with users and ChatGPT playing against each other.
- Since it is a competitive format, the users will kick each other.
- When the user kicks, ChatGPT is the goalkeeper, and when ChatGPT kicks, the user is the goalkeeper.
- ChatGPT's moves are not determined by the user, but are carried out at random.
- ChatGPT's movement is not known when the user chooses the direction.
- Before kicking, the user checks how many kicks are made.
- If the direction of the kick is the same as the direction in which the goalkeeper flew, there is a high probability that the goal will be scored, but it will be stopped 90% of the time. However, 90% of the time, it will be stopped.
- If the direction of the kick and the direction of the goalkeeper's flight are different, there is a high probability that the goal will be scored. However, in rare cases, the goal may not be scored due to failure to kick in the frame.

# Variables definition and goal setting
- Number of kicks: 5 for user, 5 for ChatGPT
- Number of goals: Varies between 0 and 5, but increases in case of extension

# PK rule
Player Selection: Each team typically selects five players. This is usually the order in which the penalty kicks are kicked. If a team advances to the finals, an additional round may take place.
Goalkeepers: Each team chooses a goalkeeper and places him in front of the goal. The goalkeeper is responsible for preventing the opponent from shooting.
Shooting: In penalty shootouts, the ball is usually kicked toward the goal from 12 yards (about 11 meters) from inside the penalty area. The player who kicks the shot is in one-on-one competition with the opposing goalkeeper.
Order: Players from each team take turns kicking the shot. After the first team kicks, the opposing team kicks the same number of penalty kicks. This is repeated.
Determination of Winner: Normally, after each team has kicked the same number of penalty kicks, if the scores are equal, the game is a tie. If one team scores more points than the other, that team is declared the winner.
Declared Winner: The winner of a penalty shootout is the team with the most points. This winner advances to the next stage of the match or tournament.
Repetition: If a winner cannot be determined, additional penalty kicks may be taken. Normally, one round of penalty kicks is played, and if a winner is still not determined, an additional round is played.
Early Decision: Both teams take turns kicking penalty kicks, and if one team has a greater goal difference than the other, the penalty shootout will end at that point. For example, if Team A leads 3-0, Team A will be declared the winner before Team B kicks its fifth penalty kick.

# Steps to achieve of goals
1. clarify the rules of the game and the current status of each other's goals, along with the cheers of the stadium
2. let the user choose the direction of the kick
3. on rare occasions, mistakes can be made that miss the goal frame.
4. the ChatGPT determines the goalkeeper's reaction.
5. if the direction of the kick and the goalkeeper's reaction are the same, the ball is stopped with a high probability.
6. determines if it is a goal or a miss, and tells the current goal status and cheers. It also confirms how many people are left to kick.
7. let the user choose the direction in which the goalkeeper flies
8. let the user imagine the trajectory of the ball, and ChatGPT will randomly determine the direction of the kick. 9.
9. if the direction of the kick and the goalkeeper's reaction are the same, the ball is stopped with high probability.
10. determine whether the goal was scored or missed, and also tell where ChatGPT kicked. 11. update the current goal status and check each other's goal status. Also confirms how many kicks remain.
11. after alternating kicks to determine the winner or after both sides have completed 5 kicks, announce the final number of goals scored, along with the reaction of the entire stadium.

# Process for executing the procedure
- Allow the user to choose the direction of the kick.
- Allow for the possibility of a rare mistake that misses the frame of the goal.
- Along with the sound of the kick, ChatGPT randomly determines the goalkeeper's reaction.
- It tells the user whether it was a goal or a miss, where ChatGPT reacted, and the current goal status.
- Next, it is ChatGPT's turn to kick.
- Along with the tension-building description, ChatGPT randomly determines the direction of the kick and lets the user choose the direction in which the goalkeeper will fly.
- Goal or miss, ChatGPT tells the user where the kick was made and the current goal status.
- Repeat the procedure until a winner is determined or until both parties have completed five kicks.
- The last kick is the fifth one.
- If it is 5-4 after the user kicks, the match is not over at that point and ChatGPT has a fifth kick.

# Confirmation to user
- The direction of the kick can be selected from 1: left, 2: center, or 3: right.
- The direction of the goalkeeper's flight can also be selected from 1:Left, 2:Center, and 3:Right.
- The result of each kick and the current goal situation will be announced immediately afterwards, accompanied by the atmosphere of the stadium.

# Regarding the decision and the extension of the game
- The game is over when there are no more lives left for the user or ChatGPT to win.
- Please check after each kick to see what the score is versus each other and if there is a possibility of a settlement.
- If the score is the same after both players have kicked 5 kicks, the game will be extended.

# Emojis will be used extensively to enhance the atmosphere of the stadium and create a sense of realism.

#Exception handling
- If a user makes an unexpected entry, prompt the user to re-enter.

#Feedback loop
- Implement a function to receive feedback from users after the game is over.

#Generation of artifacts
- Once the game is over, announce the total number of goals scored along with the stadium's reaction.

#Game start
Game is started. The stadium is overflowing with completion.

Welcome Message

Now, the penalty shootout begins. The stadium is at its best.

Where will you kick?

1: Left, 2: Center, 3: Right.

Conversation

ASSISTANT: Now, the penalty shootout begins. The stadium is at its best.

Where will you kick?

1: Left, 2: Center, 3: Right. USER: 1 ASSISTANT: Great choice! You've decided to kick to the left.

Sound of the kick

And the goalkeeper's reaction is...

Randomly determined goalkeeper's reaction

The ball is stopped by the goalkeeper! It's a save! The current goal status is: User 0 - ChatGPT 0.

Now it's ChatGPT's turn to kick.

The tension in the stadium is building up. Where do you want to dive as the goalkeeper?

1: Left, 2: Center, 3: Right. USER: 2 ASSISTANT: You've chosen to dive to the center.

Description of the tension building up

And ChatGPT takes the kick!

Randomly determined direction of the kick

You dive to the center, but the ball goes to the right! It's a goal! ChatGPT has scored! The current goal status is: User 0 - ChatGPT 1.

Now it's your turn to kick again.

Where will you kick this time? 1: Left, 2: Center, 3: Right. USER: 1 ASSISTANT: You've chosen to kick to the left again.

Sound of the kick

The goalkeeper reacts...

Randomly determined goalkeeper's reaction

The ball is stopped by the goalkeeper once again! It's another save! The current goal status is: User 0 - ChatGPT 1.

Now it's ChatGPT's turn to kick.

The atmosphere in the stadium is electrifying. Where do you want to dive as the goalkeeper?

1: Left, 2: Center, 3: Right. USER: 2 ASSISTANT: You've chosen to dive to the center again.

Description of the tension building up

ChatGPT takes the kick!

Randomly determined direction of the kick

You dive to the center, and the ball goes right where you predicted! It's a save! You've stopped ChatGPT's shot! The current goal status is: User 0 - ChatGPT 1.

Now it's your third kick.

Where will you kick this time? 1: Left, 2: Center, 3: Right. USER: 1 ASSISTANT: You've chosen to kick to the left once again.

Sound of the kick

The goalkeeper reacts...

Randomly determined goalkeeper's reaction

The ball goes past the goalkeeper and into the net! It's a goal! You've scored! The current goal status is: User 1 - ChatGPT 1.

Now it's ChatGPT's turn to kick.

The tension in the stadium is palpable. Where do you want to dive as the goalkeeper?

1: Left, 2: Center, 3: Right. USER: 2 ASSISTANT: You've chosen to dive to the center as the goalkeeper.

Description of the tension building up

ChatGPT takes the kick!

Randomly determined direction of the kick

You dive to the center, but the ball goes to the left! It's a goal! ChatGPT has scored! The current goal status is: User 1 - ChatGPT 2.

Now it's your fourth kick.

Where will you kick this time? 1: Left, 2: Center, 3: Right. USER: 1 ASSISTANT: You've chosen to kick to the left once again.

Sound of the kick

The goalkeeper reacts...

Randomly determined goalkeeper's reaction

The ball goes past the goalkeeper and into the net! It's a goal! You've scored! The current goal status is: User 2 - ChatGPT 2.

Now it's ChatGPT's turn to kick.

The atmosphere in the stadium is electric. Where do you want to dive as the goalkeeper?

1: Left, 2: Center, 3: Right. USER: 2 ASSISTANT: You've chosen to dive to the center as the goalkeeper.

Description of the tension building up

ChatGPT takes the kick!

Randomly determined direction of the kick

You dive to the center, and the ball goes right where you predicted! It's a save! You've stopped ChatGPT's shot! The current goal status is: User 2 - ChatGPT 2.

Now it's your fifth and final kick.

Where will you kick this time? 1: Left, 2: Center, 3: Right. USER: 1 ASSISTANT: You've chosen to kick to the left for your final kick.

Sound of the kick

The goalkeeper reacts...

Randomly determined goalkeeper's reaction

The ball goes past the goalkeeper and into the net! It's a goal! You've scored! The current goal status is: User 3 - ChatGPT 2.

Now it's ChatGPT's turn for the final kick.

The tension in the stadium is at its peak. Where do you want to dive as the goalkeeper?

1: Left, 2: Center, 3: Right. USER: 2 ASSISTANT: You've chosen to dive to the center as the goalkeeper for the final kick.

Description of the tension building up

ChatGPT takes the kick!

Randomly determined direction of the kick

You dive to the center, and the ball goes right where you predicted! It's a save! You've stopped ChatGPT's shot! The current goal status is: User 3 - ChatGPT 2.

Both players have completed their 5 kicks. The game is now over.

The final score is: User 3 - ChatGPT 2.

The stadium erupts with cheers and applause for both players' outstanding performances.

Congratulations on your victory! Well played!