Login   Register  
PHP Classes
elePHPant
Icontem

Class: fen2Diagram

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Can Ince  >  fen2Diagram  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: fen2Diagram
Base name: fen2diag
Description: Render chess boards from piece positions
Related classes: , , , ,
Version: 0.1
PHP version: 3.0
License: GNU Lesser General Public License (LGPL)
All time users: 405 users
All time rank: 4988
Week users: 0 users
Week rank: 2481
Picture of Can Ince
Author: Can Ince <e-mail contact>
Packages: 3 Browse this author's classes Browse this author's classes
Country: Turkey Turkey - PHP jobs in Turkey
Age: 36
All time rank: 4897 in Turkey Turkey
Week rank: 994 Down20 in Turkey Turkey Down


  Detailed description  
This class can be used to render chess board diagrams from piece positions in the FEN format (Forsyth-Edwards Notation).

It parses a string in the FEN format to retrieve the piece positions in a chess board.

The class generates an image with an empty board and icons of the images of each piece in the board and the respective position.

The generated board image can be served as the current script output in JPEG, GIF or PNG format.

 

  Groups  
Group folder image Graphics Colors, images, charts and picture formats View top rated classes
Group folder image Games Sports and online games View top rated classes

  Screenshots Screenshots   Rate classes User ratings   Applications   Files Files  
  Files folder image Screenshots  
Sample output
File Role Description
Accessible without login Image file screeshot1.jpg Screen Sample output


  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
Link Description
BidiBidi.Biz Forums A community website's forum with fen2diagram support.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imagechessset (12 files)
Image file emptyBoard.jpg Photo empty chess board
Plain text file example.php Example Example usage for fen2Diagram.class.php
Plain text file fen2Diagram.class.php Class Main fen2Diagram class
Plain text file gnu-lgpl.txt Lic. License file
Plain text file readme.txt Data Readme file

  Files  /  Files folder image chessset  
File Role Description
  Image file black_bishop.gif Icon black bishop icon
  Image file black_king.gif Icon black king icon
  Image file black_knight.gif Icon black knight icon
  Image file black_pawn.gif Icon black pawn icon
  Image file black_queen.gif Icon black queen icon
  Image file black_rook.gif Icon black rook icon
  Image file white_bishop.gif Icon white bishop icon
  Image file white_king.gif Icon white king icon
  Image file white_knight.gif Icon white knight icon
  Image file white_pawn.gif Icon white pawn icon
  Image file white_queen.gif Icon white queen icon
  Image file white_rook.gif Icon white rook icon

Download all files: fen2diag.tar.gz fen2diag.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.