Initial Pull Request

completed: warmups
tower of Hanoi (with saving via YAML)
Mastermind(no saving, but yes AI)

planning to submit Tetris later
I thought that was the sample input we were following. Yeah, I dislike that
too.

On Fri, Sep 19, 2014 at 5:06 PM, Andur Carr <notifications@github.com>
wrote:

> In tower_of_hanoi/tower.rb:
>
> > +    raise "Height already set" if @height
> > +    build(height)
> > +  end
> > +
> > +  def render
> > +    puts "Current Board: \n\n"
> > +    tallest.downto(0) { |level| print_level(level) }
> > +    print_labels
> > +  end
> > +
> > +  def validate(move)
> > +    return false unless move
> > +    start, finish = move[0] - 1, move[1] - 1
> > +    return false if @stacks[start].empty?
> > +    return false unless (0..2) === start
> > +    return false unless (0..2) === finish
>
> I noted that when I played, I had to format the items into an array
> myself, which was a little impractical.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/vikingeducation/game_center_assignment/pull/2/files#r17815696>
> .
>



-- 

*Michael Alexander*

(310) 429-8822

alexandermw@gmail.com