Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: A Rebol Challenge. The Monty Hall Puzzle IN *too many* BYTES

From: sunandadh:aol at: 21-Dec-2001 5:31

Hi Mario,
> I made a huge one: 4 Kb without pics, more than 50 Kb with > embedded-self-extracting PNGs. > Sunanda can find it attached (the others must ask it to me > *today* because tomorrow I will go on holidays until 2001/1/9). > It's a bad implementation made in the spare times during the > work but shows what I wanted (but it's not really animated). > If you like to optimise it you are welcome, I'm neither a > View/VID guru... >
Nice stuff! Though I was a bit confused about the prize being a battleship rather than a car! One quick point, staying focused on compactedness of code. If you have a web/reb site, you could put your images up on that and use load-thru to access them. So the script is just 3 or 4k, and the first time I run it, it downloads the PNGs. Later runs will find the images in Rebol's cache. You could even get the script down to about 1 K by compressing it, and having the main program look like: Rebol [] do load decompress #{...script...} If anyone wants a copy of Mario's script (31K WinZip file), and it's already tomorrow, please email me privately, Sunanda.