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-04-04 2:46


rmbOrder sel screenXY -> played:no
 -> t:(screenXY.selectPoint."id")
    c:[screenXY.screenToCell [1 1]]
    for [id@_] in sel u:units,id {
    -> as:(map unitTypes.? u."acts" |> strip ?."nonRMB")
    -> t&&(fnd (canAct u ? t) as).{a:ye?->[a t]} || (fnd (canAct u ? c) as).{a:ye?->[a c]}
       |> {[a t] -> order (a."dst"=:t) id
                 -> played||(unitSay "acknowledgement" id; played=:ye)}
    }

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