这个仓库包含一个用Python编写的简单黑杰克(21点)控制台游戏。通过这个项目,你可以学习如何使用Python创建一个基本的扑克游戏,了解游戏规则、逻辑和用户输入处理。 该项目涵盖了洗牌、发牌、计分、庄家决策等方面,是一个学习Python编程和游戏开发的有趣实践项目。 开始挑战吧,看看你能否在这个简单的黑杰克游戏中战胜庄家!
- git clone https://github.com/xiaoxinxing66/Blackjack21-Python.git
- pip install Pillow
- python BJ21.py
Copyright (c) [2023] [Sivan]
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.