1
; AisleRiot - spider_three_decks.scm
2
; Copyright (C) 2005 Daniel Werner <dw@dur.ch>
4
; This program is free software: you can redistribute it and/or modify
5
; it under the terms of the GNU General Public License as published by
6
; the Free Software Foundation, either version 3 of the License, or
7
; (at your option) any later version.
9
; This program is distributed in the hope that it will be useful,
10
; but WITHOUT ANY WARRANTY; without even the implied warranty of
11
; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
; GNU General Public License for more details.
14
; You should have received a copy of the GNU General Public License
15
; along with this program. If not, see <http://www.gnu.org/licenses/>.
17
(use-modules (aisleriot interface) (aisleriot api))
19
(primitive-load-path "spider")
21
(define tableau '(13 14 15 16 17 18 19 20 21 22 23 24))
22
(define foundation '(1 2 3 4 5 6 7 8 9 10 11 12))
23
(define initial-deal '(13 14 15 16 17 18 19 20 21 22 23 24 13 14 15 16 17 18 19 20 21 22 23 24 13 14 15 16 17 18 19 20 21 22 23 24 13 14 15 16 17 18 19 20 21 22 23 24 13 14 15 16 17 18))
24
(define winning-score 144)
27
(define allow-empty-slots #t)
29
(define (make-standard-triple-deck)
31
(set! DECK (append (make-standard-deck-list-ace-high 2 club) (make-standard-deck-list-ace-high 2 club) (make-standard-deck-list-ace-high 2 club)))
32
(set! DECK (append (make-standard-deck-list-ace-low ace club) (make-standard-deck-list-ace-low ace club) (make-standard-deck-list-ace-low ace club))))
36
(initialize-playing-area)
37
(make-standard-triple-deck)
41
(add-normal-slot DECK)
43
(set! HORIZPOS (- HORIZPOS 0.09))
45
(set! HORIZPOS (- HORIZPOS 0.09))
47
(set! HORIZPOS (- HORIZPOS 0.09))
49
(set! HORIZPOS (- HORIZPOS 0.09))
51
(set! HORIZPOS (- HORIZPOS 0.09))
53
(set! HORIZPOS (- HORIZPOS 0.09))
55
(set! HORIZPOS (- HORIZPOS 0.09))
57
(set! HORIZPOS (- HORIZPOS 0.09))
59
(set! HORIZPOS (- HORIZPOS 0.09))
61
(set! HORIZPOS (- HORIZPOS 0.09))
63
(set! HORIZPOS (- HORIZPOS 0.09))
65
(add-carriage-return-slot)
66
(add-extended-slot '() down)
67
(add-extended-slot '() down)
68
(add-extended-slot '() down)
69
(add-extended-slot '() down)
70
(add-extended-slot '() down)
71
(add-extended-slot '() down)
72
(add-extended-slot '() down)
73
(add-extended-slot '() down)
74
(add-extended-slot '() down)
75
(add-extended-slot '() down)
76
(add-extended-slot '() down)
77
(add-extended-slot '() down)
84
(define (get-options) #f)
86
(define (apply-options options) #f)
88
(set-lambda! 'new-game new-game)
89
(set-lambda! 'get-options get-options)
90
(set-lambda! 'apply-options apply-options)