Log In  
Follow
metalaureate
Follow

Dad

Cart #tohabetijo-4 | 2020-12-10 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

P#84785 2020-11-28 04:45 ( Edited 2020-12-10 04:15)

Cart #irrigationsim1-18 | 2020-11-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

README

Simulate watering a lawn in a year of Denver, CO weather (from March 15th to October 15th).

PRESS X to water your lawn to maximize your lawn condition as efficiently as possible.

C: = Lawn Condition [% of lawn within health root zone moisture range] from 0 (bad) to 1 (good)

E: = Water Efficiency [% watering to ET], from 0 (bad) to 1 (good)

S: Score (one point for every day when Lawn Condition and Water Efficiency are good).

Dandelions will grow and multiply when lawn condition is poor.

Sprinkler heads are fully customizable in sprkl_config table: layout, precip rate, rotation speed, spray arc, spray distance, spray type.

Crop coefficient assumes 1.0. Different crop type landscapes and soil nutritional simulations coming soon!

P#84449 2020-11-18 22:05 ( Edited 2020-11-26 19:14)

Cart #spaceinvader0-8 | 2020-11-15 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

INSTRUCTIONS

X = fire main weapon. This can destroy both invaders and their bombs and mothership.

Z = fire particle beam, which takes time to charge up in top-left. This is ultra destructive but can only destroy invaders; not their bombs or mothership.

Arrow left or right to control ship

Invaders that dive-bomb are worth more.

A mothership will occasionally appear and respawn invaders. Shooting it down is worth max points.
When the mothership spawns new invaders, they take a few seconds to materialize; shooting them in that state is worth more.

As you progress through the levels, the mayhem increases and gets faster.

Of programming note: the Animations and Sprt functions implement a general-purpose system for animating sprites in a declarative way. Just specify the state transition in a table and call the Animation function with the object to animate, and it will automatically transition the object through the specified states, including looping and chaining.

P#84155 2020-11-12 15:22 ( Edited 2020-11-24 15:39)

Follow Lexaloffle:        
Generated 2022-01-17 21:50:12 | 0.087s | Q:16