mirror of
https://github.com/araxiaonline/AIO-Blackjack.git
synced 2026-06-13 03:02:26 -04:00
c463d07edfbefb2ae115590049c96da68f1997f9
AIO-Blackjack - Araxia
Overview
This project implements a custom Blackjack game for a World of Warcraft private server using AzerothCore with Eluna. The game is hosted by a custom NPC, and players can interact with the NPC to play Blackjack directly in the game.
Installation
1. Files to Copy
Lua Scripts
Copy the following Lua scripts to the appropriate directories in your server:
- Server Script:
BlackjackServer.lua - Client Script:
BlackjackClient.lua
SQL File
Copy the provided SQL file to your server's database. This file includes the necessary entries to add the Blackjack Dealer NPC to your game world.
- SQL File:
Blackjack-Gambler.sql
2. How to Install
-
Place the Lua Scripts:
- Copy the
BlackjackServer.luascript into your server'sscriptsdirectory (typically found inlua_scriptsor a similar directory). - Copy the
BlackjackClient.luascript into your client'sInterface/AddOns/directory or where your client-side scripts are stored.
- Copy the
-
Run the SQL Script:
- Execute the
BlackjackDealer.sqlfile on your WoW server database to add the Blackjack Dealer NPC to the game.
- Execute the
3. How the Game Works
-
Interacting with the NPC:
- Players can approach the NPC with ID
1000000and select one of two options: Play Blackjack or view the Rules of Blackjack.
- Players can approach the NPC with ID
-
Playing the Game:
- Players pay an entry fee of 500 gold to start the game.
- Players can place additional bets before drawing their second card, up to a maximum of 4 cards.
- The game follows standard Blackjack rules, where the goal is to get as close to 21 as possible without going over.
-
Winning and Losing:
- If the player wins, they receive their bet back along with an additional 500 gold.
- If the player loses, they forfeit their bet and the game cost.
4. Custom Assets
Make sure any custom assets (like card images and sounds) are placed in the appropriate directories on both the client and server. For example:
- Card Images: Should be placed in
Interface\Cards\
5. Credits
- Custom NPC Script: Manmadedrummer, Araxia Devs
- Assets and Sounds: Custom Assets made by Manmadedrumemr with ChatGPT
- Annotation in scripts by ChatGPT (I was too lazy to write them lol)
Description
Languages
Lua
100%