Giter VIP home page Giter VIP logo

flappy_bird_workshop's Introduction

Flappy Bird Workshop

UCI AI Club Flappy Bird

Download

Use the "Clone or download" and click "Download ZIP".

Save the folder to your computer.

Open a Terminal (OSX/LINUX) or CMD (WINDOWS) and follow the below instructions.

Prerequisites

We have provided a requirements.txt for you to setup your python3.6.8 environment.

Python 3.6.8 Download. https://www.python.org/downloads/release/python-368/?fbclid=IwAR2tjkyGDbWLivj2TVRRBYpB5hSFk7LmKcCpCKJU9ASrmq2CNcdxwsSZKxg

Has to be python3.6.8, other tensorflow will not install

Change directories to flappy bird folder

cd /path/to/flappy/folder/

First off, create your virtual environment by entering the below command

Mac OSX / Linux

If on OSX or Linux, enter the following into terminal

python3.6 -m venv flappyenv

source flappyenv/bin/activate

pip install -r requirements.txt

Windows

If on windows, you may have to run the following in order to install the virtual environment tool

pip3.6 install virtualenv

Then, you have to run the following to make and activate the venv

virtualenv flappyenv

flappyenv\Scripts\activate.bat

pip install -r requirements.txt

RUN

Once you have got your venv activated, run the following command

python flappy.py

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.