Skip to content

Added documentation for initial setup #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 26 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# Pool_AI
I created an AI to play pool, and here it is
Once again I used processing to make this and you will need processing to run this
https://processing.org/
## Initial Setup
### Download and Install Processing 3: https://processing.org/download/

### Clone This Repository

If you have git installed, type the following into your terminal:

```
git clone https://github.com/Code-Bullet/Pool_AI.git
```

Else, download the zip file and unpack by clicking the green "Clone and download" button on the top right of the screen.

### Installing The Box2D Library
1. Open the Processing application
2. Click `Tools > Add Tool...`
3. Click on the `Library` tab
4. Search for `Box2D for Processing` the author should be `Daniel Shiffman`
5. Click `Install`

### Open The Project Files
1. Open the Processing application
2. Click `File > Open`
3. Go to where you downloaded the files for this repository, the folder should be called `PoolAI`
4. Inside the `PoolAI` folder click on the file called `PoolAI.pde`
5. You should now see `PoolAI.pde` as well as the rest of the files opened up in the Processing application
6. Press the ***Run*** button or click `Sketch > Run`