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