Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

TSQL Challenge 58 - Playing Chess in TSQL – Part 1

By Jacob Sebastian,

TSQL Challenge 58 - Playing Chess in TSQL - Part 1

Let us play Chess with TSQL in this challenge. The input table contains strings that represent the layout of chess boards filled with pieces using Forsyth-Edwards Notation. Your job is to read the input string and generate a result set that represents the position of pieces in a chess board.

http://beyondrelational.com/puzzles/tsql/58/english/playing-chess-in-tsql-part-1.aspx

 

Total article views: 1660 | Views in the last 30 days: 2
 
Related Articles
BLOG

Chess

Recently I started getting back into the game of chess as I began coaching my boys. Chess is a great...

BLOG

Checkers, Chess, and Politics

There are few games that don’t have some kind of strategy, from tic-tac-toe on up. Sometimes we take...

ARTICLE

TSQL Challenge 59 - Playing Chess in TSQL – Part 2

Your job is to generate a string using Forsyth-Edwards Notation which represents the final position ...

FORUM

TSQL Challenge 58 - Playing Chess in TSQL – Part 1

Comments posted to this topic are about the item [B]TSQL Challenge 58 - Playing Chess in TSQL – Part...

FORUM

TSQL Challenge 59 - Playing Chess in TSQL – Part 2

Comments posted to this topic are about the item [B]TSQL Challenge 59 - Playing Chess in TSQL – Part...

Tags
 
Contribute

Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones
Editor, SQLServerCentral.com

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones