Skip to content

Bobowski/Blackjack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

105 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Yet Another Blackjack Server (YABS)

This is yet another blackjack game server (well not really another, but sounds cool). We just wanted to write a simple card game that will enable writing bot clients. This implementation allows only playing againts croupier 1 vs 1 but still allows to have much fun out of it.

Installation

Its recommended to use virtualenv for meeting package requirements. Script below will create venv directory inside current working directory and install all necessary dependencies.

#!/bin/bash
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt
deactivate

Before starting the application we have to activate venv.

source venv/bin/activate

Deactivating is done by simply writing deactivate.

Run server

python blackjack.py
# -a Host address (default: localhost)
# -p Port number  (default: 5000)
# -d Verbose mode (default: false)

Run bots

// TODO

Team

Members of summer semester 2016/2017 KNSI (Python) scientific circle.

About

Simple client-server Blackjack game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 100.0%