Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
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: 1684 | 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