eulerscheZahl: i do Zenoscave
Zenoscave: Is there a link?
eulerscheZahl: chat you are laggy
jacek: happy Caturday
jrke: oh i forgot its caturday :)
eulerscheZahl: happy Caturday
markyy: why does chats from previous clash of codes stay
Allis: Hard to tell whether it's a bug or feature.
jrke: its like a channel which is different for each clash so you have to delete manually
Allis: I think the hard part is that some would want it to auto-close once they're done with the clash and others would want it to stay so they could converse with the people still clashing.
Allis: Easy enough to make that configurable, though.
uvBoss: @eulerscheZahl u on?I had a question on the A* 11- puzzle
uvBoss: or anyone else who think they can help ?
uvBoss: no one?
eulerscheZahl: i'm back, just ask your question
uvBoss: what heuristics did u use for this puzzle?
eulerscheZahl: so, my heuristic for the 11-puzzle: try to put the right-most column in place first
uvBoss: im using basic manhattan distance
eulerscheZahl: i run a BFS, not even A*
uvBoss: oh oke
eulerscheZahl: when i find a way to get the right column in place, i'll "freeze" it and only touch the missing region after
uvBoss: thats it?
uvBoss: why is that good??
eulerscheZahl: it's not good. just sufficient to solve the problem
eulerscheZahl: i don't even pass all visible testcases. but all validators :D
uvBoss: oh damn
jrke: thats weird euler :thinking:
uvBoss: xD how do u come up with these solutions tho?
eulerscheZahl: just realized that a full search was taking too long. so i added this to make it faster. now that one testcase gets solved but takes more than 50 moves
eulerscheZahl: the "free" tile is at the top right, so the left part isn't affected by it
eulerscheZahl: let's solve this first and have the same problem again at a smaller scale
uvBoss: so u are trying to get less than 50 moves solution instead of the optimal one?
uvBoss: alright thanks man
eulerscheZahl: yes. whatever meets both move count and SPU time constraints
eulerscheZahl: and the failing testcase: https://www.codingame.com/share-replay/484200270
eulerscheZahl: just 1 move short :D
uvBoss: yea....so u are solving from the right to left
uvBoss: what testcase is that?
uvBoss: i fail 7 and 8 too
eulerscheZahl: on submit there are only 6 testcases
eulerscheZahl: submit and see if you get lucky
uvBoss: i fail the 5th and 6th
uvBoss: in validators
uvBoss: plain timeout
eulerscheZahl: i see
uvBoss: coz i dont move until i solve the puzzle
uvBoss: or to put it in another way until i readch the solution
eulerscheZahl: same: i find a complete solution before printing a single action
uvBoss: maybe i should not always go for the optimal solution then
uvBoss: ok thanks man let me see
uvBoss: did u use c++ ?
eulerscheZahl: maxime (who uploaded the game) has an A* solution in python
eulerscheZahl: he mentioned that it takes about 200ms worst case
uvBoss: oh damn
Marchete: happy caturday
SpotlessCoder: Hi I'm streaming clash of code on twitch @ twitch.tv/spotlesscoder - Please visit my channel! :) - Best of luck!
eulerscheZahl: there is no way
eulerscheZahl: not even a spoon
JBM: that would be it: https://github.com/Orabig/CGPuzzleStats
WhiteGlove: Can anyone review my piece of code for the Bulk Email Generator?
WhiteGlove: yeah, but only I pass 2 of them
WhiteGlove: and i believe that I'm on the right track to solve it
WhiteGlove: hold up
WhiteGlove: you are the author xD
WhiteGlove: my respects, brother
WhiteGlove: I'm digging into the javadocs for more info ona method
WhiteGlove: but so far it does what I expected, not the solution
Marchete: for anyone interested
Marchete: I think it gives a lot of info about Dot and Boxes in a clear way, not just pure formulas
AntiSquid: link in its forum thread ? this kind of stuff always gets lost
jrke: yeah,Marchete it will be good if you post it in forum of D&B.
eulerscheZahl: there's a history on the left in case you submitted the code and didn't only play in the IDE
eulerscheZahl: left: results then there's a history section
eulerscheZahl: wow, you remember me :)
Mirak42: Anyone has the c# code assist working?
eulerscheZahl: yes. in my offline IDE
Mirak42: ok, i think the online one is dead.
TomaszK: yes, I just had the same issue
WhiteGlove: Does anyone know about some website where you compare RegEx?
WhiteGlove: this one doesn't count -> https://regexr.com/
WhiteGlove: I just used the Chrome console for that
eulerscheZahl: i usually use https://regex101.com/ but i don't know what you mean by "compare"
WhiteGlove: It's that I do not know why mine fails, when on said website works :(
WhiteGlove: by compare I meant something as this:
WhiteGlove: Open the chrome console and type String(regex1)==String(regex2)
WhiteGlove: mine says false so... it is wrong
eulerscheZahl: that's too vague for me, i'm out
WhiteGlove: anyways... I solved the puzzle with a bit of help with regex
AntiSquid: how's vietnam doing atm ?
jacek: there is triangle in the bottom
professional_dumbass: is it dark reader?
JJJJJJtendingtoinfinite: same lol
PotatoCoder: how many captchas i have solve so that im not a robot?
BenjaminUrquhart: test failed successfully
R3Ked: clash of code is hard
MadKnight: i came up with my own sMadmiMax
MadKnight: it's got 2 major improvements over smitsi
MadKnight: for simul games
Zenoscave: Hey MK how's your bot
MadKnight: very nice
Zenoscave: what are the improvements?
Zenoscave: what has you laughing DavidMcCabe?
Zenoscave: lol, It's a common phrase in CG
Zenoscave: how's your bot DavidMcCabe
Zenoscave: The rank/lvl says that for sure ;) but no worries. we all were a noob at one point
Zenoscave: Practice problem or Multi?
Zenoscave: Try CSB
BenjaminUrquhart: share your solution after it ends and copy from there
BenjaminUrquhart: better than nothing
Zenoscave: people tend not to share code for multiplayers but any advice or tips you can imagine can be found on the forum
reCurse: At your league this should do: target = nextCP - 3 * velocity
Zenoscave: ^ this is true
Legoracer: why not share in mp?
Legoracer: sounds like missed flex
Zenoscave: They are still actively competitive in upper leagues
Zenoscave: but yeah some people like to share strats
MadKnight: hey guys
MadKnight: i forgot - why did u need score normalization in smitsimax ?
MadKnight: reCurse Zenoscave u guys know it ?
MadKnight: anyone here, Automaton2020 ?
MadKnight: are u new here ?
MadKnight: what are u playing ?
MadKnight: puzzles ?
MadKnight: but the clashes are like mini-puzzles
MadKnight: also haven't u tried PvP bot programming ?
MadKnight: this one is also easy
MadKnight: it even got a tutorial for newbies