Sabacc, the space card game. A fast-paced, high-risk, perfect mixture of skill and luck. Engage in this perfect blend of deception, quick calculation, and strategy, with over 300 other users at http://sabacc.samuelanes.com
This web application currently contains two Sabacc variants Traditional Sabacc, and Corellian Spike Sabacc. You can learn more about how to play by visiting http://sabacc.samuelanes.com/how-to-play.
If you are interested in helping with development, please join the Discord (https://discord.gg/AaYrNZjBus) and let us know. We really want to grow this project!
A large feature we might implement is an AI opponent.
The door is wide open for new gameplay features. Ideas include:
Start by cloning the repo (or download the code in a .zip):
git clone https://github.com/Sabacc-Organization/Sabacc-Org.git
Setup the server side by installing all of the dependencies in server/requirements.txt. The Python version probably isn't crucial but it's the only one that I know works. Don't forget to install PostgreSQL!
cd server
pip install -r pipRequirements.txt
DATABASE
part of config.yml according to your database. If you're not sure how to do that, check CS50's Python library docs: https://cs50.readthedocs.io/libraries/cs50/python/?highlight=postgres#cs50.SQLflask run
Setup the client side by installing Node.js, npm, and vite.
cd client
npm install
npm install --save-dev vite
npm run dev
Now that you have everything installed and ready to go, open up a new terminal window in the project and cd server
. Run the following command to start the backend flask run
. Open up another new terminal window, cd client
, and run the following command to start the frontend npm run dev
. If everything is installed correctly you should be able to visit either http://127.0.0.1:5000 (backend) or http://localhost:5173 (frontend).