File: around.g

package info (click to toggle)
xconq 7.2.2-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 8,296 kB
  • ctags: 9,199
  • sloc: ansic: 107,849; sh: 2,108; perl: 2,057; makefile: 1,177; sed: 161; csh: 50; awk: 49; lisp: 39
file content (73 lines) | stat: -rw-r--r-- 1,135 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
;; This is a test of going around.

(include "standard")

(set see-all true)

(area 30 30)

(area (terrain
  (by-name
    (sea 0) (shallows 1) (swamp 2) (desert 3) (plains 4)
    (forest 5) (mountains 6) (ice 7) (road 8) (river 9))
  "10e20a"
  "10e20a"
  "10e20a"
  "10e20a"
  "10e20a"
  "10ea2e7ae9a"
  "10e3ae6a2e8a"
  "10e4ae5a3e7a"
  "10eae3ae4a4e6a"
  "10e2ae3ae3a5e5a"
  "10e3ae2ae3a6e4a"
  "11e2ae2ae3a7e3a"
  "a3e3a3ea3e2ae3a8e2a"
  "2a5ea2e6ae3a9ea"
  "3a5eae6ae3a10e"
  "4a4eae6ae3a10e"
  "5ae3ae6ae3a10e"
  "6a4e6ae3a10e"
  "7a3e6ae3a10e"
  "16ae3a10e"
  "16ae3a10e"
  "16ae3a10e"
  "16ae3a10e"
  "11ae4ae3a10e"
  "12ae3ae3a10e"
  "13a4e3a10e"
  "20a10e"
  "20a10e"
  "20a10e"
  "20a10e"
))

;; Limit to two players only.

(set sides-min 2)
(set sides-max 2)

;; Two sides, no special properties needed (?).

(side 1)

(side 2)

;;; (no player for one side?)

(infantry 6 15 1)
(troop-transport 11 19 1)

;; Two bases, one for each side.

(base 5 15 1)

(base 25 15 2)

(set synthesis-methods ())

;;; This motivates the AI to go chasing after the destination.

;(scorekeeper (do last-side-wins))

(add base point-value 1)