Skip to content

JhonZ-Dev/juego_adivinanza_in_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

Guessing Game in Python

This is a simple Python guessing game. The program selects a random number between 1 and 100, and the player's task is to guess that number within a limited number of attempts.

How to Play

  1. The program will generate a random secret number between 1 and 100.
  2. The player has a maximum of 10 attempts to guess the secret number.
  3. Enter your guess when prompted.
  4. The program will provide hints, letting you know if the secret number is higher or lower than your guess.
  5. Keep guessing until you correctly guess the secret number or run out of attempts.

Getting Started

To run the game, you need to have Python installed on your computer.

  1. Clone the repository or download the Python script.
  2. Open your terminal or command prompt.
  3. Navigate to the folder containing the script.
  4. Run the script using the python guessing_game.py command.

ESPAÑOL

# Juego de Adivinanza en Python

Este es un juego de adivinanza simple en Python. El programa selecciona un número aleatorio entre 1 y 100, y la tarea del jugador es adivinar ese número en un número limitado de intentos.

Cómo Jugar

  1. El programa generará un número secreto aleatorio entre 1 y 100.
  2. El jugador tiene un máximo de 10 intentos para adivinar el número secreto.
  3. Ingresa tu suposición cuando se te indique.
  4. El programa proporcionará pistas, informándote si el número secreto es mayor o menor que tu suposición.
  5. Continúa adivinando hasta que aciertes el número secreto o agotes todos tus intentos.

Para Empezar

Para ejecutar el juego, debes tener Python instalado en tu computadora.

  1. Clona el repositorio o descarga el script de Python.
  2. Abre tu terminal o símbolo del sistema.
  3. Navega hasta la carpeta que contiene el script.
  4. Ejecuta el script utilizando el comando python juego_adivinanza.py.

Ejemplo

python juego_adivinanza.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages