who we are  |  what we do  |  portfolio  |  contact us
Portfolio - Web Applications



Chess Playing Online
This website is currently in development for Chess Informant. Site is based once again on Microsoft technologies with ASP for the web part and COM+ components written in Visual Basic as the chess-playing server. Server COM+ components installed on Windows 2000 are the core of the program with ASP pages, VB applications and Java applets from users browsers all accessing these components when needed. Also on the Windows 2000 resides Microsoft SQL server 7.0 that these Chess Server components use for storing needed data as well as ASP pages for checking accounts, login information etc…
Chess playing client is a Java applet run in the user's browser with chess playing interface, chat and various other options for users interaction.
The two most important objects in chess server are CUserManager and CRoomManager. The first one carries out logging and other functions that are not directly concerned with playing (information about broken games, for instance), and in most cases works only with database. The latter one keeps track of users that are logged on, and about games in progress.
System leads the user through the following steps:
1. User logs on at the ASP page that uses CUserManager for authentication
2. Then page with the applet is loaded, and applet connects to the socket
3. CRoomManager detects new user on the socket, and puts it into the list; at the same time, CRoomManager sends message to all logged players that new player has arrived
4. New player may challenge other players, or may watch games in progress
 
Some special abilities of the server are:
1. Chat system - players can send messages to each other at any time
2. Game break control - if one player leaves the table because his Internet connection has broken, another player may wait for few minutes for the opponent to re-connect; if that happens, the opponent automatically returns to the game, without any intervention from the user
3. Running away from the table - if one player goes away from the table (by closing the browser), applet uses last moments of its life to inform the server that player has deliberately left the table, and such situation is marked as "resigned". 
4. Playing against machine – in phase of developement


Database of chess games - search and ordering
 
 
 
 


Visit www.sahovski.com

<< Back to Portfolio - Web Applications