summaryrefslogtreecommitdiffstats
path: root/games/fish/fish.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/fish/fish.c')
-rw-r--r--games/fish/fish.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/fish/fish.c b/games/fish/fish.c
index 79cdb51..3adf8fb 100644
--- a/games/fish/fish.c
+++ b/games/fish/fish.c
@@ -98,7 +98,7 @@ main(argc, argv)
}
printplayer(USER);
(void)printf("get to start.\n");
-
+
for (;;) {
move = usermove();
if (!comphand[move]) {
@@ -208,12 +208,12 @@ promove()
max = i;
break;
}
- while (++i < RANKS)
+ while (++i < RANKS)
if (comphand[i] != CARDS &&
comphand[i] > comphand[max])
max = i;
return(max);
- }
+ }
if (nrandom(1024) == 0723) {
for (i = 0; i < RANKS; ++i)
if (userhand[i] && comphand[i])
@@ -340,7 +340,7 @@ printhand(hand)
for (book = i = 0; i < RANKS; i++)
if (hand[i] < CARDS)
- for (j = hand[i]; --j >= 0;)
+ for (j = hand[i]; --j >= 0;)
PRC(i);
else
++book;
OpenPOWER on IntegriCloud