mirror of
https://github.com/PDP-10/its.git
synced 2026-01-11 23:53:12 +00:00
Keep the high score table in GAMES; ITSTER SCORES.
This commit is contained in:
parent
46900d3f2b
commit
1a3b859966
1
bin/games/itster.scores
Normal file
1
bin/games/itster.scores
Normal file
@ -0,0 +1 @@
|
||||
()
|
||||
@ -296,7 +296,7 @@
|
||||
(sleep tick-length))))
|
||||
|
||||
(defun update-scores (score)
|
||||
(let* ((f (open '(itster scores) 'in))
|
||||
(let* ((f (open '((dsk games) itster scores) 'in))
|
||||
;; Read old hall of fame.
|
||||
(scores (read f)))
|
||||
(close f)
|
||||
@ -336,6 +336,6 @@
|
||||
(car daytime) (cadr daytime) (caddr daytime))))
|
||||
scores)
|
||||
;; Save new hall of fame.
|
||||
(setf f (open '(itster scores) 'out))
|
||||
(setf f (open '((dsk games) itster scores) 'out))
|
||||
(print scores f)
|
||||
(close f)))
|
||||
Loading…
x
Reference in New Issue
Block a user