Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Jul 01, 2012

  1. Carl Mäsak

    [crypt.pl] refuse to add to a nonexistent rod

    authored
  2. Carl Mäsak

    [crypt.pl] size -> disk refactor

    Always pass the full name of the disk in events, not just the size.
    authored
  3. Carl Mäsak

    [crypt.pl] cannot add a disk that's already there

    authored
  4. Carl Mäsak

    [crypt.pl] cannot add a disk with a made-up name

    authored
  5. Carl Mäsak

    [crypt.pl] adding a disk

    authored
  6. Carl Mäsak

    [crypt.pl] refactor; extract private method

    Finding the rod with a certain disk is basically the same
    for moving and removing disks, so de-duplicate that functionality.
    authored
  7. Carl Mäsak

    [crypt.pl] cannot move a disk that has been removed

    authored
  8. Carl Mäsak

    [crypt.pl] cannot remove an already removed disk

    authored
  9. Carl Mäsak

    [crypt.pl] fixed CoveredDisk exception message

    It got in an extra 'and ' in the case of 1-item lists.
    authored
  10. Carl Mäsak

    [crypt.pl] uncovered, removal of a disk still forbidden

    Unless it's the tiny disk.
    authored
  11. Carl Mäsak

    [crypt.pl] cannot remove covered disks

    This exception takes precedence over the 'forbidden disk removal' one.
    authored
  12. Carl Mäsak

    [crypt.pl] removing other disks is forbidden

    You can only remove the tiny disk from the game.
    authored
  13. Carl Mäsak

    [crypt.pl] can remove disks

    authored
  14. Carl Mäsak

    [crypt.pl] error when trying to move covered disk

    If you move('large', 'right') but the large disk is under a
    bunch of other disks, you get an error.
    authored
  15. Carl Mäsak

    [crypt.pl] name refactor: Hanoi::

    All the events are now part of the Hanoi:: namespace. Hanoi::Game also ended up
    there.
    authored
  16. Carl Mäsak

    [crypt.pl] refactor - private apply method

    This separates out the state change into a single private method.
    (Or several multimethods when Rakudo does private multimethods.)
    Interestingly, the condition for achievement unlocked now changed
    since we're not applying the events until they have all been
    constructed.
    authored
  17. Carl Mäsak

    [crypt.pl] allow move syntax specifying disks

    So instead of move('left', 'middle'), you can also do
    move('tiny disk', 'middle), and it works it out for you.
    authored
  18. Carl Mäsak

    [crypt.pl] test function refactor

    Added another parameter for nicer test messages.
    authored
  19. Carl Mäsak

    [crypt.pl] achievements can be locked, too

    authored
  20. Carl Mäsak

    [crypt.pl] post-unlocking achievement logic

    authored
  21. Carl Mäsak

    [crypt.pl] all disks on the right rod => win

    This commit is a bit messy, because it got tangled up with a refactor
    of 'from'/'to' rods into 'source'/'target' rods. The latter terminology
    took over and wanted to be everywhere.
    authored
  22. Carl Mäsak

    [crypt.pl] cannot move from a rod with no disks

    authored
  23. Carl Mäsak

    [crypt.pl] can't use rod names which don't exist

    authored
  24. Carl Mäsak

    [crypt.pl] larger disk on smaller not allowed

    authored
  25. Carl Mäsak

    [crypt.pl] hanoi game, legal move

    authored
  26. Carl Mäsak

    fearlessly removed last year's game

    I tagged up the previous commit as `2011`, so you can still refer to the
    removed files like this:
    
        git show 2011:crypt.pl
        git show 2011:descriptions
    authored

Jul 27, 2011

  1. Carl Mäsak

    consistencified use of $!is_on vs $.is_on

    Reported by shinobicl++.
    authored

Jul 25, 2011

  1. Carl Mäsak

    open containers show contents when examined

    (John Gabriele)++ for reporting.
    authored
  2. Carl Mäsak

    implement 'use water'

    (John Gabriele++) for reporting.
    authored
  3. Carl Mäsak

    allow putting things *on* the fire as well

    (John Gabriele)++ for reporting this.
    authored
  4. Carl Mäsak

    disallow unary 'put'

    (John Gabriele)++ for reporting this.
    authored

Jul 24, 2011

  1. Carl Mäsak

    don't show contents if there isn't any

    authored
  2. Carl Mäsak

    don't need those :size ctor attrs

    authored
  3. Carl Mäsak

    make 'walls' not show in Hall

    TimToady++ for bug report. Also un-hid the helmet.
    authored
  4. Carl Mäsak

    big reorganization

    But some things in alphabetical order; divide the whole script into
    eight sections.
    authored
Something went wrong with that request. Please try again.