1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129
|
.\" -*- nroff -*-
.\"
.\" xskat - a card game for 1 to 3 players.
.\" Copyright (C) 2004 Gunter Gerhardt
.\"
.\" This program is free software; you can redistribute it freely.
.\" Use it at your own risk; there is NO WARRANTY.
.\"
.\" Redistribution of modified versions is permitted
.\" provided that the following conditions are met:
.\" 1. All copyright & permission notices are preserved.
.\" 2.a) Only changes required for packaging or porting are made.
.\" or
.\" 2.b) It is clearly stated who last changed the program.
.\" The program is renamed or
.\" the version number is of the form x.y.z,
.\" where x.y is the version of the original program
.\" and z is an arbitrary suffix.
.\"
.TH XSKAT 6 "May 2004"
.SH NAME
xskat \- a card game for 1 to 3 players.
.SH SYNOPSIS
.B xskat
.RB [ \-display | \-d
.IR display ]
.RB [ \-geometry | \-g
.IR geometry ]
.RB [ \-font | \-fn
.IR font ]
.RB [ \-iconic | \-i ]
.RB [ \-title | \-T
.IR string ]
.RB [ \-name
.IR prog ]
.RB [ \-fg
.IR color ]
.RB [ \-bg
.IR color ]
.RB [ \-bt
.IR color ]
.RB [ \-mark
.IR color ]
.RB [ \-3d ]
.RB [ \-2d ]
.RB [ \-3dtop
.IR color ]
.RB [ \-3dbot
.IR color ]
.RB [ \-mb
.IR button# ]
.RB [ \-keyboard
.IR number ]
.RB [ \-tdelay
.IR seconds ]
.RB [ \-fastdeal ]
.RB [ \-slowdeal ]
.RB [ \-help | \-h ]
.RB [ \-frenchcards ]
.RB [ \-french4cards ]
.RB [ \-germancards ]
.RB [ \-german4cards ]
.RB [ \-color ]
.RB [ \-mono ]
.RB [ \-color1
.IR color ]
.RB ".." " " [ \-color4
.IR color ]
.RB [ \-large ]
.RB [ \-small ]
.RB [ \-up ]
.RB [ \-down ]
.RB [ \-alt ]
.RB [ \-seq ]
.RB [ \-list | \-l
.IR file ]
.RB [ \-alist ]
.RB [ \-nlist ]
.RB [ \-tlist ]
.RB [ \-log
.IR file ]
.RB [ \-dolog ]
.RB [ \-nolog ]
.RB [ \-fmt ]
.RB [ \-unfmt ]
.RB [ \-game
.IR file ]
.RB [ \-briefmsg ]
.RB [ \-verbosemsg ]
.RB [ \-trickl2r ]
.RB [ \-notrickl2r ]
.RB [ \-lang
.IR language ]
.RB [ \-start
.IR player# ]
.RB [ \-s1
.IR number ]
.RB [ \-s2
.IR number ]
.RB [ \-s3
.IR number ]
.RB [ \-ramsch ]
.RB [ \-noramsch ]
.RB [ \-ramschonly ]
.RB [ \-sramsch ]
.RB [ \-nosramsch ]
.RB [ \-skattolast ]
.RB [ \-skattoloser ]
.RB [ \-kontra ]
.RB [ \-nokontra ]
.RB [ \-kontra18 ]
.RB [ \-bock ]
.RB [ \-nobock ]
.RB [ \-bockramsch ]
.RB [ \-bockevents
.IR number ]
.RB [ \-resumebock ]
.RB [ \-noresumebock ]
.RB [ \-spitze ]
.RB [ \-spitze2 ]
.RB [ \-nospitze ]
.RB [ \-revolution ]
.RB [ \-norevolution ]
.RB [ \-klopfen ]
.RB [ \-noklopfen ]
.RB [ \-schenken ]
.RB [ \-noschenken ]
.RB [ \-hint ]
.RB [ \-nohint ]
.RB [ \-newrules ]
.RB [ \-oldrules ]
.RB [ \-shortcut ]
.RB [ \-noshortcut ]
.RB [ \-askshortcut ]
.RB [ \-irc ]
.RB [ \-noirc ]
.RB [ \-irctelnet
.IR program ]
.RB [ \-ircserver
.IR hostname ]
.RB [ \-ircport
.IR number ]
.RB [ \-ircchannel
.IR name ]
.RB [ \-ircnick
.IR name ]
.RB [ \-ircuser
.IR name ]
.RB [ \-ircrealname
.IR name ]
.RB [ \-ircpos
.IR number ]
.RB [ \-irclog
.IR file ]
.RB [ \-irclogappend ]
.RB [ \-irclogoverwrite ]
.RB [ \-auto
.IR #ofgames ]
.RB [ \-opt
.IR file ]
.RB [ \-pk ]
.RI [ player\fB@\fIdisplay... ]
.SH DESCRIPTION
.B XSkat
lets you play the card game Skat
as defined by the official Skat Order.
.PP
Up to 3 players may be simulated by the computer.
.PP
After starting the game a mouse click or ESC/F1 will bring up a menu.
Other useful keys are: Space, Return, Tab, Cursor left/right/up/down.
The rest of the game controls should be fairly obvious.
.PP
An introduction to Skat can be found at
.br
http://www.xskat.de/xskat.html
.SH OPTIONS
In the following descriptions, the player starting
.B XSkat
is called player1.
.TP
.PD 0
.BI \-display " display name"
.TP
.PD 0
.BI \-geometry " geometry specification"
.TP
.PD 0
.BI \-font " font name" " \fR(default: 9x15 or 10x20)"
.TP
.PD 0
.B \-iconic
.TP
.PD 0
.BI \-title " window title"
.TP
.PD 0
.BI \-name " application resource name"
.TP
.PD 0
.BI \-fg " foreground color"
.TP
.PD
.BI \-bg " background color"
The usual X toolkit options.
.TP
.BI \-bt " color"
The color of dialog buttons.
.TP
.BI \-mark " color"
The color of the marks that indicate
.br
who is forehand (during bidding),
.br
who is the Soloist,
.br
which card the computer would play,
.br
or the keyboard focus
.br
(default: red or black).
.TP
.B \-3d
Use a 3D look for dialogs (default).
.TP
.B \-2d
Use the old, flat style (default on monochrome screens).
.TP
.BI \-3dtop " color"
The color used for the lines around the top and left sides of 3D buttons
(default: white).
.TP
.BI \-3dbot " color"
The color used for the lines around the bottom and right sides of 3D buttons
(default: black).
.TP
.BI \-mb " menu button"
The number of the mouse button that brings up the menu
(default: 0 = any button).
.TP
.BI \-keyboard " number"
Define how much of the user interface may be controlled by the keyboard.
The number has the following meaning:
.nf
.ne 3
0 : Nothing.
1 : More (default).
2 : Everything.
.fi
.TP
.BI \-tdelay " seconds"
Specifies how long the last trick will be visible.
A delay of more than 10 seconds means that the trick will be
removed after pressing a mouse button.
In multiplayer mode the largest specified value is used
(default: 0.7).
.TP
.BI \-fastdeal
Deal the cards without any time consuming animation.
.TP
.BI \-slowdeal
Deal the cards slowly (default).
.TP
.B \-help
Show a short help text.
.TP
.B \-frenchcards
Play with French suited cards.
.TP
.B \-french4cards
Change the colors of diamond and spade to orange and green,
so that the 4 suits have easily distinguishable colors (default).
.TP
.B \-germancards
Use German cards.
.TP
.B \-german4cards
Change the color of acorns to brown,
so that the 4 suits have easily distinguishable colors.
.TP
.B \-color
Use colored cards.
If there are not enough colors left, the number of colors used
to draw the cards will be reduced appropriately (default).
.TP
.B \-mono
Use b&w cards.
.TP
.BR \-color1 " .. " \-color4
Redefine the colors of the suits diamond, heart, spade and club.
Selecting
.B \-french4cards
overrides the colors for diamond and spade.
.TP
.BR \-large " and " \-small
Select the size of the main window (default: as large as possible).
.TP
.B \-down
Sort cards downwards (default).
.TP
.B \-up
Sort cards upwards.
.TP
.B \-alt
Sort cards in alternating order.
.TP
.B \-seq
Sort cards in sequential order (default).
.TP
.BI \-list " filename"
The file for saving/restoring the game list
(default: $HOME/.xskat.lst or ./xskat.lst if HOME isn't set.
For IRC games: .irc instead of .lst).
.TP
.B \-alist
Alternative form of listing.
.TP
.B \-nlist
Normal form of listing (default).
.TP
.B \-tlist
Listing with tournament scoring.
.TP
.BI \-log " filename"
Turn on automatic logging,
i.e. append logs of all games to
.I filename
(\- means stdout).
.TP
.B \-dolog
Turn on automatic logging
(default file: $HOME/.xskat.log or ./xskat.log).
.TP
.B \-nolog
Turn off automatic logging (default).
Logs of individual games may still be saved during the game.
.TP
.B \-fmt
Write formatted log files, i.e. use backspaces for underlining and boldface.
.TP
.B \-unfmt
Write unformatted log files (default).
.TP
.BI \-game " filename"
Read predefined games from
.I filename
(\- means stdin).
Not available for IRC play.
See also section FILES below.
.TP
.B \-briefmsg
Indicate who is forehand (during bidding) and who is the Soloist
by displaying a small mark on the back of the cards.
.TP
.B \-verbosemsg
Additionally print out everyones position and what is being played (default).
.TP
.B \-trickl2r
Put down the cards of a trick from left to right (default).
.TP
.B \-notrickl2r
Place the cards corresponding to the players positions.
.TP
.BI \-lang " language"
Currently available: English and German
(default: $LANG/$LANGUAGE is tried first. Then: see Imakefile/Makefile).
.TP
.BI \-start " number"
The player who starts dealing cards (default: 2).
.TP
.PD 0
.BI \-s1 " number"
.TP
.PD 0
.BI \-s2 " number"
.TP
.PD
.BI \-s3 " number"
Change the playing strenght of the computer players.
.br
.B s1
corresponds to the left computer in single player mode
or to the one and only computer in two player mode.
.br
.B s2
corresponds to the right computer in single player mode.
.br
.B s3
is only useful with
.BR \-auto .
.br
The number must be between \-4 (weak) and 0 (default).
.TP
.B \-ramsch
Play a game of Ramsch when all players pass.
.br
The following rules are currently implemented:
.br
The Skat remains face down until it goes to the winner of the last trick
(or to the loser of the game, s.b.).
The amount lost is the number of card points taken.
If two players tie for most card points, they both lose.
If all tie, the score is 0.
If one player takes no tricks (a virgin)
the amount lost by the loser is doubled.
Someone taking all the tricks (forced march) wins 120 points.
.TP
.B \-noramsch
Don't play Ramsch (default).
.TP
.B \-ramschonly
Play Ramsch each game.
.TP
.B \-sramsch
Play Schieberamsch instead of simple Ramsch.
.br
The rules are:
.br
Each player in turn, starting with Forehand, may pick up the Skat
and discard two cards face down.
It's not allowed to pass on jacks.
The score is doubled each time a player doesn't pick up the Skat.
.TP
.B \-nosramsch
Don't play Schieberamsch (default).
.TP
.B \-skattoloser
At the end of a Ramsch game the Skat is awarded to the loser(s).
This will increase the loss.
.TP
.B \-skattolast
The Skat goes to the winner of the last trick (default).
.TP
.B \-kontra
Allow opponents to say 'Kontra' which doubles the score of the game.
The Soloist may reply 'Re' to double the score again.
.TP
.B \-nokontra
Disallow Kontra (default).
.TP
.B \-kontra18
Only an opponent who said at least 18 may say 'Kontra'.
.TP
.B \-bock
Play a Bockround after some special event.
The score is doubled in the next 3 games.
If an event causing a new Bockround happens before the current Bockround
is over or several Bockround events happen at the same time,
the number of Bockrounds still to play is increased appropriately.
.TP
.B \-nobock
Don't play Bockrounds (default).
.TP
.B \-bockramsch
Play a round of compulsory Ramsch after each Bockround.
Before a game of Ramsch begins, each player in turn, starting with Forehand,
may declare to play Grand Hand instead.
After a Grand Hand the same player deals again
because this game does not count towards completing the Ramschround.
.TP
.BI \-bockevents " number"
Specify the events that cause a Bockround.
.nf
.ne 8
(1) A game is lost with 60 points.
(2) A successful Grand Hand.
(4) A successful Kontra (opponents win).
(8) A game with Kontra & Re.
(16) A player's score ends in 3 equal digits.
(32) A player's score is a multiple of 100.
(64) A game value of +72 or more.
(128) A game value of +96 or more.
.fi
Add up the numbers in parentheses to specify the
desired events (default: 0).
.br
Notes:
.br
A Kontra where the Soloist said Re but lost counts
as one event not two (events 4 and 8).
.br
To check a player's score, the current listing options of player1 are used
(events 16 and 32).
A score that is a multiple of 1000 counts as one event.
.br
The game value (events 64 and 128) is the normal value
without considering any doubling caused by Ramsch, Kontra or Bock.
.TP
.B \-resumebock
Resume unfinished Bockrounds after quitting and restarting
.BR XSkat .
The number of games to play is read from the game list file.
.TP
.B \-noresumebock
Don't resume Bockrounds (default).
.TP
.B \-spitze
Allow the Soloist to declare Spitze.
This means that the last trick must be made with the lowest trump
to win the game.
This will be indicated to the other players by displaying the lowest trump.
The game multiplier is increased by 1.
It's not allowed to say Spitze in a Grand with 4 jacks.
.TP
.B \-spitze2
Declaring Spitze increases the multiplier by 2.
.TP
.B \-nospitze
Don't allow Spitze (default).
.TP
.B \-revolution
Enable a special variation of Null ouvert.
After the Soloist's cards are exposed the opponents can look at
each other's cards and rearrange the cards between their two hands
in any way they wish before the start of the play.
Revolution is worth 92 points.
.TP
.B \-norevolution
Don't allow Revolution (default).
.TP
.B \-klopfen
During a Ramschround you may knock (klopfen) at the beginning of a game
to indicate that you think you won't lose.
This will double the score of the game.
Klopfen is not possible if you don't pick up the Skat
in Schieberamsch.
.TP
.B \-noklopfen
Don't allow Klopfen (default).
.TP
.B \-schenken
If the opponents decide at the start of the play that they cannot defeat
the Soloist, they can give up.
This is done by selecting Schenken from the main menu during the first trick
when it's your turn.
If the Soloist accepts, the score is as though the game was won simply.
The Soloist can insist on playing on, but in that case has to make
the opponents Schneider to win.
The score in this case is as for an announced Schneider
(the multiplier is increased by 2).
If the Soloist goes on the opponents can schenken again,
giving the Soloist the Schneider.
The Soloist can accept Schneider or insist on playing on for Schwarz.
.TP
.B \-noschenken
Don't allow Schenken (default).
.TP
.B \-hint
Put a mark over the card the computer would play.
.TP
.B \-nohint
Don't show computer hints (default).
.TP
.B \-newrules
Use the official rules of 01/01/1999:
.br
Lost Hand games count double.
.br
The Grand Ouvert multiplier is 24.
.br
(default)
.TP
.B \-oldrules
Lost Hand games count simple.
.br
The Grand Ouvert multiplier is 36.
.TP
.B \-shortcut
Always finish the game when the remaining tricks will all go to one side.
.TP
.B \-noshortcut
Play each trick.
.TP
.B \-askshortcut
Ask whether a shortcut should be taken (default).
.TP
.B \-irc
Play via Internet Relay Chat.
This option will establish a connection to an IRC server
where you can join other people for a game of Skat.
.br
How it works:
.br
Start
.B XSkat
from an xterm. Wait until the server has printed the welcome message.
You are now on channel #xskat where new games should be planned.
Everything you type into the xterm will be sent to everyone else
on this channel. After you have found one or two other players
and agreed upon the name of a new channel (say #xskat123),
you should type
.BR /join " #xskat123."
When all players are on the new channel,
exactly one player has to type
.BR /go " (or " /go2
if there are only 2 players) to start the game. Now you can play and talk.
.TP
.B \-noirc
Don't use IRC (default).
.TP
.BI \-irctelnet " program"
Specify the program that will be used to connect to the IRC server.
If you are sitting behind a firewall, a program like rtelnet must be used
and you may have to set $SOCKS_SERVER to the name
of your firewall host (default: telnet).
.TP
.BI \-ircserver " host-name"
Select an IRC server near you! (default: $IRCSERVER
or irc.fu-berlin.de, if not changed in the Imakefile/Makefile)
.TP
.BI \-ircport " number"
The port of the IRC server to connect to (default: $IRCPORT or 6667).
.TP
.BI \-ircchannel " name"
The channel to join initially (default: #xskat).
.TP
.BI \-ircnick " name"
Your IRC nickname. If your nick is already used by someone else,
a different nick will be generated automatically.
Some servers allow a nick length of 30, others limit it to 9 characters.
(default: $IRCNICK or $IRCUSER or $LOGNAME or xskatNNNN).
.TP
.BI \-ircuser " name"
Your user/login name. Note: most servers don't like faked user names
(default: $IRCUSER or $LOGNAME).
.TP
.BI \-ircrealname " name"
Your real name (default: $IRCNAME or the entry from the passwd file
or 'XSkat player').
.TP
.BI \-ircpos " number"
Select your position relative to the other players. Positions are numbered
clockwise 1, 2 and 3. Player 2 will start dealing
if not specified otherwise with
.BR \-start " or " /start .
If you don't specify your position or there is a conflict with someone
else's choice or you give an invalid number (3 in a 2 player game),
this will be fixed automatically. Choosing the right positions is
important if you want to continue with a saved game list
(default: 0 = I don't care).
.TP
.BI \-irclog " file"
Everything sent to or received from the IRC server is saved to this file
(\- means stdout).
It may be useful for debugging
(default: $HOME/.xskat.ilg or ./xskat.ilg).
.TP
.B \-irclogappend
Append output to the log file.
.TP
.B \-irclogoverwrite
Overwrite existing log file (default).
.TP
.B IRC commands:
.br
.BR /nick " name, " /nick
\- change or display your nickname.
.br
.B /who
\- is on the current channel ?
.br
.B /list, /list string
\- show all channels that match the word xskat or the specified string.
This will take some time on networks with a large number of channels.
Trying to stop the listing will terminate the program.
.br
.BR /pos " number \- see " \-ircpos .
.br
.B /bell
\- toggle the alarm bell. When on, the bell will ring each time someone
joins your channel or sends a message to you.
The bell is off initially.
.br
.B /quit
\- terminate
.BR XSkat .
.br
.B /sync
\- if messages get lost due to a net-split (or because someone left the
channel during play),
.B XSkat
will detect this and in most cases should be able to synchronize
automatically (within 30 seconds) after the connection is reestablished.
Typing
.B /sync
will try this immediately.
.br
.BR /quote " command args"
\- for those who know what they are doing.
.br
The following commands are only useful for the player
who will start the game by typing
.B /go
because that player will determine the rules of the game.
.br
.B /default
\- set the official rules.
.br
.B /ramsch, /sramsch, /skattoloser, /kontra, /bock, /resumebock,
.B /spitze, /revolution, /klopfen, /schenken, /oldrules,
.B /bockevents, /alist, /tlist, /start, /s1
\- change the rules of the game.
All of these require an argument (a number or True/False) just like
the resources with the same name.
.br
.B /rules
\- show the current rules to everyone on your channel.
.TP
.B Notes:
The version numbers of all participating programs must be equal.
.br
Most options cannot be changed during the game.
Options that can be changed are not saved to a file.
.br
The game list can only be cleared during bidding or when it's your turn
to play a card.
There is a different default game list for IRC games (see
.BR \-list ).
.br
It's possible to type into the xterm or the game window
(which is recommended),
but changing input sources in the middle of a line won't work.
.br
If you want better input line editing and a split screen try the program ssfe.
It is used like this: ssfe \-raw xskat \-irc
.br
You can omit
.B \-irc
when you specify any of the other IRC options.
.TP
.BI \-auto " #ofgames"
Three computers play the specified number of games without human interaction.
The resulting scores are printed.
.br
With this option, no resources are read,
and the game list is saved only if
.B \-list
is specified.
.TP
.BI \-opt " filename"
The file for saving/restoring all interactively changeable options
of all players
(default: $HOME/.xskat.opt or ./xskat.opt).
Command line options take precedence over
options specified in this file which in turn override
resource specifications.
This may be changed with the
.B useoptfile
resource.
.TP
.BI \-pk
If you want the computer to deal a Good Hand every time.
(as requested by Petra K.)
Alternatively, pressing F6 three times will result in
a Good Hand for the next game.
Does not work in multiplayer mode.
.TP
.IB player @ display
Specifies the display of the second and third player
(but is ignored for IRC games).
The
.IB player @
part may be omitted if the
.B alias
resource is set on
.IR display .
.SH RESOURCES
.PP
Command line options take precedence over resource specifications
for player1.
.TP
.B geometry, font, title, foreground, background
The usual X11 resources.
.TP
.B mark
(see
.BR \-mark ).
.TP
.B button
(used for 2D buttons, see
.BR \-bt ).
.TP
.B 3dbutton
(used for 3D buttons, see
.BR \-bt ,
default: a shade of gray).
.TP
.B 3dbackground
(used for 3D dialogs, see
.BR \-bg ,
default: a different shade of gray).
.TP
.B 3d
True or False (see
.BR \-3d " and " \-2d ).
.TP
.B 3dtop
(see
.BR \-3dtop ).
.TP
.B 3dbot
(see
.BR \-3dbot ).
.TP
.B menubutton
(see
.BR \-mb ).
.TP
.B keyboard
(see
.BR \-keyboard ).
.TP
.B tdelay
(see
.BR \-tdelay ).
.TP
.B fastdeal
True or False (see
.BR \-fastdeal " and " \-slowdeal ).(#)
.TP
.B cards
0, 1, 2 or 3 (see
.BR \-frenchcards ", " \-french4cards ", "
.BR \-germancards " and " \-german4cards ).
.TP
.B color
True or False (see
.BR \-color " and " \-mono ).
.TP
.B color1 .. color4
(see
.BR \-color1 " .. " \-color4 ).
.TP
.B large
True or False (see
.BR \-large " and " \-small ).
.TP
.B down
True or False (see
.BR \-down " and " \-up ).
.TP
.B alt
True or False (see
.BR \-alt " and " \-seq ).
.TP
.B list
(see
.BR \-list ).(#)
.TP
.B alist
True or False (see
.BR \-alist " and " \-nlist ).
.TP
.B tlist
True or False (see
.BR \-tlist " and " \-nlist ).
.TP
.B log
(see
.BR \-log ).(#)
.TP
.B dolog
True or False (see
.BR \-dolog " and " \-nolog ).(#)
.TP
.B formatted
True or False (see
.BR \-fmt " and " \-unfmt ).(#)
.TP
.B game
(see
.BR \-game ).(#)
.TP
.B briefmsg
True or False (see
.BR \-briefmsg " and " \-verbosemsg ).
.TP
.B trickl2r
True or False (see
.BR \-trickl2r " and " \-notrickl2r ).
.TP
.B language
(see
.BR \-lang ).
.TP
.B start
(see
.BR \-start ).(#)
.TP
.B s1, s2
(see
.BR \-s1 ", " \-s2 ).(#)
.TP
.B ramsch
0, 1 or 2 (see
.BR \-noramsch ", " \-ramsch " and " \-ramschonly ).(#)
.TP
.B sramsch
True or False (see
.BR \-sramsch " and " \-nosramsch ).(#)
.TP
.B skattoloser
True or False (see
.BR \-skattoloser " and " \-skattolast ).(#)
.TP
.B kontra
0, 1 or 2 (see
.BR \-nokontra ", " \-kontra " and " \-kontra18 ).(#)
.TP
.B bock
0, 1 or 2 (see
.BR \-nobock ", " \-bock " and " \-bockramsch ).(#)
.TP
.B bockevents
(see
.BR \-bockevents ).(#)
.TP
.B resumebock
True or False (see
.BR \-resumebock " and " \-noresumebock ).(#)
.TP
.B spitze
0, 1 or 2 (see
.BR \-nospitze ", " \-spitze " and " \-spitze2 ).(#)
.TP
.B revolution
True or False (see
.BR \-revolution " and " \-norevolution ).(#)
.TP
.B klopfen
True or False (see
.BR \-klopfen " and " \-noklopfen ).(#)
.TP
.B schenken
True or False (see
.BR \-schenken " and " \-noschenken ).(#)
.TP
.B hint
True or False (see
.BR \-hint " and " \-nohint ).
.TP
.B oldrules
True or False (see
.BR \-oldrules " and " \-newrules ).(#)
.TP
.B shortcut
0, 1 or 2 (see
.BR \-noshortcut ", " \-askshortcut " and " \-shortcut ).
.TP
.B irc
True or False (see
.BR \-irc " and " \-noirc ).(#)
.TP
.B irctelnet
(see
.BR \-irctelnet ).(#)
.TP
.B ircserver
(see
.BR \-ircserver ).(#)
.TP
.B ircport
(see
.BR \-ircport ).(#)
.TP
.B ircchannel
(see
.BR \-ircchannel ).(#)
.TP
.B ircnick
(see
.BR \-ircnick ).(#)
.TP
.B ircuser
(see
.BR \-ircuser ).(#)
.TP
.B ircrealname
(see
.BR \-ircrealname ).(#)
.TP
.B ircpos
(see
.BR \-ircpos ).(#)
.TP
.B irclist
(see
.BR \-list ).(#)
.TP
.B irclog
(see
.BR \-irclog ).(#)
.TP
.B irclogappend
True or False (see
.BR \-irclogappend " and " \-irclogoverwrite ).(#)
.TP
.B opt
(see
.BR \-opt ).(#)
.TP
.B useoptfile
True or False (default: False).
This is a resource for multiplayer mode (but not for IRC).
It is ignored for player1.
If set to True, the contents of the option file,
which is owned by player1,
are used.
This means that you may end up with someone else's preferred settings
if player1 used this file in a different multiplayer game.
.TP
.B alias
The player's real name (max. 2 words of 9 characters, default: $LOGNAME).
.PP
Only player1 may specify the resources marked with (#).
.PP
Filenames starting with ~/ are interpreted correctly if HOME is set.
.SH FILES
An example of a file specifying predefined games:
.nf
.ne 7
# The following block specifies the distribution
# of cards for player1, 2, 3 and Skat(0).
# A 10 K Q J 9 8 7
2 2 2 2 2 0 3 3 # Diamond
2 2 2 2 2 3 3 3 # Heart
1 1 1 1 1 3 3 3 # Spade
1 1 1 1 1 0 3 3 # Club
.ne 7
# The following is not the same game !
# Player numbers rotate 3 -> 2 -> 1 -> 3
# (and depend on the start option).
2 2 2 2 2 0 3 3
2 2 2 2 2 3 3 3
1 1 1 1 1 3 3 3
1 1 1 1 1 0 3 3
.ne 4
repeat
# Repeat the above games forever.
# The following lines take effect only
# when you delete the 'repeat'.
.ne 9
random_seed 123456 0 2
# Specifies the random number which determines
# card distribution for all following games.
# The second number lets you skip that many
# games in the sequence.
# The third (optional) number defines
# who will start dealing cards (see \-start).
# An additional L or R following this number will
# rotate the cards left or right.
.ne 3
# The random_seed will be shown in game logs
# to allow easy replay. Just type:
# echo random_seed 123456 0 2 | xskat -game -
.fi
.SH NOTES
There are no official rules for the variations Ramsch, Kontra, Bock,
Spitze, Revolution, Klopfen and Schenken.
.PP
If executing
.BR "xskat player@otherhost:0" " on " yourhost
gives an error message you could try the command
.BR "xhost yourhost" " on " otherhost
to grant
.B yourhost
access to
.BR otherhost "'s "
display.
.PP
If you replay a game with your own cards, it doesn't matter
whether 'Forehand changes' is set to 'yes' or 'no'.
.PP
Some versions of telnet have a bug, that prevents them from
reading input from a pipe correctly.
See README.IRC for a fix or put this into your ~/.telnetrc:
.nf
.ne 3
irc.fu-berlin.de
set echo off
set escape off
set rlogin off
set flushoutput off
set interrupt off
set quit off
set eof off
set erase off
set kill off
set lnext off
set susp off
set reprint off
set worderase off
set start off
set stop off
set forw1 off
set forw2 off
set ayt off
.fi
Leading blanks are important!
Change the irc server line appropriately.
.SH AUTHOR
Gunter Gerhardt
.PP
The latest version is always available at
.br
http://www.xskat.de/xskat.html
.nf
This program is free software; you can redistribute it freely.
Use it at your own risk; there is NO WARRANTY.
Redistribution of modified versions is permitted
provided that the following conditions are met:
1. All copyright & permission notices are preserved.
2.a) Only changes required for packaging or porting are made.
or
2.b) It is clearly stated who last changed the program.
The program is renamed or
the version number is of the form x.y.z,
where x.y is the version of the original program
and z is an arbitrary suffix.
Card images used with permission by
Spielkartenfabrik Altenburg GmbH, Marke ASS Altenburger
Leipziger Strasse 7, 04600 Altenburg, Germany
.fi
|