diff options
author | elioat <hi@eli.li> | 2023-12-17 12:03:08 -0500 |
---|---|---|
committer | elioat <hi@eli.li> | 2023-12-17 12:03:08 -0500 |
commit | 5464c7fac60f5f98644d848a0cb2f4b949031146 (patch) | |
tree | 7bcc257bf9d9b30b75cc1b1d9a64d77f68ab3e18 | |
parent | 1e8ffde4a7545c22d7318b14fda633e84487fb9a (diff) | |
download | december-2023-5464c7fac60f5f98644d848a0cb2f4b949031146.tar.gz |
*
-rw-r--r-- | decker/game.deck | 42 | ||||
-rw-r--r-- | scratch/game.brev | 30 |
2 files changed, 49 insertions, 23 deletions
diff --git a/decker/game.deck b/decker/game.deck index 909ed03..533fdeb 100644 --- a/decker/game.deck +++ b/decker/game.deck @@ -10,11 +10,11 @@ script:"player.0" {widgets} name:{"type":"field","size":[100,20],"pos":[128,32],"value":"Luis"} label-name:{"type":"field","size":[100,20],"pos":[16,32],"locked":1,"font":"menu","show":"transparent","value":"Name"} -health:{"type":"field","size":[100,20],"pos":[128,60],"locked":1,"value":"40"} +health:{"type":"field","size":[100,20],"pos":[128,60],"locked":1,"value":"17"} label-health:{"type":"field","size":[100,20],"pos":[16,60],"locked":1,"font":"menu","show":"transparent","value":"Health"} -attack:{"type":"field","size":[100,20],"pos":[128,89],"locked":1,"value":"6"} +attack:{"type":"field","size":[100,20],"pos":[128,89],"locked":1,"value":"7"} label-attack:{"type":"field","size":[100,20],"pos":[16,89],"locked":1,"font":"menu","show":"transparent","value":"Attack"} -defense:{"type":"field","size":[100,20],"pos":[128,117],"locked":1,"value":"1"} +defense:{"type":"field","size":[100,20],"pos":[128,117],"locked":1,"value":"6"} label-defense:{"type":"field","size":[100,20],"pos":[16,117],"locked":1,"font":"menu","show":"transparent","value":"Defense"} generate:{"type":"button","size":[160,32],"pos":[42,148],"script":"player.1","text":"Generate","style":"rect"} @@ -32,11 +32,36 @@ on click do end {end} +{card:map} +image:"%%IMG2AgABVgD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/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gELDnoBBwA6ARAOjwEFAJcBDA53AQcAPwEODo0BBQCZAQwOdQEGAEMBDA6MAQUAmwENDnEBBgBHAQsOigEFAJ0BDQ5uAQcASQELDogBBQCfAQ4OagEHAEwBCw6GAQUAoQEODmgBBgBPAQsOhAEFAKMBEA5jAQYAUQEMDoIBBQCmAREOXgEHAFMBCw6BAQUAqAETDlkBBwBWAQsOfwEFAKsBFA5VAQYAWQELDn0BBgCsARgOTgEGAFwBCw57AQYAsAEcDkUBBwBeAQsOegEFALQBMQ4rAQcAYAELDnkBBQC4AUAOFwEHAGMBCw53AQUAvAE+DhQBBwBmAQsOdQEFAMIBOw4QAQcAaQELDnMBBQDKATUODgEGAGwBCg5yAQUA4wEeDgsBBgBuAQoOcQEFAPYBDg4HAQcAcAEKDm8BBQD4AQ8OAwEHAHMBCQ5tAQYA+wEVAHYBCA5sAQYA/QESAHgBCA5rAQUA/wABAQ8AegEIDmoBBQD/AAQBCwB9AQYOaQEGAP8ABwEHAH8BBg5oAQYA/wCNAQYOZwEGAP8AjwEGDmUBBwD/AI8BCQ5hAQcA/wCRAQwOWgEJAP8AkwEQDlIBCwD/AJUBFA5JAQ4A/wCXARcOQgEQAP8AmwEYDjoBEwD/AKABGA4xARUA/wCoAR0OIQEYAP8AsAFNAP8AuAFGAP8AvwE+AP8AxwE1AP8A1gElAP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AIs=" +{widgets} +town:{"type":"button","size":[60,20],"pos":[108,206],"script":"map.0","text":"Town"} +market:{"type":"button","size":[60,20],"pos":[383,86],"script":"map.1","text":"Market"} +fort:{"type":"button","size":[60,20],"pos":[270,246],"script":"map.2","text":"Fort"} + +{script:map.0} +on click do + go["town"] +end +{end} + +{script:map.1} +on click do + go["market"] +end +{end} + +{script:map.2} +on click do + go["fort"] +end +{end} + {card:combat} script:"combat.0" {widgets} -stats:{"type":"grid","size":[154,28],"pos":[30,287],"locked":1,"script":"combat.1","scrollbar":0,"lines":0,"format":"iii","value":{"health":["40"],"attack":["6"],"defense":["1"]},"row":0} -enemy:{"type":"grid","size":[154,28],"pos":[327,39],"locked":1,"script":"combat.1","scrollbar":0,"lines":0,"format":"iii","value":{"health":[5],"attack":[4],"defense":[1]},"row":0} +stats:{"type":"grid","size":[154,28],"pos":[30,287],"locked":1,"script":"combat.1","scrollbar":0,"lines":0,"format":"iii","value":{"health":["17"],"attack":["7"],"defense":["6"]},"row":0} +enemy:{"type":"grid","size":[154,28],"pos":[327,39],"locked":1,"script":"combat.1","scrollbar":0,"lines":0,"format":"iii","value":{"health":[3],"attack":[3],"defense":[2]},"row":0} rest:{"type":"button","size":[60,20],"pos":[421,295],"script":"combat.2","text":"Rest"} attack:{"type":"button","size":[60,20],"pos":[351,295],"script":"combat.3","text":"Attack"} defend:{"type":"button","size":[60,20],"pos":[421,267],"script":"combat.4","text":"Defend"} @@ -222,13 +247,6 @@ on click do end {end} -{card:map} -image:"%%IMG2AgABVgD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/ANkBLAD/ANEBTgD/AK4BVAD/AKkBWAD/AKUBXAD/AKIBFg4oASIA/wCeARUOSAEGAP8AmwETDk4BBQD/AJgBEg5SAQYA/wCUAREOVgEGAP8AkgEQDloBBQD/AI8BEA5dAQYA/wCLARAOYAEGAP8AiAEQDmQBBQD/AIUBEA5nAQUA/wCDARAOaQEGAP8AgAEPDmwBBgD/AH0BDw5wAQUA/wB7AQ4OcwEFAP8AeQENDnYBBgD/AHYBDQ54AQYA/wBzAQ4OewEFAP8AcQENDn4BBQD/AG4BDg6AAQYA/wBrAQ4OggEGAP8AaAEPDoUBBQD/AGYBDg6IAQUA/wBjAQ8Oig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egEIDmoBBQD/AAQBCwB9AQYOaQEGAP8ABwEHAH8BBg5oAQYA/wCNAQYOZwEGAP8AjwEGDmUBBwD/AI8BCQ5hAQcA/wCRAQwOWgEJAP8AkwEQDlIBCwD/AJUBFA5JAQ4A/wCXARcOQgEQAP8AmwEYDjoBEwD/AKABGA4xARUA/wCoAR0OIQEYAP8AsAFNAP8AuAFGAP8AvwE+AP8AxwE1AP8A1gElAP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AP8A/wD/AIs=" -{widgets} -town:{"type":"button","size":[60,20],"pos":[108,206],"text":"Travel"} -market:{"type":"button","size":[60,20],"pos":[383,86],"text":"Travel"} -fort:{"type":"button","size":[60,20],"pos":[270,246],"text":"Travel"} - {card:town} {card:fort} diff --git a/scratch/game.brev b/scratch/game.brev index 0768b62..5b46a72 100644 --- a/scratch/game.brev +++ b/scratch/game.brev @@ -1,4 +1,5 @@ (import brev mdg) +(import simple-loops) (define true #t) (define false #f) @@ -10,15 +11,22 @@ (define start-game "start game") (define game-over "game over") -(define (listner game-running) - (display " > ") - (define user-input (read)) - (if (string=? user-input "quit") - (set! game-running false) - (print user-input)) - game-running) +; (define (listner game-running) +; (display " > ") +; (define user-input (read)) +; (if (string=? user-input "quit") +; (set! game-running false) +; (print user-input)) +; game-running) -(let loop () - (if (eqv? game-running true) - (listner game-running)) - (loop)) \ No newline at end of file +; (let loop () +; (if (eqv? game-running true) +; (listner game-running)) +; (loop)) + +(let ((n 4) (lst '())) + (do-while (<= 0 n) + (set! lst (cons n lst)) + (set! n (- n 1))) + (print "n "n) + lst) \ No newline at end of file |