Using recursive methods, this Java applet draws a pattern with squares, where the user specifies the starting size of the pattern.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
You need Java 8 prior to installing.
- Install Java 8
With Java 8 installed, clone this repository with
git clone https://github.com/evanugarte/RecursiveShapePattern.git
- If Windows:
- Open Command Prompt and go to java file location in RecursiveShapePattern folder:
cd RecursiveShapePattern\SquaresPattern
- If not done before, specify path to tell the system where to find JDK programs:
set path=%path%;C:\Program Files\Java\jdk1.8.0_144\bin
- Compile file:
javac RecursionSquares.java
- Run file:
java RecursionSquares
- Open Command Prompt and go to java file location in RecursiveShapePattern folder:
- On Mac:
- Open Command Prompt and go to java file location in RecursiveShapePattern folder:
cd RecursiveShapePattern\SquaresPattern
- Compile file:
javac RecursionSquares.java
- Run file:
java RecursionSquares
- Open Command Prompt and go to java file location in RecursiveShapePattern folder:
Evan Ugarte - All work up to today - evanugarte
- You, the reader