Joel Uckelman on Fri, 15 Dec 2006 03:08:36 -0700 (MST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [s-d] dice server enhancements


Thus spake Antonio Dolcetta:
> 
> On 14 Dec 2006, at 23:51, Joel Uckelman wrote:
> 
> > At long last, I've returned to do some more work on the dice roller.
> > The plan is to augment the syntax so the Bones programs can be rolled,
> > just like in my web-based roller (see http://dice.nomic.net for the
> > roller, and http://dice.nomic.net/bones.html for the reference for  
> > Bones).
> >
> > Based on some comments Wonko made nearly a year ago, and some more  
> > recent
> > ones by Antonio, I gather there there are three things you guys would
> > like:
> >
> > 1. Execution of programs in text:
> >
> >    Wonko {{if d2 == 1 then "gains" else "loses"}} 12HP.
> 
> That would be uber cool, but how would you manage cases where there  
> are more than two choices ? To go this way rapidly turns it into it's  
> own programming language. Which is not a bad idea per se, but there  
> has to be a real advantage over simply using <insert you own  
> favourite programming language here>

You'd use a different construct for more than two choices:

   first 1 perm("a","b","c","d")


-- 
J.
_______________________________________________
spoon-discuss mailing list
spoon-discuss@xxxxxxxxx
http://lists.ellipsis.cx/mailman/listinfo/spoon-discuss