Skip to main content

Cisco Vlahakis' application to Kleiner Perkins Fellowship 2020

Project description

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?

'ParTUI Screenshot'

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

  1. Download the source files and navigate to the project root.
  2. Activate a virtualenv.
  3. Run pip install -r requirements.txt.
  4. 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:

  1. Update pip to the latest version:
pip install --upgrade pip
  1. Uninstall kpcb2020 if installed
pip uninstall kpcb2020
  1. 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.

Memory

Also known as Concentration, the goal is to match pairs of faced down cards.

For this card game classic, I decided to make the MVPs of Kleiner Perkins into their very own cards. So go ahead and match Bucky, Monica, Amanda, and if you're lucky -- Brook!

Every missed card is a point deducted from your score. Every matched card adds two points to your score - unless, of course, you are lucky to match Brook (which is 10 points).

You win if your score is positive and lose otherwise. If you have an especially plastic brain and are able to beat the hi-score, then you are the new champion!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for kpcb2020, version 1.5.9
Filename, size File type Python version Upload date Hashes
Filename, size kpcb2020-1.5.9-py3-none-any.whl (23.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size kpcb2020-1.5.9.tar.gz (18.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page