Coder Social home page Coder Social logo

text-adventure-python's Introduction

Python Text Adventure

A project playground for learning:

  • Python
  • Vagrant, Virtual Box

Run

To run the Python project or unit tests from the command line.

cd src

# RUN PROGRAM
python .main.py

# RUN TESTS
python -m unittest

Vagrant instructions are on the branches readme

Branches

  • main -> The python project
  • vagrant -> The vagrant project

Briefs

Python Project Brief

This project consists of making a 'choose your own adventure' text based story/game that executes in the console.

  • Classes (cat least one, but if you want to get fancy and can work in inheritance, feel free)
  • Functions
  • Control flow (if/elif/else)
  • Logging the decisions to log files or to csv (or both) <- the rest is flexible, but this is necessary

Vagrant Project Brief

GitHub repo matching the following file structure:

|-- app
|   |-- your-source-code
|-- env
|   |-- python_provisioning.sh
|-- Vagrantfile

Todo

  1. A python_provisioning.sh that provisions the VM to run your Python App
  2. We should be able to run vagrant up and then vagrant ssh into the VM and run your Python Project
  3. Final Thing - Create a Readme.md that explains the following:
    • How to run the environment?
    • What dependencies you need to run the environment (i.e. Vagrant, Virtualbox)
    • How to run your project on the VM? (What steps do I need to do to see your project working once I have ssh’d into it?)

text-adventure-python's People

Contributors

charlie-robin avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.