![]() |
TChess
|
TChess is a powerful chess program and runs on most
Windows based
systems. The main features of TChess at a glance
The
design of TChess is made as intuitive as possible and this
guide will
not discuss every feature in detail. However, feel free to contact Toxygen Productions in case you miss a
topic, have corrections or made a translation.
To improved readability, the following typographical conventions
are used: Internal
and external
links, Simple and strong emphasis, TChess
names,
user interface elements
and ...
... notes, like this one: This guide makes extensive
use of CSS. If
this note is not enclosed by a box, then your browser
does not support CSS and an update is recommended (download Opera
or Firefox
- avoid a
lot
of troubles
and boycott Internet Explorer
).
The main window is the only window visible by default and shows the
chess board, some status information as well the menu. Actually it's
the
only window required to play a chess
game. However, many
tools
create additional windows and as a result TChess will look
more as shown in the screen shot below. Note that the tool windows are
non modal, i.e. you can switch from one window to another.
Most commands have keyboard shortcuts. The shortcut key is shown in the menu to the right of the respective command (e.g. Alt-F4 to close TChess).
That's the point - to play chess. In case you are new to this game,
visit
TChess has two game modes, local
and
network. Local mode is the default - once a network connection is
established, TChess
is in network mode. The active mode is shown by the second
status line of the main window. Both modes have in common:
The settings used by TChess for a new local
game are configured by the Settings=>Game Window
. When
continue a existing game, these settings do not apply.
In network
mode, the Server
has to initiate a game, either by starting a new game or continue an
existing. In either case TChess explicitly asks
for
the player color, which overrides any other setting. The Undo
function and Engine
games are not supported in network mode.
While a network game is active, TChess refuses to
shutdown. A network game has to be aborted according to the rules,
either by a accepted draw offer or resigning.
When the connection is interrupted in the middle of a
game - do not panic: Simply reconnect and select Continue
instead of New
game. The very same way, a game can be
suspended; however it is recommended to save the game to a file though.
TChess
keeps track of
all game moves in the game history. The content of the
history can be saved to a file anytime, while - for obvious reasons
- loading is only possible when no game is active and also replaces the
current history. You can resume a game at the current game history
position with the
Game=>Continue
command or clicking
the middle button in the Game History Window.
TChess
does not support multiple game variations and moves ahead - including
the current - are removed from the history by the Continue
command.
You can use the cursor and home/end keys to navigate
in the history,
even the history window is inactive or hidden.
TChess uses the portable game notation (PGN) format for game files. PGN is the
state of the art format to exchange chess game data and many other
chess related programs do support it.
When loading a PGN file into TChess, a
error message is not necessarily a reason to panic. PGN files
describing multiple games are not uncommon, though TChess
can manage one game at the time only. An error message is thrown to
indicate more data, although the first game of the PGN file is loaded.
The Forsyth-Edwards Notation (FEN) is a convenient format used to
describe a particular chess game position. TChess supports
FEN data embedded in PGN files. Also you can copy/paste FEN to/from the
clipboard.
TChess has a build in chess engine, which is in an
early development phase and very limited. Also the engine acts
even more strange, when playing white... Anyway, to play seriously a
chess
game against the computer, it is strongly recommended to download
a WinBoard compatible engine. There are
many free engines available on the web - only two are recommended
here: Crafty
is a strong engine while Slow
Chess Blitz
is a stunningly fast
opponent.
Once you have
downloaded an
engine of your choice, open the
Settings Window
, switch
to the Engines Entry
and select the
Use
WinBoard engine
option, as shown in the screen shot. The Select
button is no longer greyed; click on it to open a file dialog
where you can select the engine binary file you've downloaded before.
Note that engines often are in a compressed file format such as ZIP
and require to be
decompressed before TChess can use them.
Chess engines
are usually very strong players - often too strong for
an average human player.
With the
Settings & Features
options you can
configure the play of a chess engine in a wide range:
search depth Limit
specifies how many half
moves (ply)
the engine is allowed to look ahead. An average human
player
reaches 4-6 half moves, while engines go to 12 and beyond.Search Time Limit
is simply the maximal time
the
engine has available to generate a move.Random
option allows the engine to vary its play by adding a small random
value to the evaluation result.Pondering
option allows the
engine to do the same, which improves the play.Some engines do not properly report unsupported or
invalid configurations. Check the engine documentation whether a
feature
is supported or not.
A feature just for fun or for developers is the Dual Engine
Battle
mode. When activated, two different engines
can fight each other. To start a dual engine battle, you also have to
select Engine
for the white as well the black player.
Note,
that a
human player always plays against engine #1 - regardless of the Dual
Engine
Battle
option. Also the Settings & Features
options apply for both engines and can not be set
individually.
It is not recommended to activate pondering
for engine battles (unless on system with multiple processor cores).
Doing so has an impact on the overall performance, as both
engines
concurrently and permanently use the processor cache - very
ineffective.
TChess does not only support network games, it also
improves
communication with a build in chat (NetChat) and audio feed (NetTalk).
Furthermore the configuration is simplified by Rendezvous
which, by the way, has nothing to do with fruits...
This chapter will address some fundamental network topics in a
simplified form and may not reflect all details accurately. If you
are
interested in the whole story, follow the links...
When you do a
phone call, you dial a number which uniquely addresses your
counterpart's phone. This is very similar for network connections,
where one
side is waiting for the call (the Server)
while the other
(the Client) has to call the right
number - the Internet
protocol (IP)
address and the Transmission Control Protocol (TCP
)
port. However, the IP address is usually not permanently assigned to a
computer, thus makes a
call
much more complicated.
Rendezvous disburdens the user from abstract network configuration and provides a central directory for all participants, which are uniquely identified by a name/password combination.
Rendezvous
is disabled by default and has to be activated by selecting the Use
Rendezvous
check box found in the Settings
=>Network
Window
.
As first task both
participants have to agree on an name and password - the so called
session id. Name and password are arbitrary, tough have to be 8 to 16
characters in length
and
it's
recommended to chose fancy phrases to avoid conflicts with other Rendezvous
users. Note that this step is required once only, as a session id can
be reused.
Make sure Rendezvous
is activated and initiate a connection by
selecting
Tools=>Network=>Connect
from the menu. The Rendezvous
Login Window
pops up where you can fill in the session settings.
A click on Connect
initiates the handshake with the Rendezvous Server. If no
other Rendezvous user with the same session
id exists, your request is announced and TChess
shows the Connect Window
to wait as Server for a Client
to
connect. On the other hand, when a user exists TChess
immediately
initiates a connection to this user.
Plain-vanilla.
Note that announcements are cancelled by the Rendezvous Server
after
a grace period of 30 minutes. If no connection is accomplished within
this time, you have to login again.
Using Rendezvous does not solve the
Firewall nor Router
problematic - for details read the Firewalls
& Routers chapter below. Also Rendezvous has the
drawback that any
participant can become a TChess Server, thus has to
configure the
system accordingly. Also have a look at the FAQ
section for additional tips and tricks.
Using the
assistance of Rendezvous
is strongly recommended. Though Rendezvous does not work
when both participants are connected to the same private
network (LAN
/Intranet
) and it's the only way to setup
the network configuration manually.
The first step is to agree on who will be the TChess
Server. The Server has then to select the I'm the Server
option
in the Settings=>
Network
Window
,
forward its IP address and TCP
port to the Client and initiate a network connection by the Tools=>Network=>Connect
menu option. Note that the Server has
to
initiate the network connection before the Client
does.
The Client deselects - of course - the I'm the Server
option, fills in the IP address and TCP port as given and initiates
the network connection. If everything is configured the right way,
the connection is established within a few seconds.
The Probe my IP
tool identifies the IP address the
computer uses to communicate with the public internet.
Consequently an internet connection is required to work properly.
Also it is not
of help for LAN setups which do require the private IP address.
Once a
network connection is
established, you can use NetChat to send text
messages to your opponent. Note that the
NetChat Window
automatically pops up, when a message arrives.
To make conversation even more
convenient, TChess features a network phone for real time
speech communication - NetTalk.
In order to use NetTalk, you have to prepare a headset -
i.e. a headphone with
integrated microphone - and connect it with the soundcard of your
computer. Soundcards usually have color marked connectors, the
microphone input is pink and the headphone output green.
Once the headset is
connected, start NetTalk from the
Tools=>NetTalk
menu. In case your system has more than one soundcard, make sure to
select the right device, then click on the
loudspeaker button to open the Windows
Recording
Control Window
and select Microphone
as the input source.
To test the setup, switch back to NetTalk and
activate the Local
option. Click on the Start
button and speak into the microphone - you should hear your own voice
with a small
delay. If it's not working, have a look at the FAQ
section for solutions to common troubles.
When NetTalk is
active and you close the window, NetTalk
mutes the input. You can still hear your counterpart but not vice
versa. This behaviour is
similar to the mute key of telephones.
The volume sliders of the NetTalk window are suitable for fine tuning only and can introduce distortion on extreme settings (values above 0dB).
These days it's simply careless to connect a computer without a firewall
to a public network. A firewall supervises the network and blocks
unwanted traffic. What kind of traffic a firewall treats as unwanted
is defined by a set of rules. By default, many firewalls restrict
traffic to a few well known protocols, such as the Hyper Text
Transfer
Protocol (HTTP
) and completely refuse incoming
connection request.
In private environments router
with integrated cable
or DSL
modem are quite common. These so called internet gateways often have a
integrated
firewall. Also additional configuration is required to forward
incoming connection requests.
TChess uses a proprietary protocol for communication and naturally the TChess Server has to accept incoming connection requests. Refer to the documentation of your firewall how to allow
Settings=>Network
Window
.
In case Rendezvous is
used,
this port is fix set to 32768 (decimal).I'm the Server
option
is selected.Many personal
firewalls prompt the user to
allow/deny traffic, as soon as an application tries to access the
network. Nevertheless you have to explicitly allow incoming connection
requests, as these firewalls rarely prompt for connection requests.
A router provides an interface between two networks, for example the
private
network (inside) and the public internet (outside). Internet gateway
router often use network address
translation (NAT)
to share an internet access among computers with a single
public IP address. These computers are not distinguishable from the
outside world, as they all appear with the same - shared - public IP
address. This technique works seamless,
except for the case a computer from the outside wants to contact a
Server inside the private network. As the computer from the
outside world sends its request to the public IP address, the
router needs to know which
computer on the inside expects the request - the so called port
forwarding
.
As soon a router is
involved to access the internet, you have to configure port forwarding.
It does not matter how many computers
actually do access the internet through that router. However, internet
service provider (ISP)
often provide a complete internet access kit to simplify the setup for
private customers. The kit consists of a router and software - the
latter configures the router to forward
all incoming traffic to the computer on which the kit is installed.
Thus no explicit port forwarding is necessary.
Port forwarding, as the name implies, works on a per port basis.
Refer to the documentation of your router how to activate port
forwarding for the TCP port as set
under Settings=>
Network
Window
to the private IP address of the
computer TChess is running on. As a reminder: All private
IP
addresses start with 10.X.X.X, 192.168.X.X or 172.16.X.X–172.31.X.X (X
is a placeholder and represents any number).
For a given port, only one computer can be defined as the target. If
the private network has multiple computers, you can use different
ports and forward them to the respective computers.
FAQ is an acronym for frequently asked questions
. This
section provides answers to common troubles and addresses many topics
which did not fit elsewhere in this document.
If you have trouble running TChess
or one of its components properly, make sure to have the latest
TChess version prior wasting time on an already solved
problem.
TChess has not been tested on Win9X/ME -
notify Toxygen Productions whether TChess
runs or not on these systems.
Help=>License
Agreement
menu.Help=>Contact
menu
of TChess.
For bug reports, use the link provided by the System
Information Window
(Help=>System Information
menu).
You may also want to visit Toxygen Productions on
the web.incoming TCP packet on port XYZ rejected. However, this does not fully guarantee that the router forwards all ports. Read the next entry for additional details:
Connection Window
. You can abuse a port
scannerGenerally it's an ethical code to only port scan a
system that belongs you. In particular don't
do port scans at your office - some network administrators get
totally upset by employees doing so. Also it can be forbidden
by company policy sometimes. Seriously. You've been
warned...
connection window
, you should see something
similar to Waiting for clientand after a while - just for short -
Client foundfollowed by the final
Connection failed; invalid clienterror message. Also the online scanner should report port 8080 as open.
connection window
shows an
error without the Waiting for clientmessage, another service on your computer is already occupying the port.
Help=>System
Information
menu) lists all network adapter installed on a
system. The network interface section may looks like:LAN
for
a local (private)
network or WAN
for a public network (i.e. internet). If
you can access the internet and a WAN
adapter gets
listed, you use a dialup modem, vice versa a gateway router. The
number following the
adapter name is the interface IP address and the number in braces is
the
router IP address (set to n/a
so no router exists).
The System Information only lists
connected network adapter.
In other words, a modem gets not listed when no connection is
etablished.
Conflict with other users?
Unable to contact Server. What's the problem?
Server Errorfollowed by a number and a text enclosed in curly braces...
Inquiry failed...
Invalid Serveror
Invalid response...
Rendezvous
Login Window
plus your public IP address as well as the TCP
port. The session id is send encrypted using RIPEMD160In order to effectively manage a web server, it is necessary to get a feedback about the activity and performance of the server as well as any problems that may be occuring. [...]
ApacheWeb Server Documentation - About Log Files
Toxygen Productions guarantees that log files are used only to improve the service quality and not deliberately made accessible to third parties.
Recording Control
Window
is set to an accurate level and the microphone is really
selected as the input source. Most soundcards have a microphone boost
amplifier - in the same window, select Options=>Advanced
Controls
and click on the Advanced
button below
the microphone volume slider to activate it. Also your microphone input
gets muted, when the NetTalk Window
is hidden.In
/Out level
meters show a signal, you probably have muted your soundcard output.
Check the Windows Tasklist for an icon similar to Play Control Window
and set the volume slider to
an accurate level. Also make sure the output is not muted.Local
option
is
not selected, when using NetTalk for real.NetTalk
Window
- the Windows Recording Control Window
pops
up - and lower the microphone input
volume. Tools=>Network=>Ping
menu to check your connection. The round trip delay should not exceed
500ms.Local
test
mode, then it's most likely a soundcard driver incompatibility. At
least one driver has been found to not work according to the
specification, though a hack was implemented which should circumvent
this limitation. Anyway, contact Toxygen
Productions in this case.