agonyz / readme-blackjack

Blackjack Game for GitHub Readme
1 stars 1 forks source link
awesome blackjack game github github-actions markdown minigame profile profile-readme readme readme-games

Blackjack (GitHub Readme Game)

Test your luck and strategy in this classic card game. Your goal is to get as close to 21 as possible without going over.

Choose Your Action:

Ready to play? Click one of the buttons below to make your move and submit your choice! šŸ€

Dealer

Card #1Card #2 Summary
Cards Hidden Card6d
Values ?6 6

Player

Card #1Card #2 Summary
Cards Tc7c
Values 107 17

Game History

Action Events Actor
New Game ADoebeling

Game Commands

[![Hit Button](https://img.shields.io/badge/Hit-224D42?style=for-the-badge)](https://github.com/agonyz/readme-blackjack/issues/new?body=Please%20don%27t%20change%20anything%20in%20this%20issue.%20To%20execute%20your%20action%20simply%20submit%20the%20issue.&title=Blackjack:%20Hit) [![Stand Button](https://img.shields.io/badge/Stand-ffc107?style=for-the-badge)](https://github.com/agonyz/readme-blackjack/issues/new?body=Please%20don%27t%20change%20anything%20in%20this%20issue.%20To%20execute%20your%20action%20simply%20submit%20the%20issue.&title=Blackjack:%20Stand) [![Start new Game Button](https://img.shields.io/badge/New%20Game-701F18?style=for-the-badge)](https://github.com/agonyz/readme-blackjack/issues/new?body=Please%20don%27t%20change%20anything%20in%20this%20issue.%20To%20execute%20your%20action%20simply%20submit%20the%20issue.&title=Blackjack:%20New%20Game)

How it works When you click on a link, it will create and submit a new GitHub issue with the desired action. This action triggers a GitHub workflow, which runs a small Typescript script responsible for executing the specified action in the blackjack game. The script then updates the content of the README file to reflect the current game state and commits the changes back to the repository.
Questions/Bugs/Ideas If you have any questions, encounter any bugs or have ideas to improve the game, you can simply create an issue and mention me.