« first day    last day (18 days later) » 

08:20
@user You'll be glad to know I've taken your suggestion, if all bids are identical then none are considered the lowest and they just go ahead and poke.

The bad news is that it puts your bot squarely into second place.
 
3 hours later…
11:02
room topic changed to Nose Poker: Discussion space for Nose Poker challenge codegolf.stackexchange.com/questions/231681/… (no tags)
11:52
@thedefault. Well, that was not my best moment :p
That makes you win, but doesn't declare you the winner... that's interesting
@thedefault. Currently you win because you reach the same round as half_way, but you're still knocked out for having the lowest bid. Still winning because of the sort by hand then np, but out of the competition for Cowardice. I'll have to work that one out at some point
New winner: @nurator
12:14
but I haven't posted any answer yet? (does the controller secretly upload all my code somewhere? :) )
It’ll add you to the git repo. Its no secret, I’m sure its mentioned in the question
I don't understand (I don't see any code in the controller to upload my unposted code anywhere)
12:33
@AJFaraday I had a severe bug in my bot. I updated my answer, please upload it again :)
12:44
@Nurator It's uploading automatically, although the widget usually takes a while to catch up
@thedefault. I'm a little puzzled, I can't see your uploaded code.
because it isn't uploaded
That's right, it only grabs your code when it's uploaded to an answer
@AJFaraday then what did this message mean?
Ahhh, sorry, that was meant for 'user', that was my mistake.
@Nurator Sorry, but something seems to have gone wrong importing your answer, trying to fix it now
@Nurator It's in, but currently filing on round 2. I'm not sure what you've done, but I'm running the code in your answer
Ah cool that its uploaded automatically
I need to think a bit more about this bot, it seems :D
12:53
You were doing pretty well before you fixed it :p
Before, it was just "bid 100 every turN"
thats not really sophisticated :D
I revert it back to 100 each turn to win again to motivate other players, but I need to look at that in the editor
It seems like "lastscores" do not get saved properly, thus the inner for loop is never used
Or there was a sneaky i where it should have been a j...
Looks like it only sets lastscores on hand number 1
Oh wait, no, you're right, it sets it at the end, too
I fixed the loop parameter
Lets see what it does now :)
@nurator wins again ;)
Perfect :)
13:00
The automatic updating was supposed to be so it can be hands-off.
It's not really worked out that way :p
And its removing 100 again each turn... grr
You could simplify that strategy :p
as far as I understand, currently if you are at 1 NP, if you bid 1 NP you lose, but if you bid 10000, someone else also loses (because of cowardice). Is this a bug?
wait it looks like I don't understand (I didn't notice that Controller.declare and Ogre.declare are different)
There’s a little input sanitation going on there
If I recall, you can't bid lower than 1 or higher than your np
 
1 hour later…
14:22
New winner! @DobromirM
14:45
Is there a way to run the game locally?
@mousetail Yes, it's in the ticket. Under "getting the app" you can grab the code to run locally,
* put your client in a file in /src/clients/working,
* run `./get_answers` to import your bot from working (also the answers from StackExchange)
* Then you can just run `node script/play_game.js` to try it out
Thanks
No probs. Sorry it wasn't clear.
15:16
@RedwolfPrograms I think maybe your optimization thing needs to be optimised :p
15:34
I feel like if somebody uploaded malware, they'd probably get someone before the answer got deleted... in fact, doesn't the automated deploy run answers?
It does, after the checks named
but they don't add much security
So I've been told
Ideally I'd be able to detect something that looks like JSF*ck and cut that out. Not sure that'd be very trivial tho.
Perhaps a challenge for another day :p
it's almost impossible to detect that
Quite easy by eye :p
I suppose I could grab a few fragments like '![]+[]' or '!![]' and refuse those. I realise those /could/ be in legit answers... but I'd rather they weren't anyway
15:46
just replace these fragments with their actual value in normal JS. Or use something like jsfsck, jjencode or aaencode. Or use English variable names and normal code formatting. Or just use new Function directly, it isn't restricted (and can be obtained as (any function)['constructor']).
I mean, it would spoil the fun a bit, but I could just run it manually every now and again, when I've seen the questions aren't being ridiculous
answers*
 
1 hour later…
17:03
@AJFaraday Nice, thanks!
 
6 hours later…
22:58
Is IO allowed?

« first day    last day (18 days later) »