Brahms
I can't start laughing
Karma: 725
Offline
Posts: 3801
I'm Johannes Brahms and I died in 1897
|
 |
« Reply #60 on: March 14, 2011, 12:49:32 PM » |
|
http://codepad.org/Lg3wHzAXGobbo corp presents the Tactical Abacus V0.2 CHANGELIST * Now correctly calculates remaining forces * Mutually Assured Destruction percentage is no longer a weird floating point error * Implemented Nag His Cod function (BETA)
|
|
|
Logged
|
Official unofficial WDG Minecraft Server: 
|
|
|
CruelCow
Unofficial Official Non-WDG WDG member
Karma: 1665
Offline
Gender: 
Posts: 5922
Move along. Nobody suspicious is here.
|
 |
« Reply #61 on: March 14, 2011, 12:54:57 PM » |
|
from __future__ import division
 Would you mind if I steal your code and try to get it running on google app engine?
|
|
|
Logged
|
|
|
|
Brahms
I can't start laughing
Karma: 725
Offline
Posts: 3801
I'm Johannes Brahms and I died in 1897
|
 |
« Reply #62 on: March 14, 2011, 12:57:16 PM » |
|
Go for it. I've no idea if it actually works correctly though...
|
|
|
Logged
|
Official unofficial WDG Minecraft Server: 
|
|
|
Brahms
I can't start laughing
Karma: 725
Offline
Posts: 3801
I'm Johannes Brahms and I died in 1897
|
 |
« Reply #63 on: March 14, 2011, 01:00:20 PM » |
|
It's pretty straightforward, the only vaguely complex bit is
result_set = set(resultlist) resultlist = list(result_set)
which is just a quick method to remove all duplicate array entries. Don't know how you do that in javascript. (Also don't really want to know)
|
|
|
Logged
|
Official unofficial WDG Minecraft Server: 
|
|
|
Brahms
I can't start laughing
Karma: 725
Offline
Posts: 3801
I'm Johannes Brahms and I died in 1897
|
 |
« Reply #64 on: March 14, 2011, 01:10:06 PM » |
|
Aaand.. looking at that I see that it doesn't calculate the odds correctly... whoops, so.. presenting Gobbo Corp Tactical Abacus V0.3: http://codepad.org/AKYqEMHeThe results from this look a bit better.. I'll check them properly this afternoon.
|
|
« Last Edit: March 14, 2011, 01:51:40 PM by Brahms »
|
Logged
|
Official unofficial WDG Minecraft Server: 
|
|
|
discordance
Karma: 417
Offline
Gender: 
Posts: 4933
Curious
|
 |
« Reply #65 on: March 14, 2011, 01:20:26 PM » |
|
lame i just realise to get the cheap dwarf walls you have to click their ability not upgrade in town. sooo much wasted. anyone got any yellow coins they can send me? i could upgrade a bunch with just a few
|
|
|
Logged
|
|
|
|
Mr Chug
Clan leader
   
Karma: 742
Offline
Gender: 
Posts: 2055
Any hole's a goal
|
 |
« Reply #66 on: March 14, 2011, 01:35:01 PM » |
|
Had a sweet plan to avoid my main fay town getting shafted by double-hitting stalkers, but forgot that units can't use their abilities straight away. Still got enough units to take it back, but that's a level of markets I won't see again for a while.
|
|
|
Logged
|
"In science one tries to tell people, in such a way as to be understood by everyone, something that no one ever knew before. In poetry, it's the exact opposite." - Paul Dirac
|
|
|
Brahms
I can't start laughing
Karma: 725
Offline
Posts: 3801
I'm Johannes Brahms and I died in 1897
|
 |
« Reply #67 on: March 14, 2011, 01:55:19 PM » |
|
Updated the tactical abacus again... by the way mode, a bunch of goblins just went straight through my hobgoblin defence and now they're heading for howling hill...
And yeah, I think the value of -x per hour is how heavily whatever is there gets reinforced. 150 strong troll army on my border.. reinforcing at 7 per hour now...
|
|
« Last Edit: March 14, 2011, 01:56:55 PM by Brahms »
|
Logged
|
Official unofficial WDG Minecraft Server: 
|
|
|
CruelCow
Unofficial Official Non-WDG WDG member
Karma: 1665
Offline
Gender: 
Posts: 5922
Move along. Nobody suspicious is here.
|
 |
« Reply #68 on: March 14, 2011, 02:05:07 PM » |
|
Yeah, mode might need help....he's getting hit from all sides
|
|
|
Logged
|
|
|
|
Brahms
I can't start laughing
Karma: 725
Offline
Posts: 3801
I'm Johannes Brahms and I died in 1897
|
 |
« Reply #69 on: March 14, 2011, 02:07:43 PM » |
|
I don't have any green coins or any way to get them.. I think Chug does though, or at least he has cities that can generate it.
|
|
|
Logged
|
Official unofficial WDG Minecraft Server: 
|
|
|
discordance
Karma: 417
Offline
Gender: 
Posts: 4933
Curious
|
 |
« Reply #70 on: March 14, 2011, 02:25:52 PM » |
|
i could use some coooooin. even 1 gold coin will help poor dwarves in northern africa build a wall to protect themselves against zombies. 2 Gold coins will help dwarves build walls in entire cities. Send your donations to the ailing dwarves today
|
|
|
Logged
|
|
|
|
CruelCow
Unofficial Official Non-WDG WDG member
Karma: 1665
Offline
Gender: 
Posts: 5922
Move along. Nobody suspicious is here.
|
 |
« Reply #71 on: March 14, 2011, 02:35:39 PM » |
|
Could you give me some blue in exchange?
|
|
|
Logged
|
|
|
|
discordance
Karma: 417
Offline
Gender: 
Posts: 4933
Curious
|
 |
« Reply #72 on: March 14, 2011, 02:45:35 PM » |
|
yes, ive got 15 blue
|
|
|
Logged
|
|
|
|
discordance
Karma: 417
Offline
Gender: 
Posts: 4933
Curious
|
 |
« Reply #73 on: March 14, 2011, 02:52:43 PM » |
|
yo b hidden clearing is going doooown, undead orks get 3 dice, so they gonna eat you
|
|
|
Logged
|
|
|
|
Brahms
I can't start laughing
Karma: 725
Offline
Posts: 3801
I'm Johannes Brahms and I died in 1897
|
 |
« Reply #74 on: March 14, 2011, 03:01:44 PM » |
|
Yeah I know. http://codepad.org/SCEtu5UnNew tactical abacus etc etc etc now compensates correctly for multiple die rolls and has a die modifier for if you're fighting against/are men/blighted men.
|
|
|
Logged
|
Official unofficial WDG Minecraft Server: 
|
|
|
|