Skip to content

agonyz/readme-blackjack

Repository files navigation

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 Card4d
Values ?4 4

Player

Card #1Card #2 Summary
Cards 5d5s
Values 55 10

Game History

Action Events Actor
New Game BreadGhoti

Game Commands

Hit Button Stand Button Start new Game Button

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.