# Toy Robot Simulator

## Description

A simulation of a toy robot moving on a square tabletop, of dimensions 5 units x 5 units.

## Installation

Install

    $ cd toy_robot
    $ bundle install

Run

Input commands manually on command line:

    $ bin/toy_robot

Input commands through a file

    $ bin/toy_robot -f [filename]

Run tests:

    $ rspec spec/

Check test coverage (after running rspec):

    $ open coverage/index.html

## Issues

- Couldn't figure out how to write tests simulating manual command input (using STDIN), and started a question on StackOverflow about it [here](http://stackoverflow.com/q/12673485/567863).  So, test coverage stays at 99.43% for now.

## Copyright

Copyright (c) 2012 Paul Fioravanti

See {file:LICENSE.txt} for details.
# Toy Robot Simulator [![Code Climate](https://codeclimate.com/badge.png)](https://codeclimate.com/github/paulfioravanti/toy_robot)

## Description

A simulation of a toy robot moving on a square tabletop, of dimensions 5 units x 5 units.

If you find this repo useful, please help me level-up on [Coderwall](http://coderwall.com/) with an [![endorse](http://api.coderwall.com/pfioravanti/endorse.png)](http://coderwall.com/pfioravanti)

## Installation

Install

    $ cd toy_robot
    $ bundle install

Run

Input commands manually on command line:

    $ bin/toy_robot

Input commands through a file

    $ bin/toy_robot -f [filename]

Run tests:

    $ rspec spec/

Check test coverage (after running rspec):

    $ open coverage/index.html

## Issues

- Couldn't figure out how to write tests simulating manual command input (using STDIN), and started a question on StackOverflow about it [here](http://stackoverflow.com/q/12673485/567863).  So, test coverage stays at 99.43% for now.

## Copyright

Copyright (c) 2012 Paul Fioravanti

See {file:LICENSE.txt} for details.
Add Code Climate badge and Endorse badge
Add Code Climate badge and Endorse badge
