mirror of
https://github.com/PDP-10/its.git
synced 2026-01-26 12:12:12 +00:00
Keep the high score table in GAMES; ITSTER SCORES.
This commit is contained in:
committed by
Adam Sampson
parent
46900d3f2b
commit
1a3b859966
@@ -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)))
|
||||
Reference in New Issue
Block a user