4. Interface Description
4.1 Menus
4.1.1 Files
-
New game : start a new game
-
Open game : open a saved game (extension
*.kp4)
-
Save game : save the current game
-
Quit : exit KPuissance4
4.1.2 Configure
-
Options : popup options dialog
4.1.3 Help
-
Content : open KDE help center with The
KPuissance4 Handbook
-
About KPuissance4 : popup a message box
with short informations about KPuissance4
-
About KDE : popup a message box with short
informations about KDE
4.2 Toolbar
The toolbar contains a set of button which do the
same as menu entries.
The different functions are :
-
open
-
save
-
restart
-
undo
-
hint (ask computer what it would do)
-
quit
-
help
4.3 Key-bindings
KPuissance4 honors the following key-bindings :
-
Control-N : restart game
-
Control-S : save game
-
Control-O : open game
-
Control-Q : quit game
-
Control-T : popup options dialog
-
F1 : start KDE help center
4.4 Options Dialog
This dialog allows the user to control the game
configuration and the background configuration.
Here's a list of the parameters that can be changed
by the user :
-
number of columns
-
number of rows
-
puissance (number of jetons to align to win)
-
player 1 type : human or computer
-
player 2 type : idem
-
level : easy, medium or hard
-
pixmap use : specify if the grid will have a background
composed of a wallpaper or a solid color
-
background color
-
background pixmap (to be chosen between all installed
KDE wallpapers)