main(ac, av)
reg int ac;
@@ -49,8 +50,6 @@
/* NOTREACHED */
}
setbuf(stdout, _sobuf);
- Play = PLAYER;
- init_ui ();
# ifndef PROF
#ifdef sun
srandom(getpid());
@@ -60,6 +59,8 @@
# else
srand(0);
# endif
+ Play = random()&01 ? COMP : PLAYER;
+ init_ui ();
signal(SIGINT, rub);
for (;;) {
if (!restore || (Player[PLAYER].total >= 5000
@@ -73,7 +74,7 @@
do {
if (!restore)
- Handstart = Play = other(Handstart);
+ Handstart = other(Handstart);
if (!restore || On_exit) {
shuffle();
init();
@@ -123,9 +124,9 @@
* Routine to trap rubouts, and make sure they really want to
* quit.