Git Product home page Git Product logo

cmput499squa's Introduction

CMPUT 499 Ashley and Jeffrey project of ultimate victory and being cool and stuff

Build and Run Instructions

  • Note, project supported on Linux and MacOS with Python 2.7
  1. Ensure Python2.7 and it's pip are installed, as well as Python3 and it's pip

    sudo apt update
    sudo apt-get install python2.7
    sudo apt-get install python-pip
    sudo apt-get install python3 \ sudo apt-get install python3-pip

  2. Install PyGame, Pillow, and SciPy packages

    pip install PyGame
    pip install Pillow
    pip install SciPy
    pip3 install thesaurus==0.2.3

  3. Clone repository on local machine

    git clone https://github.com/jroutledge/CMPUT499SQUA.git

  4. Navigate to folder

    cd /CMPUT499SQUA/setup

  5. Run the setup script

    python3 setup.py

  6. Return to main project folder

    cd ..

  7. To run the game, run:

    python game.py [number between 1 and 8] [Synonym or Antonym]

    or the following for help

    python game.py --help

  8. If the game is not working becuase of a Pillow font error, try running the following commands:

    sudo apt-get install ttf-mscorefonts-installer \ sudo fc-cache \ fc-match Arial


Known bugs

  • There is a bug in pygame if you run pygame on a mac in python 3.7.2, use 2.7 on mac (resource) (note: this is supposedly fixed if you're not using a homebrew installation of python 3.7.2)

  • The window is of a fixed size, regardless of screen resolution, this leads some things, like fonts, to look strange.

cmput499squa's People

Contributors

aholgate avatar jroutledge 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.