User Tools

Site Tools


user:jpettie:portfolio:hpcproject4

Project: Aggregate PHP MTG Drafter

A project for HPC Fundamentals 2 by Jacob Pettie during the Spring 2013 Semester.

Objectives

The purpose of this project is to work with Shawn Meas to create an MTG drafter using the parsing of data and functionality of the language PHP with a web portal to accomplish user sessions and print off cards to draft with.

Prerequisites

In order to successfully accomplish/perform this project, the listed resources/experiences need to be consulted/achieved:

  • ability to remember and use things I have learned in Perl to accomplish the parsing of html page resources on the web using RegEx.
  • ability to store data and manipulate it to represent a drafting pool to work with. (card images, ids)
  • ability to randomize and not repeat card selections within the drafting pool using inuitive if statements in php.
  • ability to reference and choose any set from MTG interactively in a testing page format.
  • knowledge of basic php syntax and html tags

Background

The end result of this project is a working draft pool webpage to be later used to create a drafting session based web application for playing the game with friends.

Execution Steps

Steps to creating an interactive randomized and efficient drafting pool:

  1. Parsing html web page resources of online databases of MTG sets and card information.
  2. Sorting and storing card information in database and arrays to use with interactive set choices and if statements.
  3. Presenting html goodies like the images and ids of your drafted card pool.
  4. Being able to interactively choose any set in current MTG and get sent back a drafted pool to choose from.

Execution Step 1: Visit the Web Page

  1. Navigate to http://192.155.90.226/test.php to see the working result of the project with Shawn Meas.
user/jpettie/portfolio/hpcproject4.txt · Last modified: 2013/05/07 00:44 by jpettie