Giter VIP home page Giter VIP logo

blackjackpython's Introduction

Jogo de Blackjack em Python / Blackjack Game in Python

Este projeto é um algoritmo de blackjack simples em Python. O algoritmo é implementado em um arquivo Python chamado blackjack.py, e o objetivo é criar uma simulação do jogo de blackjack em que o jogador joga contra o dealer (o adversário).

This project is a simple blackjack algorithm implemented in Python. The algorithm is implemented in a Python file called blackjack.py, and the goal is to create a simulation of the blackjack algorithm where the player plays against the dealer (the opponent).

Como jogar / How to Play

Para jogar o algoritmo, basta executar o arquivo blackjack.py em um terminal Python. O jogo começará e tanto você quanto o Dealer já irão receber suas 2 cartas. O jogo usa as regras padrão do blackjack, em que o ás pode valer 1 ou 11 pontos, as cartas numéricas valem seus valores nominais e as cartas com figuras (valetes, damas e reis) valem 10 pontos cada.

To play the algorithm, simply run the blackjack.py file in a Python terminal. The game will start and both you and the dealer will already receive your 2 cards. The algorithm uses the standard rules of blackjack, in which the ace can be worth 1 or 11 points, the numeric cards are worth their face value, and the face cards (jacks, queens, and kings) are worth 10 points each.

Como funciona / How it Works O meu código foi criado baseado em um FlowChart, utilizando um código de paradigma estruturada. O código chama funções definidas para aplicar leis dos jogo, o meu código é um algoritmo para reproduzir uma partida de BlackJack.

My code was created based on a flowchart, using structured programming paradigm. The code calls defined functions to apply the rules of the game, my code is an algorithm to reproduce a game of Blackjack.

Como contribuir / How to Contribute

Este projeto é uma implementação simples de blackjack em Python, e há muitas oportunidades para melhorias e novos recursos. Se você quiser contribuir, pode fazer um fork do repositório, criar uma branch para sua implementação e enviar um pull request. This project is a simple implementation of blackjack in Python, and there are many opportunities for improvements and new features. If you would like to contribute, you can fork the repository, create a branch for your implementation, and submit a pull request.

Requisitos / Requirements

Para executar este código, você precisará do Python 3 instalado em sua máquina.

To run this code, you will need Python 3 installed on your machine.

blackjackpython's People

Contributors

joagabri avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.