Timeline for King of the Hill - Firefighters
Current License: CC BY-SA 3.0
44 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 4, 2015 at 19:42 | comment | added | horns | link. I changed it to run on python3, be compatible with windows, and added builtin tournament if called with no parameters. | |
Nov 4, 2015 at 14:24 | comment | added | Skyler | Yes, I would be interested in that. | |
Nov 4, 2015 at 13:32 | comment | added | horns | BTW, your controller code has some bugs in the environmental effects section, specifically in managing the spread of fire. Spreading fire can overwrite more intense fires, and sometimes fires just get stuck at 5. I rewrote some of the controller code in python3 for my personal testing, let me know if you'd like it. | |
Oct 19, 2015 at 19:38 | comment | added | Skyler | I am currently running bots in matches of 4, such that every bot is in a match with every other bot at least three times. The total score for a bot is the average of its score over all rounds it played in. | |
Oct 19, 2015 at 19:19 | comment | added | horns | What is the format of the tournament? | |
Oct 14, 2015 at 18:52 | history | edited | Skyler | CC BY-SA 3.0 |
Update rankings
|
Oct 10, 2015 at 5:13 | answer | added | DankMemes | timeline score: 0 | |
Oct 9, 2015 at 1:41 | answer | added | The_Basset_Hound | timeline score: 0 | |
Oct 8, 2015 at 18:33 | comment | added | Skyler | @kirbyfan64sos Should be fine. I'd just need to update Java on my Linux box, because Protector doesn't run on anything below 1.8. | |
Oct 8, 2015 at 17:31 | comment | added | kirbyfan64sos | Would an answer written in Felix be OK? It runs well on Linux... | |
Oct 8, 2015 at 17:10 | comment | added | Skyler |
Sure, the file structure is firefighters.py and bots/ , with all the bots in bots/ . Run with python firefighters.py bot1name bot2name bot3name bot4name .
|
|
Oct 8, 2015 at 17:00 | comment | added | thefistopher | @Skyler I'm having a little trouble getting the controller to work, every character is just standing still. Can you clarify how to run it/ what the file structure is? Thank you | |
Oct 8, 2015 at 12:34 | comment | added | Skyler | @Andrew Indeed. There was a bug in the controller which I fixed before I ran the last rounds, but forgot to update here - should be fixed now. | |
Oct 8, 2015 at 12:33 | history | edited | Skyler | CC BY-SA 3.0 |
update controller
|
Oct 8, 2015 at 6:45 | answer | added | Manuel Allenspach | timeline score: 2 | |
Oct 8, 2015 at 6:20 | comment | added | Manuel Allenspach | In the example, shouldn't the current position be (5,24)? | |
Oct 8, 2015 at 1:01 | answer | added | The Beanstalk | timeline score: 2 | |
Oct 8, 2015 at 0:39 | comment | added | Cave Johnson | I tried running the controller code but I got some weird output. The bot is outputting UBR (move up, burn right). It goes straight down as expected but the fire doesn't spread to the left until it reaches the bottom. I took a quick look at the code but couldn't see what is causing this. Is there a reason for it? | |
Oct 7, 2015 at 21:51 | answer | added | Conor O'Brien | timeline score: 2 | |
Oct 7, 2015 at 14:42 | comment | added | Skyler | @Andrew, PHP is fine as long as it can be run from the command line. The chain reaction continues until the round ends (unless stopped by water or ash). | |
Oct 7, 2015 at 13:12 | answer | added | TheNumberOne | timeline score: 1 | |
Oct 7, 2015 at 8:52 | comment | added | Ioannes | Does fire stop propagating at some point? Or the chain reaction of setting fire to adjacent cells goes on forever? | |
Oct 7, 2015 at 5:21 | comment | added | Cave Johnson | Is a PHP answer acceptable? | |
Oct 7, 2015 at 3:03 | history | edited | Skyler | CC BY-SA 3.0 |
Added Protector.
|
Oct 7, 2015 at 2:09 | history | edited | Skyler | CC BY-SA 3.0 |
Add results
|
Oct 7, 2015 at 1:28 | comment | added | The_Basset_Hound | Whoops, thought you meant 9 in each direction. Thanks. | |
Oct 7, 2015 at 1:24 | comment | added | Skyler | No, because it's centered on your bot; four spaces in each direction. | |
Oct 7, 2015 at 1:20 | comment | added | The_Basset_Hound | If your land is a 9 by 9 square, does the bot you control in the example have less land to start with than the others? | |
Oct 6, 2015 at 22:53 | answer | added | taixzo | timeline score: 2 | |
Oct 6, 2015 at 21:10 | answer | added | TheNumberOne | timeline score: 4 | |
Oct 6, 2015 at 19:49 | comment | added | Skyler | It's not provided. If you want to record it somehow, that is an option. Sitting on a fire to hide it is a valid strategy. | |
Oct 6, 2015 at 19:47 | answer | added | taixzo | timeline score: 5 | |
Oct 6, 2015 at 19:40 | comment | added | TheNumberOne | How do you tell the type of land under the bots? | |
Oct 6, 2015 at 19:23 | history | tweeted | twitter.com/StackCodeGolf/status/651477916304470020 | ||
Oct 6, 2015 at 18:52 | comment | added | Skyler | Your land is what was inside the 9x9 block area centered on where you started. All bots start the round at least 8 blocks from each other, so there is no overlap. | |
Oct 6, 2015 at 18:50 | comment | added | kaine | I don't understand one detail. What land is mine and what is yours? | |
Oct 6, 2015 at 17:54 | history | edited | Skyler | CC BY-SA 3.0 |
added 48 characters in body
|
Oct 6, 2015 at 17:48 | comment | added | Skyler | @recursive Direction is where you do the action. E.g. if you do SBR, you stay where you are and burn the cell to the right of you. | |
Oct 6, 2015 at 17:42 | comment | added | recursive | I understand Move and Action, but what does Direction do? | |
Oct 6, 2015 at 17:19 | comment | added | Skyler | Right. If you try to move past the edge, you just stand still. | |
Oct 6, 2015 at 17:10 | comment | added | Zgarb | The board doesn't wrap around at the edges, right? | |
Oct 6, 2015 at 17:07 | history | edited | Skyler | CC BY-SA 3.0 |
added 84 characters in body
|
Oct 6, 2015 at 16:56 | review | First posts | |||
Oct 6, 2015 at 19:19 | |||||
Oct 6, 2015 at 16:52 | history | asked | Skyler | CC BY-SA 3.0 |