/RecursiveShapePattern

Using simple Java GUI programming, users are able to adjust the size of a square pattern, generated with recursion.

Primary LanguageJava

Recursive Square Pattern

Using recursive methods, this Java applet draws a pattern with squares, where the user specifies the starting size of the pattern.

Getting Started

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.

Prerequisites

You need Java 8 prior to installing.

  • Install Java 8
    • On Windows and Linux, install the latest JRE 8 from Oracle.
    • On macOS, download and install JDK 8.

Installing

With Java 8 installed, clone this repository with

git clone https://github.com/evanugarte/RecursiveShapePattern.git

To Run:

  • If Windows:
    1. Open Command Prompt and go to java file location in RecursiveShapePattern folder: cd RecursiveShapePattern\SquaresPattern
    2. 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
    3. Compile file: javac RecursionSquares.java
    4. Run file: java RecursionSquares
  • On Mac:
    1. Open Command Prompt and go to java file location in RecursiveShapePattern folder: cd RecursiveShapePattern\SquaresPattern
    2. Compile file: javac RecursionSquares.java
    3. Run file: java RecursionSquares

Authors

Evan Ugarte - All work up to today - evanugarte

Acknowledgments

  • You, the reader