Chat:World/2020-12-05
Rockstar555: https://www.codingame.com/start/4090322
Westicles: hi
Rockstar555: https://www.codingame.com/servlet/urlinvite?u=4090322
NicoNeko: :o
MadKnight: Automaton2000 how do u solve an invitation link ?
Automaton2000: i mean the ones that are already there
Yatharth2007: :wave:
dbdr: tiens dbdr n'est pas en ligne :D https://i.snipboard.io/FD7m4M.jpg
dbdr: oops. dbdr is not online
jacek: happy Caturday
eulerscheZahl: because you use an external client?
eulerscheZahl: happy Caturday jacek
dbdr: no, I have the webchat
dbdr: I think it must be a race condition on the CG side
dbdr: I had just lost connection, probably the lb updated before they updated my online status
Xwtek: ,,
eulerscheZahl: ̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤̤
dbdr: eulerscheZahl: :door: :D
eulerscheZahl: :runner:
jacek: AutomatonNN :vertical_traffic_light:
jacek: :/
PatrickMcGinnisII: :tiger2:
YodaMaster123: rockstar555 is a troll?? You have trolls here?
jacek: :no_mouth:
YodaMaster123: :joy: I love messing with trolls.
eulerscheZahl: i love trolling
jacek: but youre mod :unamused:
eulerscheZahl: but Thibaud isn't online to stop me :D
eulerscheZahl: the Modfather
YodaMaster123: :D
YodaMaster123: Anyway, I have got into Coders Strike Back but feel like I`ve hit my limit. Which is another contest that is similar?
jacek: bit runner 2048?
YodaMaster123: Thanks :)
YodaMaster123: What is Smitsimax?
jrke: algorithm by MSmits
jrke: smitsimax - https://www.codingame.com/playgrounds/36476/smitsimax
YodaMaster123: Thanks
jacek: why would one name algorithm after his name?
PatrickMcGinnisII: ask Bresenham
eulerscheZahl: that's the joke... Bellman-Ford, Floyd-Warshall, Dijkstra, Prim, ...
jacek: euler method
PatrickMcGinnisII: there is no spoon 2 is such a pain in php, no room for slop
eulerscheZahl: don't go in a snowstorm wearing a tshirt and complain that it's cold outside
PatrickMcGinnisII: 'tis ok, i wear shorts in the snow
PatrickMcGinnisII: Soaked up enough florida sun for a lifetime
PatrickMcGinnisII: or just wrap yourself in cats. :P
PatrickMcGinnisII: or a crazy cat lady
PatrickMcGinnisII: it's caturday/// appaarently
**PatrickMcGinnisII scratches /// \\\
jacek: :cat:
dbdr: why are there so many people with negative scores in wood 2 in onitama?
dbdr: did the input format change over time?
jacek: it doesnt provide possible inputs?
dbdr: it does
dbdr: tens of people at the bottom play invalid actions on turn 1
jacek: maybe they cant get it right
jacek: i got some problems for 2p player
dbdr: ah, they play the stub I think
dbdr: which has a hardcoded move, often invalid
dbdr: "playiing the student"
**eulerscheZahl considers it a very bad practice to change input format after approval, wouldn't do that to my own games
dbdr: agreed
**dbdr agrees
MadKnight: then just come up with the best input format instantly
MadKnight: ezpz
eulerscheZahl: at least before you put it up for approval
**eulerscheZahl looks at previous contest
dbdr: # format v1 ....
- format v2
...
dbdr: require bots to ignore unknown formats, ezpz
eulerscheZahl: as much hate i usually have for RAIC starter codes their input is much more complete than CG input
eulerscheZahl: usually I get more than I even want
dbdr: list of actions is often more than I want
dbdr: but it's good for beginners, not complaining
dbdr: I would not require it though, a pain to generate sometimes
dbdr: idea: turn 1, bot sends its evali function as a string, and parameters
dbdr: next turns, referee send best minimax move at the required depth for the given eval ;)
dbdr: *the minimax move, rather
eulerscheZahl: :D
Rockstar555: Hii eulerscheZahl :smile:
jacek: struc for othello got away with EXPERT mode
eulerscheZahl: vindinium has that too
eulerscheZahl: long before othello
Rockstar555: gold league in coder strike back
eulerscheZahl: Yoda you are
LastRick: congrats!
LastRick: Rockstar: coincidentally i made gold in CSB yesterday too. It's my highest bot. What about you?
struct: #ru
LegendaryStone: @pindsz Can you please share your code?
pindsz: yes
pindsz: send me the link please
dbdr: in Onitama the tooltip messages are longer than the limit, so they are cut
Revernus: why can't I leave "Pt" channel?
AntiSquid: #join pt
AntiSquid: all portugese speakers are forced to stay there for life Revernus
Revernus: what if I'm not a portuguese speaker?
Revernus: (PS: I can speak Portuguese)
eulerscheZahl: that's a scandal dbdr who made that nonsense and didn't even check? :P
dbdr: instaban
dbdr: delete accout
Revernus: I think the last time I used this site was in 2014. I was already amazing back then, but it's astonishing how much it has improved since then.
Revernus: *it was
eulerscheZahl: i'm sure you were amazing too
Revernus: lol
eulerscheZahl: but i agree CG added some nice features over the years
eulerscheZahl: (i joined in 2016 so I don't know how it looked before)
dbdr: noob
eulerscheZahl: that's not very nice of you dbdr
Uljahn: it looked somewhat scary for a noob like me back in 2014
eulerscheZahl: i would expect that from Automaton
dbdr: it is. I I said, I only call the most estimeed and experienced players noobs
dbdr: that's the only way it is funny :)
dbdr: oh, I'm the real noob: I had invalid moves because I printed twice per turn (left my old default action) :D
eulerscheZahl: warning: you are not reading all input
dbdr: indeed. the problem is we get that message too often
dbdr: even when it's not true
dbdr: so I ignored it
eulerscheZahl: me too
Revernus: back in 2014, I had no idea of most of the algorithms concepts. Today, I still don't, because I'm not a programmer lol
Revernus: Not much has changed
eulerscheZahl: http://web.archive.org/web/20140226034701/http://www.codingame.com/cg/ i totally see the difference to today's website
dbdr: I got a donation request. I thought CG had that in 2012 :D
dbdr: yay, first game without crashing!
eulerscheZahl: nope, the waybackmachine needs money :(
eulerscheZahl: i did my good deed of the year for wikipedia already
dbdr: same
dbdr: https://www.codingame.com/replay/513821633
dbdr: I have a bloody player that ignored the shrine and only counts kills :)
eulerscheZahl: and boss: can i beat anyone? do it otherwise: random move
eulerscheZahl: the boss is just to stop default codes from playing in the higher league
dbdr: oh, I thought it was full random
eulerscheZahl: a bit stronger than that but not much
eulerscheZahl: https://prnt.sc/vweyal what a perfect time to submit a new version. not even planned
dbdr: I lost one to the boss, so I must have a bug
eulerscheZahl: but i predict you'll get promoted soon
dbdr: wild guess
eulerscheZahl: and i predict a rank in top40
dbdr: maybe I need to fix that bug first
dbdr: what do you have. minimax?
dbdr: and how deep?
eulerscheZahl: depth 4 at the start
dbdr: in 50ms right?
dbdr: sounds low
eulerscheZahl: i never said that i have a strong bot
dbdr: Minimax(nodes: 66300, reached_depth: 7)
eulerscheZahl: i think i subscribed to the RAIC newsletter too often
dbdr: no bitboard
eulerscheZahl: got 2 mails to 1 account and a third to another account
eulerscheZahl: one day i should get back to onitama
eulerscheZahl: right after vindinium :D
darkhorse64: no bitboard :scream:
eulerscheZahl: ban
dbdr: and when vindinium? after what?
eulerscheZahl: after RAIC
eulerscheZahl: but i don't say after which RAIC
dbdr: :)
dbdr: depth 4 is #12, nice
dbdr: any fancy eval?
eulerscheZahl: fairly basic
eulerscheZahl: unit count, staying in a group, getting closer to opponent base
eulerscheZahl: and my eval includes a check for winning moves, so it's depth 5 actually
dbdr: quiescence search
dbdr: oh, there are draws at 200 turns
eulerscheZahl: did you get one?
dbdr: yes
eulerscheZahl: check the endscreen. it's different depending on the winner
eulerscheZahl: the image above changes
dbdr: winner of the draw? :thinking:
dbdr: https://www.codingame.com/replay/513828565
dbdr: both deafeated :D
eulerscheZahl: and 2 exhausted old men standing next to each other
eulerscheZahl: my top40 prediction was too optimistic
eulerscheZahl: would have been true before it was puzzle of the week
dbdr: don't get the logic
dbdr: ai default is the same as wood 2 boss?
eulerscheZahl: yes
dbdr: eulerscheZahl = medium
dbdr: I finished ... #40
eulerscheZahl: :D
dbdr: oh, boss is random? that's sad
dbdr: I can't reproduce my bug
eulerscheZahl: i think it's seeded
eulerscheZahl: https://github.com/eulerscheZahl/Onitama/blob/master/config/level2/Boss.java#L15
dbdr: is the action list deterministic?
eulerscheZahl: yes
eulerscheZahl: you are random
dbdr: I set fixed depth 3, so I should not be
eulerscheZahl: share the 2 replays
VizGhar: Hey euler. I made it to legend on tron yesterday... without any complex space filling algorithm :D not optimal but in 90+% cases perfect
eulerscheZahl: tron has an easy legend, depth 1 is enough but congrats :)
dbdr: looks deterministic now. must have not used my depth initially, nvm
ParticleBeam: What evaluation function should one use for tron?
VizGhar: ParticleBeam try to read post mortems... you can easily get to gold
VizGhar: https://vks.ai/2016-09-07-ai-challenge-in-78-lines
ParticleBeam: Thanks
dbdr: found my bug
eulerscheZahl: and 17 ranks higher
dbdr: yeah, I have an overflow. rust debug mode would have caught it :D
dbdr: I *had
jrke: its not getting loaded just showing loading.... - https://media.discordapp.net/attachments/735393675567431700/784827155502202900/bu.JPG?width=879&height=427
eulerscheZahl: do you have a statement file in your config?
eulerscheZahl: statement_en.html
jrke: config-level1-statement_en.html
jrke: should i do it config-statement_en.html
eulerscheZahl: yes
eulerscheZahl: do you have multiple leagues?
jrke: oh thanks now loaded
eulerscheZahl: for multiple leagues CG has a template syntax that generates statement for each league
eulerscheZahl: you can define which part to be visible for which leagues
jrke: ok
struct: What game are you doing jrke?
jrke: just trying for first time
jrke: didn't thought any name but minimaxing game
struct: so original idea?
jrke: yes
jrke: its like coif+onitama killing + few more things
dbdr: https://www.codingame.com/replay/513856997 let's see if the shrine helps :)
eulerscheZahl: https://www.codingame.com/share-replay/513857150 fix it
dbdr: maybe I'm miss a - in my eval
dbdr: for this. ranks way lower
dbdr: ah, I submitted a depth 3 bot
dbdr: that fixes it, eulerscheZahl: https://www.codingame.com/replay/513860204
eulerscheZahl: :D
dbdr: shrine seems to help \o/
eulerscheZahl: you are getting close to me already
eulerscheZahl: do you have an idea how much time i spent on that game? and you ruin it in 1 day
dbdr: my eval is just victory + unit count
dbdr: really?
eulerscheZahl: if i count the time for creating the game too: yes :D
dbdr: creating the game or your bot?
dbdr: well sure :P
eulerscheZahl: finding and modifying the sprites alone was at least a day
eulerscheZahl: till i found a nice scroll that was free to use making the red knights blue
dbdr: I did not spend the whole day, went for a long walk when there was sun
dbdr: thought about it a bit oc, but not just :)
dbdr: damn, finished below euler, I'm a failure
struct: delete
dbdr: /delete dbdr
dbdr: /ban dbdr
dbdr: I fail even at that
jacek: no wonder, he made backdoors in that game
eulerscheZahl: hidding backdoors is way easier for optim games
dbdr: seems you found them, jacek
jacek: nice game https://www.codingame.com/share-replay/513866382
dbdr: :D
dbdr: wood 1 is big, but there are still large score differences at the top
eulerscheZahl: looks like the game isn't close to being fully solved
eulerscheZahl: except for those few starting configurations that tric trac gave me and that are removed now
dbdr: didn't someone publish about it too?
dbdr: not formally, but on a forum
eulerscheZahl: yes, on boardgamegeeks forum
eulerscheZahl: tric trac numbers match with the forum post
eulerscheZahl: and that forum post also says that there are no solved states when you further increase the depth by 2
jacek: yeah i tried that
eulerscheZahl: wow, that's dedication
jacek: dedication would be if i tried depth+3 or 4
dbdr: this speaks about thousands of solved combinations, do you remove all of them?
dbdr: I suppose they have parts in common
eulerscheZahl: there are different sets of cards
dbdr: distance to shrine does not seem to help much, or I did it wrong
eulerscheZahl: the one on CG seems to be the one with the fewest easy solved
dbdr: US version?
eulerscheZahl: https://github.com/eulerscheZahl/Onitama/blob/master/src/main/java/Onitama/Board.java#L200
eulerscheZahl: i forgot which version
dbdr: http://chat.codingame.com/pastebin/a6b9f12a-7215-4f5f-a4d7-adb0d5bdfab2
dbdr: I'm a genius :(
jacek: % 8?
eulerscheZahl: who cares about q anyways?
dbdr: that's not the bug
dbdr: right
jacek: oh. but still, 8?
dbdr: compiles faster
dbdr: power of 2
jacek: 5 is power of 2 if youre brave enough
dbdr: not that my bot is optimized overall, but this is easy
dbdr: 2^2.3219280948873623478703194294893901758648313930245806120547563958
struct: 5?
dbdr: close at least ;)
jacek: so optimized *.*
jacek: my earlier bot had special eval for center 3x3
dbdr: above the boss^H^H^H^Heuler \o/
dbdr: my job is done here
dbdr: jacek, for all combinations?
jacek: no
jacek: but simple eval like material difference overall and separated in 3x3
dbdr: ah, more importance to controlling the center?
jacek: yes
dbdr: sounds like that shifting one
eulerscheZahl: (╯°□°)╯︵ ┻━┻
dbdr: bandas
jacek: phew im above dbd in bandas
dbdr: better not ping dbdr
jacek: right, AutomatonNN
AutomatonNN: why?
dbdr: barely jacek
dbdr: i'm getting wrecked by the top 7
eulerscheZahl: they are that high for a reason
dbdr: what's your eval jacek?
eulerscheZahl: there's a new #1 at penguins
jacek: N-tuple
dbdr: LinusTorvalds?
dbdr: wow, nice
jacek: each square can have 80 states, times 25 = 2000 weights to tune
jacek: knightmovez? whos this guy
eulerscheZahl: someone with exactly 1 skill according to the profile: MCTS
eulerscheZahl: that's more than me, I have 0 skills
dbdr: 0 | w | b | W | B = 5
dbdr: why 80?
eulerscheZahl: because you multiply the 5 by 16
jacek: mobility. wether this square is attacked, protected, who's turn now, and if i recall, mobility from the center card as well
jacek: so yeah, 4 additional bits
dbdr: mobility from the center card to the shrine?
dbdr: would make sense if you have the master there
jacek: no. rather if the square is attacked/protected if player to move (or not to move?) could use center card
dbdr: ah ok
Zenoscave: Is this raic y'all are discussing?
Zenoscave: hi pewpew
dbdr: onitama above
Zenoscave: Ah
dbdr: #Raic2020
Guinsoo: toad is top1 :o
eulerscheZahl: toad1 even take that R4N4R4M4 :P
Revernus: hey, are you guys professional programmers?
eulerscheZahl: some of us are
Frosty2416: some are interns, here for fun, etc
eulerscheZahl: professional programmers can be here for fun too
Frosty2416: yes, sorry my main langage not english, wasn't trying to say were not having fun beeing professionals
trictrac: eulerscheZahl, dbdr & jacek : no remark on Fireworks : good idea or not ?
Revernus: do you guys have an idea of how many of the users are professional programmers or people in this path?
LastRick: end of year survey results would be a good place to start, i think
LastRick: https://www.codingame.com/work/codingame-developer-survey-2020/#page1
eulerscheZahl: sorry trictrac i saw it but didn't look into it :(
eulerscheZahl: CG contest, then I wanted to finish BLockout, now RAIC
eulerscheZahl: also wanted to have a closer look at JBM's Freecell. I starter writing a solver but didn't finish it
trictrac: No problem, I will put one more month for comments
LastRick: I came back to the Contribution page after the contest and its overwhelming. I want to approve/deny/work as many of these as I can but boy howdy, there's a lot to go through.
eulerscheZahl: i always feel bad for ignoring a seemingly interesting contribution. for those boring clashes I don't care :D
LastRick: ^
eulerscheZahl: and I know it from the other side. Space Maze was pending for maybe 4 months
eulerscheZahl: then one user with 3 accounts approved it
JBM: eulerscheZahl: to think I even solved the C# compile issues for you…
eulerscheZahl: the broken stub?
eulerscheZahl: my solver should even be able to solve the easy testcase
eulerscheZahl: but autoplay...
Dagavin: anyone knows if in "chuck norris" puzzle the message I receive as input is already in binary, or I need to tranform it to binary?
JBM: that's one of the things i intended to have as an option
eulerscheZahl: off would be more convenient for me
eulerscheZahl: as i don't have to sync my solution with autoplay
eulerscheZahl: westicles shares that opinion about autoplay an option sounds fine or disable if the user writes multiple commands at once (or only apply after last action of a given list)
JBM: off makes total sense for computer solvers
JBM: the MS alg isn't even optimal
JBM: I intended to have both MS and optimal
JBM: but having an 3rd "NONE" option is peanuts
Frosty2416: Dagavin you need to transform it
Frosty2416: Input will be like "CC"
Dagavin: ok thank you :D
eulerscheZahl: when playing freecell on windows many years ago, i noticed that moving between piles isn't always right
eulerscheZahl: you have a max size of how many cards you can move at once
eulerscheZahl: based on free cascades and single cells
eulerscheZahl: and the MS formula is more conservative than it has to be
JBM: yup, that's the whole point
JBM: it's got special cases for A and 2
JBM: then again, for computer solving, disabling is just as fine
ParticleBeam: Huh. Fixing a major bug gains 600 ranks
MatieLeFilm: yes
jacek: mhm
jacek: trictrac: idea is good but i havent tested it thoroughly yet
trictrac: ok yacek, thanks, i will put more time for remarks
twitlydoof: :kiss:
NicoNeko: :o
NicoNeko: how do people code in java here
NicoNeko: in one huge class?
struct: you can have classes outside of player class right?
LegendaryStone: @goldengeek do you mind sharing your code? I'm intrigued
goldengeek: @LegendaryStone you mean 14926635b5d3425b35f7956219735600f01164f ?
MadKnight: whose id is that
goldengeek: https://www.codingame.com/clashofcode/clash/report/14926635b5d3425b35f7956219735600f01164f
MadKnight: oh no it's a trap!
MadKnight: Automaton2000 hide!
Automaton2000: that's why you have to use a genetic algorithm
MadKnight: no Automaton2000 don't use a GA to hide
Automaton2000: well if you use c#
MadKnight: oh okay but only if in c#
smeagol: Salut
smeagol: Mad: tu parle avec automaton
smeagol: je suis entraine d'installer l'environement pour RAIC
MadKnight: oh nice
dued1: hi
dued1: get noob
ElJona174: Hi guys
NicoNeko: :O
aboqasem: GOOOD MORNING