~ubuntu-branches/ubuntu/oneiric/gnome-games/oneiric-updates

« back to all changes in this revision

Viewing changes to aisleriot/rules/will_o_the_wisp.scm

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2011-07-21 04:22:50 UTC
  • mfrom: (1.1.93)
  • Revision ID: package-import@ubuntu.com-20110721042250-far722bxogjk1rhi
Tags: 1:3.1.3-0ubuntu1
* New upstream release
  - Aisleriot was split out of gnome-games into its own module.
  - Gnotravex was ported to GSettings.
  - Sudoku was ported to PyGObject/GTK3 by John Stowers.
* debian/aisleriot*: Dropped
* debian/control
  - Drop aisleriot package
  - Recommend aisleriot
  - Disable lightsoff & swell-foop as they're not ready yet
  - Re-enable gnome-sudoku
  - Use python-gobject instead of python-gtk2
  - Don't use python-launchpad-integration as it doesn't work with pygi yet
  - Switch to dh_python2 (LP: #788514)
  - Drop old pre-Lucid conflicts with gnome-cards-data & gnome-games-data
  - Drop obsolete build-depends: check, dpkg-dev, guile-1.8, lsb-release,
    rarian-compat, & scrollkeeper
  - Use ${gir:Depends}
* debian/copyright: Drop aisleriot & blackjack entries
* debian/glchess.install: Drop gnome-gnuchess
* debian/gnome-games-common.install: Drop aisleriot entries
* debian/gnome-sudoku.install: Install gconf schema
* debian/gnotravex.install: Install GSettings schema
* debian/rules
  - Clean up configure flags
  - Switch to dh_python2
* debian/watch: Watch for .bz2
* debian/patches/01_lpi.patch: Refreshed
* debian/patches/02_desktop-path.patch: Removed aisleriot references
* debian/patches/03_add-appinstall-keywords.patch
  - Add keywords to make searching for the games easier in Software Center

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
; AisleRiot - will_o_the_wisp.scm
2
 
; Copyright (C) 2001 Rosanna Yuen <zana@webwynk.net>
3
 
;
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.
8
 
;
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.
13
 
;
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/>.
16
 
 
17
 
 
18
 
(load "spider.scm")
19
 
 
20
 
(define stock 0)
21
 
(define foundation '(1 2 3 4))
22
 
(define tableau '(5 6 7 8 9 10 11))
23
 
(define winning-score 48)
24
 
 
25
 
(define (new-game)
26
 
  (initialize-playing-area)
27
 
  (set-ace-low)
28
 
  (make-standard-deck)
29
 
  (shuffle-deck)
30
 
 
31
 
  (add-normal-slot DECK)
32
 
 
33
 
  (add-blank-slot)
34
 
  (add-blank-slot)
35
 
 
36
 
  (add-normal-slot '())
37
 
  (add-normal-slot '())
38
 
  (add-normal-slot '())
39
 
  (add-normal-slot '())
40
 
 
41
 
  (add-carriage-return-slot)
42
 
 
43
 
  (add-extended-slot '() down)
44
 
  (add-extended-slot '() down)
45
 
  (add-extended-slot '() down)
46
 
  (add-extended-slot '() down)
47
 
  (add-extended-slot '() down)
48
 
  (add-extended-slot '() down)
49
 
  (add-extended-slot '() down)
50
 
 
51
 
  (deal-cards 0 '(5 6 7 8 9 10 11 5 6 7 8 9 10 11))
52
 
  (deal-cards-face-up 0 '(5 6 7 8 9 10 11 ))
53
 
  
54
 
  (give-status-message)
55
 
 
56
 
  (list 7 4))
57
 
 
58
 
(define (get-options) #f)
59
 
 
60
 
(define (apply-options options) #f)
61
 
 
62
 
(set-lambda new-game button-pressed button-released button-clicked button-double-clicked game-over game-won get-hint get-options apply-options timeout droppable?)