lua-users home
lua-l archive

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


On Thu, Jan 16, 2014 at 4:11 PM, Tim Hill <drtimhill@gmail.com> wrote:
>
> On Jan 16, 2014, at 3:56 AM, Stefan Reich
> <stefan.reich.maker.of.eye@googlemail.com> wrote:
>
> We've got an editor now. http://tinybrain.de/187 http://tinybrain.de/185
>
> We had a competition for size coding.
>
> http://codegolf.stackexchange.com/questions/18322/lua-render-a-chess-board-in-smallest-code
>
>
> Since there don’t seem to be any significant rules as to how this can be
> done, or on what platform, here’s my one-line “render a chess board in Lua”
> program. Note that this probably only works on a Mac (where I tested it),
> and is of a course a bare-faced cheat :)
>
> os.execute("open
> http://designindevelopment.com/wp-content/uploads/2010/04/chessboard.jpg”;)
>
> —Tim
>

 You can make it work on Windows by replacing "open" with "start", and
on most Linux desktops using "xdg-open".

/s/ Adam