Skip to content

Latest commit

 

History

History
48 lines (34 loc) · 1.3 KB

README.md

File metadata and controls

48 lines (34 loc) · 1.3 KB

Bike Challenge

Build Status

Synopsis

Welcome to my repo for the Makers Academy challenge 1:1!

My task was to create an emulation of the infamous "Boris/Santander Bikes" of London (a network of stations and bicycles that anyone can use) - including the process of docking a bike, releasing a bike, and reporting problems with infrastructure (repairs, etc).

The original brief for this challenge can be found HERE!

Key Focus

Object-Oriented Design (OOD).

Stack

  • Ruby.
  • RSPEC.

Implementation

  1. Clone this repository, and change into the correct directory.
$ git clone https://github.com/kaaristrack/bike_challenge
$ cd boris_bikes
  1. Open in IRB or PRY.
$ pry
  > require './file_collective.rb'
  1. Create a new docking station.
> docking_station = DockingStation.new
  1. Populate your new docking station with a bike object.
> docking_station.dock(Bike.new)
  1. Marvel at the automatically updating capacity!

Demo Reel 🎥

[COMING SOON]