Skip to main content
Logic Knight's user avatar
Logic Knight's user avatar
Logic Knight's user avatar
Logic Knight
  • Member for 10 years, 2 months
  • Last seen more than a month ago
  • Australia
revised
Short drawing programme
Golfed code down to 313 characters
Loading…
revised
Short drawing programme
Added ungolfed code and a sample picture
Loading…
answered
Loading…
revised
Treasure Hunting on a Deserted Island
Changed action decision code due to rule clarification
Loading…
comment
Treasure Hunting on a Deserted Island
If a servant returns to camp, can he deliver treasure found so far and then go out to search again on that same day?
answered
Loading…
comment
Treasure Hunting on a Deserted Island
Should your code $status[$i] eq 'A' ? 'S' : 'D'; be $status[$i] eq 'A' ? 'S' : 'N'; to meet the spec?
revised
Loading…
answered
Loading…
awarded
comment
Scriptbot Warz!
@Nate Thanks. I have changed the bot. You might want to make this clear in the rules. I might not be the only one that has misunderstood this.
revised
Scriptbot Warz!
Robots can be '1234' instead of '123'
Loading…
comment
Scriptbot Warz!
If robotA pushes robotB into a trap, is robotA credited with "damage dealt" points equal to the current health of robotB?
revised
Scriptbot Warz!
Fixed to PASS if needed (in light of rule clarification)
Loading…
comment
Scriptbot Warz!
Does the rule above During a turn, the Scriptbot is invoked repeatedly until their EP is spent, or a maximum of 11 times mean that if robotA is next to robotB, it can attack 10 (or 11) times and kill robotB? Put another way, if I have 5 health points left and I leave my robot within 5 spaces of another robot, that robot can move and kill my robot in one turn, before I could act?
answered
Loading…
awarded
awarded
comment
Generate Realistic Maps
The algorithm does meet that continuity rule you have cited but fails in other areas. Those isolated pixels are "holes" in the country where the background shows through. Because of this effect and others several countries in each run will not have all their pixels generated. Some countries miss out on most of their pixels. It does not meet all the rules as specified but I thought it was an interesting result. The algorithm would need significant work to generate a perfect map.
awarded