Skip to content

aprendiz0x/python-beginner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Português - Brasil

Projetos Python - Nível Iniciante

Projeto em Andamento.

Este projeto foi desenvolvido em Python 3, portanto é necessário possuir o mesmo instalado em sua máquina caso queira rodá-lo. Todos os projetos deste repositórios serão baseados em Python 3. Para mais informações sobre o Python acesse o site oficial: https://www.python.org

Versão: Python 3.11.2

Bibliotecas usadas:

  • random

Este repositório é baseado nos cursos da Alura - Python: Começando com a Linguagem.

Este é um curso focado para iniciantes em programação Python e suas diferenças entre outras linguagens.

Jogo de Adivinhação

  • Primeiro commit efetuado no GitHub (através da Web), é o jogo de adivinhação.
  • Você tem 3 níveis diferentes para escolher, cada um deles te da uma determinada quantidade de tentativas para acertar o número que o programa gerou. Se você tentar selecionar um level que não existe ele vai retornar para que escolha um dos disponíveis.
  • Quando você executa uma tentativa que está fora do escopo dos números aplicadaos ele vai retornar um erro sem que você perca uma chance.
  • O aviso sobre a sua derrota vai te falar se você perdeu por pontos ou por tentativas.

A ideia é que o programa ofereça condições de acertar o número indicado, oferecendo 100 pontos iniciais e o número de tentativas equivalente à dificuldade escolhida. Para cada erro ele subtrai a diferença entre o seu valor inserido e o valor do número secreto. Se zerar os pontos você perde e se zerar as tentativas você também perde.

English (or maybe a try)

Python projects at the Beginner level

Project status: under development.

To run these projects on your computer, you need to have Python 3 installed. All projects in this repository are based on this version of Python. For more information on how to run Python 3 projects on your machine, please visit the official language website at: https://www.python.org/

Version: Python 3.11.2

Libraries used:

  • random

This Respository gonna be based on Alura Python Course "Python - Starting Language".

It's a Beggining level course to learn about Python and the difference between other languages.

Guessing Game

  • First file uploaded is a Game, that you need to guess what number the computer set.
  • You got 3 different levels to choose. I've made some changes based on the original code to make it more improved: If you try to set a level that not exist, it will return you to choose again.
  • When you try the numbers, if you try some that is not on the range, it will alert you to choose a number in the range without lost a chance.
  • The advice about why you loose is changed to tell you if you lost by Try or lost all your Points.

The idea is: You start with the chances set by the different difficults and with 100 points. For each try you loose points if not right, and the subtraction is based on the distance of your option about the secret number.

About

Repositório Python Iniciante | Beginner Python Repository

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages