Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tedim52/dappjack
a simple blackjack dapp
https://github.com/tedim52/dappjack
Last synced: about 1 month ago
JSON representation
a simple blackjack dapp
- Host: GitHub
- URL: https://github.com/tedim52/dappjack
- Owner: tedim52
- Created: 2021-12-31T20:43:03.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-20T19:33:21.000Z (almost 3 years ago)
- Last Synced: 2023-07-12T23:22:11.043Z (over 1 year ago)
- Language: Solidity
- Size: 62.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dappjack
simple blackjack app
Contracts
- Blackjack
- represents a round of blackjack with multiple players
- comprises majority of logic in the game
- currently doesn't support double down or splitting pairs
- CardDeck
- simple library for deck functionalities needed in blackjack
- can be extended to account for future casino games
- ChipToken
- represents casino chips
- players can exchange money for chips to play in casino gamesTODOs:
- BlackjackFactory
- represents a table or dealer, creating multiple blackjack rounds
- holds the pot of casino chips
- TokenSwap
- represents "buying" into the casino to play casino games
- allows players to exchange tokens or eth for casino chips