KPCB Fellowship 2020 Engineering Challenge Submission
Welcome to my Kleiner Perkins 2020 Engineering Challenge submission!
I had the pleasure of building what I call ParTUI - a portmanteau of Party and Terminal User Interface.
Why not ParTUI and play some classic games in the terminal?
Design Document
Running my Submission
To run my submission for the Engineering Challenge, please enter
pip install kpcb2020
and then
kpcb2020
on the command line. Enjoy!
Running via Downloading Source Files
- Download the source files and navigate to the project root.
- Activate a virtualenv.
- Run
pip install -r requirements.txt
. - Run
python -m kpcb.app
.
Debugging
You may run into errors via pip due to Python and/or pip versions. It may help to try the following:
- Update pip to the latest version:
pip install --upgrade pip
- Uninstall kpcb2020 if installed
pip uninstall kpcb2020
- Install with pip3 and discard caches:
pip3 install --no-cache-dir --upgrade kpcb2020
If you still receive errors, please feel free to reach me at ciscovlahakis@gmail.com and I will be more than happy to provide assistance.
Card Game Rules
There are some additional rules to the classic Blackjack and Memory games I implemented. The rules of this engineering challenge state the implementation of one card game, so if it is necessary you may choose to focus on Blackjack only:
Blackjack
Hit or Stand! The aim of Blackjack is to beat the Dealer by having a greater hand under 21.
For this American classic, I decided to give gamblers the ability to place bets! With a starting balance of $1000, feel free to place bets by clicking on chips -- and if you’re feeling super lucky go All In. Your balance is conserved after each game unless you go bankrupt, and if you beat the hi-score after any round - a major congratulations to you!
Note: In this version of Blackjack, the dealer has one hidden card revealed after a player Stands. In other words, the dealer does not draw more cards after the player Stands.