Skip to content

PHP Week 5 Group Project. Travel the stars, buy low, sell high, and don't run out of fuel!

License

Notifications You must be signed in to change notification settings

eeronomicon/grendl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

(Let's Go) Space Truckin'

Travel the stars, buy low, sell high, don't get stranded. October 3, 2016

By Stephen Burden, Ryan Apking, HK Kahng, and Jon Toler

Description

In this game, the player travels a star map that is randomly populated with planets of differing trade classifications, buys and sells goods, while maintaining a positive credit balance and a non-empty fuel tank. A humble homage to Traveller, Elite, Tai-Pan, and Firefly/Serenity. And there's the obvious Deep Purple reference ('Silver Machine' was another possible name choice).

User Stories

  • As a player I would like to see a list of randomly generated planets with trade specialties, population type, and trade goods that are available for sale.
  • As a player I would like to see a list of nearby planets that I can travel to this turn.
  • As a player I am presented with a list of trade goods for sale on the planet I'm on with its sale price.
  • As a player I am presented with the sale price (that Planet's Market Value) of the goods I have on my ship.
  • As a player I can sell all of a trade good I have on my ship.
  • As a player my fuel gauge is reduced by 10 units per square traveled.
  • My ship initially has 50 units of fuel.
  • As a player, each turn deducts X amount of credits from my balance as operating costs.
  • Fuel can only be purchased at Fueling Stations which are randomly generated on the map of Planets.
  • As a player the maximum amount of trade good I can purchase is limited by (a) market supply, (b) cargo capacity, and (c) my credit balance.
  • As a player the game ends when I run out of credits or if I am out of fuel.

Specifications

See the SPECIFICATIONS.md file.

Setup/Installation Requirements

  • Clone the repository from the link below to your desktop
  • Run Composer Install to include all dependencies
  • Import the database into mySQL
  • In Terminal or Command Prompt go to the /web directory and enter the command: php -S localhost:8000
  • To browse go to http://localhost:8000/ in the browser of your choosing

This game is also hosted on Heroku: https://shrouded-garden-90623.herokuapp.com

Known Bugs

There are no known bugs with this application.

Support and contact details

Contact us via GitHub!

Technologies Used

PHP, Silex, Twig, PHP Unit, HTML, and Bootstrap

License

The MIT License (MIT)

Copyright (c) 2016 Stephen Burden, Ryan Apking, HK Kahng, and Jon Toler

About

PHP Week 5 Group Project. Travel the stars, buy low, sell high, and don't run out of fuel!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published