Jump to content
DarkRP Rules Updated (4/28/2024) ×

Checkered Pangolin's Casino Kit


Recommended Posts

This is a program that runs in the background of the game, and allows for non-roll casino games to be played. All games work by copying values to your clipboard, for you to paste in chat in-game.

The games currently packaged are:
- Dice (Roll any number of dice),
- Roulette (Gives a number from 0-36) and its colour on a European roulette wheel
- Double or Nothing (Player's can choose to double their bet as many times as they like, and cash out when ready, but each double has a chance to go bust)
- Mystery Box (Dealer sets the jackpot when starting the game, will generate a random money value for a player to win)
- Scratch Cards (Dealer sets jackpot when starting the game, will generate a set of three numbers, if all three numbers are the same, the player wins that number in money)
- Blackjack (It's just blackjack, does not have support for Split, or Insurance)
- Video Poker (Generates 5 random cards, the player then chooses which of those cards to keep, with the others being replaced, if the player has a valid poker hand they win)
- Craps (A dice roll generates a number from 2-12. 7 and 11 result in a player win, 2, 3, and 12 result in a player loss, any other number will need the player to keep rolling until they either get that number again (WIN) or roll a 7 (LOSE))

The games are controlled by using the keybinds: ALT+I (Advance Game), ALT+O (Reset Game) and ALT+L (Stand in Blackjack). ALT+1, 2, 3, 4 and 5 are used for holding cards in video poker (Does not accept numpad input).

Blackjack Tutorial: (Wins and losses are automatically copied to clipboard)
1. ALT+O to Start Game ("[Blackjack] Game Started" will be copied to your clipboard)
2. ALT+I to draw 2 player cards, and 1 dealer card (Both cards for the player, and the dealer's face card are copied to your clipboard)
3. The player will then have the choice to hit, or stand
4. If the player hits, use ALT+I to give them another card ("[Blackjack] Player Hit: X (Total: X)" will be copied to your clipboard)
5. If the player stands, use ALT+L ("[Blackjack] Player stood at X" will be copied to your clipboard)
6. Once the player has stood, ALT+I will now begin to give the dealer cards instead (The dealer's most recent card, and total are copied to your clipboard)
7. The dealer will automatically stand at 17 or above.

Poker Hands (Winning bets are automatically copied to chat, hit ALT+I one more time after the player's cards have been held)
- Jacks or Higher (1x Bet) Example: |J♠| |4♥| |7♦| |Q♣| |J♣| (Because there are a pair of Jacks)
- Two Pair (2x Bet) Example: |J♠| |7♥| |7♦| |Q♣| |J♣| (Because there are two 7's and two Jacks)
- Three of a Kind (3x Bet) Example: |J♠| |4♥| |7♦| |J♣| |J♣| (Because there are three Jacks)
- Straight (4x Bet) Example: |2♠| |3♥| |5♦| |4♣| |6♣| (Because there is a sequence of numbers: 2, 3, 4, 5, 6)
- Flush (6x Bet) Example: |J♠| |4♠| |7♠| |Q♠| |A♠| (Because all cards share the same suit)
- Full House (9x Bet) Example: |J♠| |J♥| |A♦| |A♣| |J♣| (Because there are three cards with the same rank (Jack), and two cards with the same rank (Ace))
- Four of a Kind (25x Bet) Example: |J♠| |J♥| |J♦| |Q♣| |J♣| (Because there are four cards with the same rank (Jack))
- Straight Flush (50x Bet) Example: |3♠| |4♠| |7♠| |5♠| |6♠| (Because there are a sequence of numbers: 3, 4, 5, 6, 7 each with the same suit)
- Royal Flush (250x Bet) Example: |10♠| |J♠| |Q♠| |K♠| |A♠| (Because there is a 10, Jack, Queen, King and Ace, all with the same suit)

Application (Release.zip): https://github.com/mwhitenc4/CasinoKit/releases/ (Note: This is the old version)
Source Code (C#): https://github.com/mwhitenc4/CasinoKit

UPDATE 27/08/2021

I changed how this system works, rather than using Copy/Paste functionality the program now prints directly into game chat.

Read the instructions before attempting to use.

New Link: https://github.com/mwhitenc4/Better-Gambling/releases/

The new link also includes the games: Instant Investments, Three Card Poker and Draw Hi-Lo

Remember, you can use ALT+0-9 when typing numbers is required for bets.

Edited by First
New Version
  • Like 4
  • Spicy 2
  • Winner 2
Link to comment
  • 5 months later...

UPDATE 27/08/2021

I changed how this system works, rather than using Copy/Paste functionality the program now prints directly into game chat.

Read the instructions before attempting to use.

New Link: https://github.com/mwhitenc4/Better-Gambling/releases/

The new link also includes the games: Instant Investments, Three Card Poker and Draw Hi-Lo

Edited by First
Games
  • Friendly 1
  • Winner 1
Link to comment
  • 2 months later...
On 11/18/2021 at 3:08 AM, Ghostieee said:

How do you add this to your game once you download it?

 

It's a separate program from Garry's Mod. How it works is when you open the executable, it opens a window that has different gambling games you can play, and each time something happens (usually the next person's turn), it'll add the output from those games to your clipboard, so you just need to paste them into the chat in order to see what's going on. This means that you can play it pretty much anywhere that has a chat including Garry's Mod.

  • Like 2
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

Terms of Use | Guidelines