Gautier de Montmollin wrote:
> ...same address: http://pasta.phyrama.com/
My daughter is asking when you'll finish level 21 .. 30. :-)
> The level design is done (as for the Leaves demo) in Ada too, e.g. :
>
> when 14 =>
> return
> (columns => 7,
> rows => 5,
> thresholds => 1,
> needed => (1 => (kind => 'A', min => 10)),
> startup_board => (
> 1 | 7 => (3 => blocking_2, others => ' '),
> 3 | 5 => (3 => blocking_3, others => ' '),
> others => (others => ' ')
> ),
> moves => 10,
> level_probs => ('A' .. 'E' => 1.0 / 5.0, others => 0.0),
> logo_x => logo_x,
> logo_y => logo_y
> );
Nice. But why characters ('A' .. 'E') instead of a more specific
enumeration?
Greetings,
Jacob
--
"Never trust a statistic you have not falsified yourself."
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gnoga-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnoga-list