Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Post Code

Name: Anonymous 2011-03-04 21:33

One recurring complaint is that nobody talks about code on /prog/. So everyone write go and write some code, any code, that does something, anything, and post it. A small explanation wouldn't go amiss either.

Name: Anonymous 2011-03-14 12:09


feelInc u is
 -> for [src @xs] in is do xs.
      {["hp" v] -> !u.vars."hp"+v.{neg?->min ~1 v+u.vars."armor"; _->v}
      ;[n:!u.type.misc."resource" v] -> id:u.uid
         u.vars.n.{pos? -> [[id n ~v]@!nqs.src."+"] -> !u.vars.n+v
                  ;_    -> [@u.vars."kids" @!showUnits] -> u.vars."hp"=:0}
      ;[n v] -> !u.vars.n+v}
 -> u

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List