One linere: chess board

How to create a chess board with just one line of Rebol (I splitted t in 3 lines for beginers) :
Rebol [
    Title: "Chess board"
    Date: 20-Jul-2003
    File: %oneliner-chess-board.r
    Purpose: "Displays an empty chess board"
    One-liner-length: 126
    Version: 1.0.0
    Author: "Sunanda"  
]
g:[style b box black 50×50   style w b white space 0×0   ]
loop 8 append g head reverse/part [b w b w b w b w return] 8 ]
view layout g

Tags: ,

Print This Post Print This Post
117 views
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Leave a Reply

You must be logged in to post a comment.