IPB

Welcome Guest ( Log In | Register )

> How to post games
hmm
post Apr 29 2005, 05:54 AM
Post #1


Advanced Member
***

Group: Admin
Posts: 76
Joined: 18-November 04
Member No.: 9



Introduction

There are 4 different posting styles (1) Just the game and nothing else, (2) the game and the arrow buttons, (3) the game, arrow buttons, and the move list, and (4) the game, arrow buttons, the move list, and the human/computer selection. Here are examples:



















// fen on move 3: rheakae1r/9/1c4hc1/p1p1p3p/6p2/9/P1P1P1P1P/1C2C1H2/9/RHEAKAER1 b - - - 1
// movefirst for this fen: blue


















// fen on move 3: rheakae1r/9/1c4hc1/p1p1p3p/6p2/9/P1P1P1P1P/1C2C1H2/9/RHEAKAER1 b - - - 1
// movefirst for this fen: blue




















// fen on move 3: rheakae1r/9/1c4hc1/p1p1p3p/6p2/9/P1P1P1P1P/1C2C1H2/9/RHEAKAER1 w - - - 1
// movefirst for this fen: blue


















// fen on move 3: rheakae1r/9/1c4hc1/p1p1p3p/6p2/9/P1P1P1P1P/1C2C1H2/9/RHEAKAER1 w - - - 1
// movefirst for this fen: blue


The first style is good if you only wish to post a game compactly (see how to make it even more compact later, or to disable interaction). The second style is if you wish to provide limitted interaction with the game. The third style if you wish to show the move list. The fourth style is useful when posting puzzles, as user can let computer to control one side when interacting with the game.
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies
hmm
post Apr 29 2005, 07:04 AM
Post #2


Advanced Member
***

Group: Admin
Posts: 76
Joined: 18-November 04
Member No.: 9



Style #1 special consideration

When using style 1, it is often the case that you only want to show a board with no move. To disable interaction with the board, you need to add to the applet code the following:

<param name="active" value="0">

Creating a board setting is not easy in general, but it is possible to learn how to do it yourself. First, to show the board, you will need to find out the FEN value of the board. The fen setting looks something like this:

<param NAME="fen" VALUE="rheakaehr/9/1c5c1/p1p1p1p1p/9/9/P1P1P1P1P/1C5C1/9/RHEAKAEHR w - - - 1">

It would be good if you know how to construct the fen value for your board. If not, just making the moves so as to realize the board you want. Then click on the C button to view the game HTML. Look for the following line:

// fen on move 55: 2ek1a3/4a1H2/4e4/p4R3/2p6/P7P/2Pr5/4E4/4A4/2E1K4 w - - - 1

Copy the fen value found (from : to the end of the line), to the fen setting, overwriting the old fen value in the post:

<param NAME="fen" VALUE="2ek1a3/4a1H2/4e4/p4R3/2p6/P7P/2Pr5/4E4/4A4/2E1K4 w - - - 1">

Again, preview to see whether your board is displayed properly.
Go to the top of the page
 
+Quote Post

Posts in this topic
hmm   How to post games   Apr 29 2005, 05:54 AM
hmm   How ...   Apr 29 2005, 06:03 AM
hmm   Maki...   Apr 29 2005, 06:23 AM
hmm   Addi...   Apr 29 2005, 06:30 AM
hmm   Styl...   Apr 29 2005, 07:04 AM
hmm   Chan...   Apr 29 2005, 07:10 AM
QUOC_TE_DAI_SU   Mong ADMIN dich sang Tieng Viet dum , tai vi trong...   Jan 3 2006, 10:00 AM
too______bad   Mong ADMIN dich sang Tieng Viet dum , tai vi tron...   Jan 6 2006, 05:50 AM


Reply to this topicStart new topic
5 User(s) are reading this topic (5 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 29th March 2024 - 07:32 AM