Skip to content

Commit c1a2812

Browse files
committed
reduced network pole times while player is having
thier turn.
1 parent d4e6ea9 commit c1a2812

File tree

1 file changed

+17
-4
lines changed

1 file changed

+17
-4
lines changed

Client/Atari/FujiLlama.bas

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ poke 65,0
262262

263263

264264
' --------- Main program -----------------------------
265-
'POKE 731,0 ' Turn on keyclick
265+
POKE 731,255 ' Turn off keyclick
266266
TIMER
267267
WaitTime=Time
268268
@InitScreen
@@ -283,9 +283,18 @@ DO
283283
ENDIF
284284
@ReadKeyPresses
285285
UNTIL GameStatus(tablenumber)=3
286+
@readGameState
287+
@DrawGameState
286288
REPEAT ' loop until the round ends
287-
@readGameState
288-
@DrawGameState
289+
if playerStatus(PlayerIndex)=1 and Time>1500
290+
TIMER
291+
@readGameState
292+
@DrawGameState
293+
ENDIF
294+
if playerStatus(PlayerIndex)<>1
295+
@readGameState
296+
@DrawGameState
297+
ENDIF
289298
@ReadKeyPresses
290299
if GameStatus(tablenumber)=4 then @ShowResults
291300
UNTIL GameStatus(tablenumber)=5
@@ -463,7 +472,11 @@ PROC CheckVaildMove _move
463472
next b
464473
ENDIF
465474
Next a
466-
if Move$<>"" then @PlayMove
475+
if Move$<>""
476+
@PlayMove
477+
@readGameState
478+
@DrawGameState
479+
ENDIF
467480
ENDPROC
468481

469482
PROC ShowResults

0 commit comments

Comments
 (0)