Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/agonyz/readme-blackjack

Blackjack Game for GitHub Readme
https://github.com/agonyz/readme-blackjack

awesome blackjack game github github-actions markdown minigame profile profile-readme readme readme-games

Last synced: about 2 months ago
JSON representation

Blackjack Game for GitHub Readme

Awesome Lists containing this project

README

        

## 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:
- Hit 🎴: Draw another card.
- Stand 🛑: Keep your current hand.
- New Game 🔄: Start a new game and clear the board.

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.