GGZ Gaming Zone for KDE 4 - Tutorial 3 -------------------------------------- This is the third tutorial for GGZ in KDE, this dealing with kggzgames. The tutorial is a really dull one, since kggzgames offers so little currently that one line of code seems sufficient :) The kggzgames library is supposed to contain the graphical widgets and dialogs needed for good multiplayer support in game clients. Currently, it only contains the KGGZSeatsDialog class. KGGZSeatsDialog --------------- This dialog is a very autonomous one. Given an active GGZ connection, calling its constructor is already enough to let it perform all work on its own. It will list all the participating players/bots/spectators for a game, but also unused seats (empty/reserved/abandoned). If the privileges of the player are sufficient, then the seat configuration can be changed, e.g. by kicking some players or bots or by filling up empty seats with new bots. Highscores/ratings/rankings are also shown in this dialog. In the future, several more classes could be added here. For example, libkdegames already provides a chat widget and a chat dialog. Using kggzgames, it could be possible to use the chat dialog on an existing GGZ connection, preconfiguring it to know all present players and automatically sending to and receiving from the game server (if it's game chat) or the GGZ server (if it's table or room chat). Likewise, a global highscore dialog and a connection dialog could go in here.