# Re: Chess960 (#106)

**URL:** <https://www.ruby-forum.com/t/re-chess960-106/79737>\
**Category:** Ruby\
**Created:** [December 18, 2006, 5:21pm UTC](https://www.ruby-forum.com/t/re-chess960-106/79737 "2006-12-18T17:21:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phrogz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/2acd7d/32.png) [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Post date:** [December 18, 2006, 5:21pm UTC](https://www.ruby-forum.com/t/re-chess960-106/79737/1 "2006-12-18T17:21:37Z")

</div>

From: Dave B. [[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)]

> 1 | #{ bottom\_row } | 1  
> ±----------------+  
> a b c d e f g h  
> END

Just gotta say, that’s pretty brain-dead tricky. To produce the same  
output, I’m sure I would have some a bunch of mapping and joining and  
iterating and thought I was tricky when I wrote "P "\*8.

I particularly like how you’ve used extra whitespace inside the  
interpolation block to preserve the monospace markup. Well done! 🙂

---

<div class="post-metadata">

**Author:** ![phrogz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/2acd7d/32.png) [@phrogz](https://www.ruby-forum.com/u/phrogz)\
**Post date:** [December 18, 2006, 5:27pm UTC](https://www.ruby-forum.com/t/re-chess960-106/79737/2 "2006-12-18T17:27:39Z")

</div>

On Dec 18, 2006, at 10:19 AM, Gavin K. wrote:

> > 2 | P P P P P P P P | 2  
> > interpolation block to preserve the monospace markup. Well done! 🙂  
> > Yeah, I thought that was darn clever as well.

James Edward G. II
