Permalink
Switch branches/tags
Nothing to show
Commits on Nov 9, 2010
  1. [Druid::Game] initialized attribute to 0

    masak committed Nov 9, 2010
    Nowadays (in ng) not initializing something to 0 and then doing a
    numeric comparison triggers an undefinedness warning.
Commits on Nov 8, 2010
Commits on Sep 6, 2010
  1. [Druid::Base] worked around Rakudo parsefail

    masak committed Sep 6, 2010
    Rakudo currently can't parse comments starting with '#= '. Changing to
    '# = ' for the time being.
Commits on Jun 18, 2010
  1. [Druid::Game::Subject] changed membership idiom

    masak committed Jun 18, 2010
    There are different ways to test for array membership. This is one:
    
      @array ~~ (*, $elem, *)
    
    But there's a bug in Rakudo master which makes this not work when $elem is
    an instance of a user-defined class. Instead, switched to this idiom:
    
      any(@array) === $elem
    
    It works, and it probably reads a bit better, too.
  2. [Test::Ix] eagerified a gather without take

    masak committed Jun 18, 2010
    Using a dummy array as a target, we can cause the gather block to run. Since
    the gather block has no 'take' in it, the dummy array will be empty.
  3. [Test::Ix] s/undef/Any/

    masak committed Jun 18, 2010
  4. [Druid::Webapp] removed for now

    masak committed Jun 18, 2010
    We're not converting Web.pm to Rakudo master right now, and this class isn't
    essential to Druid anyway. Better to just remove it for now.
  5. removed #=[] documentation syntax

    masak committed Jun 18, 2010
    For now, used '#| ' instead. Still need to change S26 to use this, too. :)
Commits on Jun 2, 2010
  1. went with the aliens on this one

    masak committed Jun 2, 2010
    Removed the old Configure technology.
  2. [README] updated

    masak committed Jun 2, 2010
Commits on Oct 24, 2009
  1. [README] one more plan

    masak committed Oct 24, 2009
  2. [README] added some more plans

    masak committed Oct 24, 2009
Commits on Oct 12, 2009
  1. [Druid::Game] added slow way of finding lintels

    masak committed Oct 12, 2009
    Also fixed a few cases where infix:</> should really be infix:<div>.
  2. added persistence to Druid::Webapp

    masak committed Oct 12, 2009
    The most primitive kind you can imagine. Saving to file. Using .perl and
    eval(). But it works.
Commits on Sep 6, 2009
  1. [web-druid] changed to use the new simple regime

    masak committed Sep 6, 2009
    For some reason, though, it doesn't work. I will have to investigate
    further. Getting this error when hitting the page:
    
    $ perl6 bin/web-druid
    Druid now runs on http://127.0.0.1:8888/
    No applicable candidates found to dispatch to for 'trait_mod:of'
    in method HTTP::Daemon::accept (lib/HTTP/Daemon.pm:218)
    called from method Web::Handler::HTTPDaemon::run (/Users/masak/gwork/web/lib/Web/Handler/HTTPDaemon.pm:8)
    called from Main (bin/web-druid:9)
Commits on Aug 18, 2009
  1. upgraded Pod to next-gen S26

    masak committed Aug 18, 2009
    ...essentially this means changing a lot of Pod comments to the '#=[]' form.
    Also updated a few cases of stale Pod.
Commits on Aug 13, 2009
  1. [Druid::Player] simplification of where clause

    masak committed Aug 13, 2009
    Suggested by jnthn++
Commits on Jul 30, 2009
  1. [Druid::Player::Computer] really dumb defense

    masak committed Jul 30, 2009
    But it's still better than 100% random moves.
    
    Also fixed a .pick API carpet pull.
Commits on Jun 22, 2009
  1. [generate-board] push button -> polygon moves

    masak committed Jun 22, 2009
    Now all that remains is making the polygons move in the right way,
    i.e. rotate in the direction indicated by the arrow.
  2. [generate-board] removed all pieces, added widget

    masak committed Jun 22, 2009
    The widget has self-explanatory buttons on it for rotating the view
    around the board, which by the way has been simplified from the 8x8
    look back to a monolithic block. Makes it easier to reason about.
Commits on Jun 20, 2009
  1. [generate-board] pieces are now sorted

    masak committed Jun 20, 2009
    The sorting order is this: sort for height (lowest first) and then for
    depth coordinate (furthermost first). Seems to work just to sort on the
    pieces and not on the individual surfaces.
  2. [generate-board] removed pseudogene comment

    masak committed Jun 20, 2009
    For once, I broke my own policy about not leaving commented-out code
    around without giving an explanation for it being commented out. Removing
    it now.
Commits on Jun 18, 2009
  1. [bin/generate-board] proof-of-concept SVG generation

    masak committed Jun 18, 2009
    This throwaway script contains primitives for block generation, translation,
    scaling, rotation, projection and SVG serialization. It's lacking z-sorting
    and real, converging perspective (the one in this script is isometric).
Commits on Jun 9, 2009
Commits on Jun 8, 2009
  1. separated one BUILD method into two

    masak committed Jun 8, 2009
    The observer part belongs to Druid::View, but the cached-board part
    belongs to Druid::View::Text. It works, wow!
Commits on Jun 7, 2009
  1. [lib/Druid] converted all modules block-decl -> file-decl

    masak committed Jun 7, 2009
    Less indentation needed that way. It looks better with the Pod comments.