Skip to content

A simple interactive game where players can choose and replace elements at specific positions in a list.

Notifications You must be signed in to change notification settings

letscodeitup/PositionChangerGame

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

PositionChangerGame

🎮 Interactive List Replacement Game in Python! 🔄

This simple Python game lets users replace values in a list by choosing a position and inserting a new value! 🏆

🔹 Features:

  • 📌 Displays the current list before and after changes.
  • 🎯 User selects a position (0, 1, or 2) to modify.
  • ✍️ Replaces the chosen position with a new value.
  • 🔄 Asks if the user wants to continue playing or exit.

🔹 How It Works:

  1. Displays the list: [0, 1, 2]
  2. User selects a position: e.g., 1
  3. User enters a new value: e.g., "X"
  4. List updates: [0, 'X', 2]
  5. User decides to continue or stop 🔁

About

A simple interactive game where players can choose and replace elements at specific positions in a list.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published