Chat:World/2022-06-09

From CG community
Jump to navigation Jump to search

PatrickMcGinnisII: molten

antiwonto: [auto] Hey PatrickMcGinnisII, here is a :taco: for loggin in today while it is quiet. You now have 48 tacos

AryanTripathi: how to msg someone?

antiwonto: [auto] Hey AryanTripathi, here is a :taco: for loggin in today while it is quiet. You now have 3 tacos

GroutchKeu: o/

antiwonto: [auto] Hey GroutchKeu, here is a :taco: for loggin in today while it is quiet. You now have 2 tacos

TheRipperJack: taco

TheRipperJack: no taco for me -.-

Thorcode: yo

Thorcode: no

Thorcode: why antiwonto

GroutchKeu: I am worthy \o/ All the tacos belong to meh !

Default avatar.png Tbone1212: Well it is a completely new challenge and there is no text but its just blank space underlined with an error that clearly isn't there

AryanTripathi: well something unfair happened with me

antiwonto: [auto] Hey AryanTripathi, here is a :taco: for loggin in today while it is quiet. You now have 2 tacos

AryanTripathi: I just won 3 clashes consecutively but still my achievement isn't completed

AryanTripathi: sed life

Default avatar.png AlexCibotaru777: my brain is melting with this code

Default avatar.png AlexCibotaru777: i can't do anything

Default avatar.png AlexCibotaru777: apparently im too dumb for coding.

Darleanow: HELLO EVERYONE

Darleanow: could someone tell me how to get the length of an array element in c++

struct: what do you mean?

struct: length of the array?

struct: of length of something that is inside the array?

derjack: :upside_down:

Markus235: My new Clash: My girlfriend plan to have a baby. Shes like planning so much, that she want to know every time when we try to make a baby when the baby would come ( if we believe that it take exactly 8 months and 27 days). Because Im a good future father, I program this for her so she dont need to calculate.

Markus235: XD

Markus235: :D

Westicles: Are you implying she is incapable of programming for herself?

Markus235: yes she makes art XD

Westicles: Haven't Clam and statox taught you anything?

Markus235: ?

Westicles: lol, you weren't even paying attention to my clash you rejected?

Markus235: no, first i saw that anti women talk and secondly the formula in your solution was so complicated that i knew thats not solveable in 15 mins

Markus235: easy

Westicles: maybe this site is too difficult for you?

Markus235: you need to remember that not everyone is in top 3k people and if a noob comes and get a task like this it might depresse him

Markus235: dude im 970 in coc :)

Westicles: if you can't handle x/(x^2+y^2) then I don't know what to say

Markus235: dude its not about handling, its about getting it fast

Markus235: and i wouldnt get it in 5 minutes

Markus235: you have psychic problems? go on fresh air and make some sport my friend :)

Darleanow: struct length of an element in an array

struct: what data type are you storing?

Darleanow: strings

Darleanow: its like chars name

struct: array[pos].size()

Darleanow: THANKS LOVE U

Darleanow: wut is the lib for the size function

Darleanow: i'm told that arr has no member size()

struct: <string> I guess

derjack: i think string extends some container

struct: yeah string is not needed

Darleanow: as a size arg ?

struct: string arr[2] = {"a", "b"}; cerr << arr[0].size() << endl;

khanglovesIT: can i ask how can u play code vs zombies

derjack: you can

Westicles: whew, that was unpleasant

khanglovesIT: i just print zombie_x, zombie_y

khanglovesIT: print(zombie_x,zombie_y)

khanglovesIT: i only succeed 80%

Default avatar.png Famenontsoa_Harrys: Hi there, Can you tell me how do you do during the codingame tests to get the average?

struct: khanglovesIT you can try to move to the closest human I think

khanglovesIT: thanks it's 95%

Uljahn: to the closest human which can be saved in time

khanglovesIT: but the score is less

khanglovesIT: but really thanks a lot

PissAnt: ]

PissAnt: :]

derjack: struct still only 6 actions?

struct: yes

struct: 5

TINOUAINANI: Hi

struct: hi

TimothyAlexisVass: :taco: khanglovesIT

derjack: :neutral_face:

struct: your pb on hold the line was 104 right?

TimothyAlexisVass: :taco: derjack

Markus235: can you comment pls?

Markus235: https://www.codingame.com/contribute/view/2067557fd6992ee5bd05914f3de809be1f786

derjack: struct 107

struct: on jace k?

struct: https://www.codingame.com/replay/639980438

struct: I like how it goes from checkpoint 5 to 7

Default avatar.png OpenTools: cum

Markus235: @struct

Markus235: crazy shit

Markus235: show?

Markus235: how*?

struct: beam search

Markus235: also ai?

struct: yes

Default avatar.png OpenTools: how much is a can

Markus235: can you teach me struct?

struct: Well it will take some time for you to learn if you dont have experience on it

Markus235: ok

struct: You need to write the sim for the game

Markus235: then just say me what i should google

struct: And then you to a breadth first search

struct: you can learn how to sim the game here

struct: http://files.magusgeek.com/csb/csb_en.html

struct: Or you can check the referee

struct: https://github.com/Illedan/CGSearchRace

struct: Beam search is a breadth first search with dynamic depth

MSmits: that doesnt sound like the correct description of BS

struct: You keep going searching deeper while you have time

MSmits: why is the depth dynamic?

struct: why not msmits?

MSmits: it's just increasing. But it is for BFS also

MSmits: so there's no difference in the handling of depth between BFS and BS

struct: ok i guess I have wrong idea of dynamic

MSmits: it's a BFS with pruning

struct: oh yeah

MSmits: you keep the X best states

MSmits: X being the beam width

Markus235: ty

derjack: maybe i should run GA overnight can hardcode the validators

darkhorse64: you passed me struct :rage:

Default avatar.png OpenTools: Za dom, spremni

Default avatar.png MarkusCarmin: hi

Default avatar.png MarkusCarmin: i am solving "shadow of the knight -e1" you have a hint for me when the test case tower is testing? I have only 6 steps but I need more

Default avatar.png Platiniom64: hello

struct: I could hardcode it but too much work

struct: I didnt even ran my code offline

derjack: MarkusCarmin are you using binary search

aangairbender: can I set league level though manual options for a multiplayer game?

aangairbender: code-a-la-mode in my case

struct: no

aangairbender: :disappointed:

derjack: :upside_down:

paprik_code: hello

Default avatar.png filippofilip: Hi

AdemDj12: hey

AdemDj12: sup

Default avatar.png KinaKhongs: Is there any hint to do the Gerrymandering puzzle?

Kururugi: you can check the discussions page on the puzzle. One easy way is to use dynamic programming

Default avatar.png KinaKhongs: Ok thanks, yeah i use dynamic programming, so it's my code that have a problem haha

derjack: so unstatic

derjack: darn so close to be 2nd in uttt

antiwonto: [auto] Hey derjack, here is a :taco: for loggin in today while it is quiet. You now have 28 tacos

derjack: :taco: emh

antiwonto: [auto] derjack has awarded emh 2 tacos. emh now has 3 taco. derjack now has 29 taco

Darleanow: struct are u still there?

struct: yes

Darleanow: size is not working unfortunately

Darleanow: i'm getting told that character has no member size

struct: well char is differnt from size

struct: a char is always the same size

derjack: char has size 1 [solved]

struct: different from string I meant

struct: Darleanow maybe share a code snippet of what you are trying to do

Darleanow: Character is a class :)

Darleanow: from my code

Darleanow: for (size_t i = 0; i < characters[activeCharacter].size(); i++) { std::cout << " "; }

Darleanow: just a bit of formatting the console output

struct: is characters an array?

Darleanow: yes !

Darleanow: activeCharacter is the hero i'm playing with

Darleanow: bc i can load different heroes

struct: array<char, N> or C type array?

struct: like arr[N]

struct: for C type array you can do

struct: i < sizeof(characters) / sizeof(char);

Darleanow: std::vector<Character> characters;

struct: so its a vector

Darleanow: Indeed :)

struct: characters.size()

struct: so i < characters.size();

Darleanow: characters.size(activeCharacter) ?

struct: no

struct: Dont you want to look at every char?

Darleanow: no ! i just need the length of the name of active char :)

Darleanow: which i get by this : this->characters[activeCharacter].getName()

Darleanow: just pointing to it

struct: so the index?

struct: you want the index of the character?

Darleanow: made a function to return the name

Darleanow: could use it tho i'm retarded

Default avatar.png 1234567654321: i feel stupid

Darleanow: here's the fix : this->characters[activeCharacter].getName().size()

struct: I dont understand what you mean be length of the name of active char

Darleanow: i'm printing spaces for formatting

Darleanow: bc i like when the console output is clean :)

Ajaiy: Does anyone think it's time I changed my pfp?

struct: well its your choice

zakacat: Can someone send me the DB of contributions again, lol?

5DN1L: https://eulerschezahl.herokuapp.com/codingame/puzzles/

zakacat: ty

5DN1L: np

zakacat: bookmarked it this time, haha

wlesavo: zakacat bookmark this instead https://cg.spdns.eu/wiki/Main_Page

Ajaiy: first five ideas will be considered... start!

Darleanow: without wanting to be mean, i guess no ones gives a sht

Darleanow: sorry :/

zakacat: Seemed like struct tried to help you plenty

zakacat: thanks wlesavo

struct: I said I dont understand what you are trying to do

struct: You said here's the fix so I thought you solved what you wanted to do

Darleanow: Oh yeah it's fixed :)

struct: oh

Darleanow: this->characters[activeCharacter].getName().size()

Darleanow: using this !

struct: yeah

elderny: what is coding escape


struct: they are similar to escape room

wlesavo: play the great escape instead :slight_smile:

struct: you are supposed to do it with multiple people

struct: and involves a little bit of coding, clash level

elderny: how do I play it?

struct: https://escape.codingame.com/games

struct: tutorial and 2 games seem free

struct: Rest require a pro account, I have no idea what that is

Darleanow: THIS IS SO EXPENSIVE OMFG


struct: its meant for compaines

struct: companies*

jacek: companies do escape?

struct: No idea

struct: But it seems cg works includes access to cg escapes

Crosility: Hey, sorry, is there a way to remove tool-tips in the IDE? I just want to highlight->copy some code. But I keep getting blocked by tooltip overlays.

jacek: maybe in settings and edit configuration

Razovsky: would try the good old alt+f4 but i think no one will fall for it there

RF_DEV: ctrl+w

Crosility: Probably not. But I'm sure it'll get rid of the overlays ;]

Crosility: @RF_DEV, lol

RF_DEV: :joy:

TimothyAlexisVass: I have a button element with onclick="function()"

TimothyAlexisVass: when I click the button, it runs the function but it also reloads the page?

TimothyAlexisVass: Why?

Mehdi_Moulati: i think because the type of the button is submit

TimothyAlexisVass: hmm

Mehdi_Moulati: change it to type="button"

TimothyAlexisVass: oh <button type="button">

TimothyAlexisVass: Thanks ;)

Mehdi_Moulati: you're welcome:grin:

TimothyAlexisVass: :taco: Mehdi_Moulati

TimothyAlexisVass: :taco: Mehdi_Moulati

antiwonto: [auto] TimothyAlexisVass has awarded Mehdi_Moulati 1 tacos. Mehdi_Moulati now has 1 taco. TimothyAlexisVass now has 10 taco

Default avatar.png godCoderHacker: su[

Default avatar.png godCoderHacker: sup

Default avatar.png godCoderHacker: sup

Default avatar.png godCoderHacker: sup

Default avatar.png godCoderHacker: sup

Crosility: Interesting name.

5DN1L: https://www.codingame.com/events

5DN1L: Bot Programming : Green Circle

wlesavo: wow, i wonder why there are no main page notification

struct: omg

struct: a new contest?

struct: thanks 5DN1L

wlesavo: seems like a sponsored contest

struct: community made?

wlesavo: well i want start another multi then, just almost finished code a la mode

struct: it says made by [SG]Sebastien

wlesavo: won't*

struct: you can pick one that doesnt require a lot of work

b0n5a1: warning if you clic register you are registered (no more usual stuff to complete before validate) :D

wlesavo: struct i did that by picking code a la mode :smiley:

struct: Which ones are missing legend?

struct: b0n5a1 maybe they use old registration data

Astrobytes: thanks for the heads up 5DN1L

wlesavo: nah, im not feeling racing another legend week before the contest

5DN1L: np :)

jacek: :tada:

b0n5a1: struct yeah but when you clic just to see, knowing that usually you must complete a form to register...

b0n5a1: (╯°□°)╯︵ ┻━┻

struct: true

struct: Now that Im almost done with STC a contest comes

struct: I guess its not meant to be

Crosility: How to follow/friend another person?

struct: go to their profile and click follow

Crosility: And if that button doesn't seem to appear?

struct: I would try another browser

Crosility: Problem with a ad-blocker, thanks. Now I know it's a blocker problem.

b0n5a1: You need no glasses, but a dog ? :D

struct: "he 3 winners will receive a refurbished cell phone (500, 400 or 300 euros respectively)"

jacek: so close https://www.codingame.com/share-replay/640121031

struct: prizes nice

struct: almost jacek

Astrobytes: "refurbished cell phone" :D

Uljahn: refurbished t-shirts fot top-20? :smiley:

jacek: taken ouf of trash?

Astrobytes: :rofl:

jrke: so can we call it unofficial CG bot programming contest alternative?

Astrobytes: technically it's a sponsored contest

jrke: ah

Astrobytes: but open to all

jacek: :tada: https://www.codingame.com/share-replay/640121985

struct: not bad

Astrobytes: ahhh you got it working at last

jacek: no, its GA

Astrobytes: ah lol

jacek: just got the struct's best on this map

j4at: damn

jacek: j4at do you still need the simulator?

j4at: I wrote one :3

j4at: using pure python

jacek: i have one in c++ java and python

struct: I have 0

struct: I cant go below 104 frames

struct: 102.64 is my best for some reason

struct: https://www.codingame.com/replay/640123520

struct: gg

struct: I think under 100 is possible

struct: Not with my bot though

jacek: time for some tweaking then https://streamable.com/8toulp

jacek: the event, is this some known bot programming, or completely new?

struct: GREEN CIRCLE By [SG]Sebastie_n

struct: so I would say new

struct: since he hasnt released any multi

Default avatar.png Endrits079: is anyone here who has 200 years of experience?

jacek: well could be existing game with new name

Default avatar.png Endrits079: I need guides to be father of programming

struct: What do you mean by existing jacek?

struct: Like a game that is already or was in cg?

struct: I see euler is in, good

Uljahn: like a private hackathon similar to previous contest

struct: Could be I guess, I dont really mind

jacek: yeah

kovi: which contest is the green circle?

Kururugi: how do i get chat logs?

Kururugi: green circle is bot programmin

struct: kovi it seems like a sponsored contest

struct: seems like a big company

Astrobytes: investment banking iirc

Westicles: refurbished phone... heh heh

jacek: yet they sponsor refurbished phones :thinking:

Westicles: maybe euler will win and join the modern world

b0n5a1: with a nokia 3210 :D

Skynse: The Keychron k5 is elite

struct: jacek how much depth does your GA use?

TINOUAINANI: nice more contests

jacek: 14

jacek: but i dont notice much difference between 12-16

struct: I got a new pb btw

struct: for that test

MSmits: pb?

struct: personal best

struct: https://www.codingame.com/replay/640145214

MSmits: oh, grats

struct: Im done with it though

struct: Im gonna try to finish STC before contest starts

struct: thanks

YS_Yousef: hi struct

struct: hi

YS_Yousef: remember me?

struct: I think I remember your name

YS_Yousef: last time i played from like 5 months or longer

DomiKo: ohhh no this "contest" have Schools ranking

struct: is that bad DomiKo?

struct: Will you be forced to play it?

DomiKo: date is kinda bad for uni

DomiKo: session time

Default avatar.png VladTheInstaller: newbie question: I'd like to see debug information in the console output. but when I use Console.Error.WriteLine("Debug messages..."); I don't see anything in the console. what am I getting wrong?

DomiKo: I will be forced by my will struct

DomiKo: I have to defend my place in contest ranking

5DN1L: po

5DN1L: oops

struct: VladTheInstaller it should show

struct: Are you doing it before outputing?

Default avatar.png VladTheInstaller: yes

struct: Can you share the code?

Default avatar.png VladTheInstaller: ok I think I just saw "Standard Error Stream" in the console.

Default avatar.png VladTheInstaller: thanks folks, sorry I missed it the first time

struct: np

DomiKo: Already 1K registered wow

struct: you can be auto registered

DomiKo: hmmm true

struct: Also there are no emails advertising sponsored contests iirc

Ayza: what is meant by a subgrid? https://www.codingame.com/training/easy/sudoku-validator

Ayza: passing everything but that

Ayza: oh nvm, I see

jacek: oh my

antiwonto: [auto] Hey jacek, here is a :taco: for loggin in today while it is quiet. You now have 27 tacos

jacek: :taco: struct

antiwonto: [auto] Spread the love. Give tacos to someone else, not someone you spam with tacos.

jacek: :taco: DomiKo

antiwonto: [auto] jacek has awarded DomiKo 6 tacos. DomiKo now has 11 taco. jacek now has 28 taco

DomiKo: :taco: jacek

antiwonto: [auto] DomiKo has awarded jacek 10 tacos. jacek now has 38 taco. DomiKo now has 12 taco

struct: :taco: jacek

antiwonto: [auto] Spread the love. Give tacos to someone else, not someone you spam with tacos.

struct: :taco: DomiKo

antiwonto: [auto] struct has awarded DomiKo 10 tacos. DomiKo now has 22 taco. struct now has 63 taco

DomiKo: eat taco

antiwonto: [auto] That taco command has moved to the #taco channel

jacek: MSmits NN finally?

DomiKo: ohhh wow top2

MSmits: nah, I put some moves from my DB into bot :P

MSmits: I mean, you did say I had a 38 db and yet still couldn't beat you :P

MSmits: It's a neat test of the DB. Kinda like what professor X does

DomiKo: some moves?

MSmits: well around 10k

DomiKo: so opening book?

MSmits: yup

DomiKo: damn

jacek: oh my

DomiKo: image NN from that dataset...

MSmits: yeah i was going to do that instead. This is probably a temporary bot. Any other version of your bot will fix this btw jacek

jacek: you counterbooked me? :unamused:

MSmits: i counterbooked everyone

DomiKo: lol

MSmits: started with robo, worked my way down to kawatta

MSmits: didnt do it 100%, just enough so i could win 3x in a row vs everyone as p1 and as p2

MSmits: was pretty easy, but still took half a day, not something i'll keep doing

MSmits: It can be automated, but i much prefer to use the DB for a NN like DomiKo said

MSmits: btw it didnt change your rank, you were 3rd before, i bumped you above oldJohn :)

OldJohn: @MSmits Hum, I should try an other NN soon... But if you counterbooked us it is beacuse we made it possible :-)

MSmits: That's true, but it's hard to prevent

MSmits: every one of these NN's is pretty deterministic. Even jacek's i found

jacek: i need to add more randomness eh

OldJohn: @MSmits Indeed I prefer not to add random to be sure to be able to replay the games at some point

MSmits: yeah, i get that. By the way, another way to prevent counterbooking is just have a perfectly playing bot

DomiKo: that's the best way

MSmits: Robo is very near that. I have 1 line of play where i put in 175 moves only to found it solved as a draw

MSmits: well to be honest, most of the top 7 or so is very near perfect

MSmits: there's some small degree of difference

DomiKo: it's all about early game

MSmits: I think if you guys all schedule a game with professor X, one of you will beat him (= draw) by chance

jacek: lets make an ensemble of our NNs

MSmits: heh but what if they disagree?

MSmits: NN democracy?

DomiKo: loss democracy!

jacek: then we'll use stalin sort

MSmits: is that like bubble sort only with more paranoia?

jacek: https://github.com/gustavo-depaula/stalin-sort

jacek: has some lang support

jacek: you just kill not ordered elements

MSmits: nice

jacek: i wonder when will they do dance with this kind of sort

MSmits: should be easy

OldJohn: @MSmits yes the game you played are all the same !

struct: Seems like I pushed you to 1st on C4

MSmits: i know OldJohn

MSmits: thats why i said, all you have to do is submit a slightly different version or hardcode 1 move and the effect should mostly be gone

OldJohn: Error at move 41 from my side as South !

MSmits: That sounds about right

Scarfield: work hard and hardcode

MSmits: I know the exact value of the board when 38 or less seeds are on

jacek: -That. - She

Scarfield: never gonna

Scarfield: give

struct: .

Scarfield: xD

jacek: https://www.youtube.com/watch?v=AQ2U4zXyDPE

MSmits: I feel like you guys are trying to sneak in a rickroll

Scarfield: sorry i havent been more active in testing backgammon, gonna find some time soon :)

struct: well its not finished yet

struct: move gen is bugged

jacek: and it has constructive comments

jacek: "Here for the quest XP, but I'm sure it's great so keep it up."

struct: lol

Scarfield: yea xD

MSmits: so useful

MSmits: at least it's encouraging

jacek: did they add something to quest map? many comments like that

Scarfield: are you talking about abapa (spelling)

jacek: smits counterbooked everyone

jacek: and calls that true ai

MSmits: Well the only true AI is if/elses right

jacek: with prune array

MSmits: if (jacek bot makes mistake) wreck him

struct: I have no idea how to bitboard oware

struct: I dont think I will touch it

MSmits: I put 1 pit for each 5 bits

MSmits: 12*5 = 60 bits

MSmits: because 5 bits only goes up to 31, i put a pit with lots of seed that overflows in bit 60-63

MSmits: so, just one uint64_t per state

jacek: its simple - use NN. NN takes >90% time so no need to worry about movegen speed

struct: is it possible to then do a move with 1 single instruction?

struct: or do you need to acces every 5 bits and add 1 piece to it?

MSmits: I do some stuff with lookup arrays

MSmits: that way i add the result to all of the pits at the same time

MSmits: I never checked if it was fast though, seemed to be as the bot beat every bot thats not a nn

struct: Ok I think I understood how to do it

MSmits: thats fast

struct: How often does 31 seed happen?

MSmits: very rarely. I have an if when i play a move, i use a slow "apply" function when it does

struct: oh 48 seeds

MSmits: it's super rare though

MSmits: even in the search, never seen it on a real move

struct: I will probably ignore it if I try the game

MSmits: dont do that, it does happen maybe 2-3 times in a game in the millions of rollouts you do.

thethiny: how do I message someone by his username

MSmits: but that depends on how much your bot likes to pile up seeds in 1 pit. Mine likes that a lot

MSmits: (due to eval)

DomiKo: thethiny you can't. He have to type something in chat

thethiny: that's sad

thethiny: sometimes I see someone losing to me clash of shortest code cuz of a tiny mistake they did

jacek: do you know his profile?

thethiny: so I try to message them

thethiny: jacek yeah RandomWolf

OldJohn: The exact value of the board also depends of the move number

struct: if you both follow each other you can pm him from your profile or his

jacek: ah no. he has to follow you so you can private message him

thethiny: alright thanks both

RandomWolf: ?

MSmits: OldJohn how do you mean

struct: he is here now thethiny

OldJohn: If you are near of move 220, you may be winning theoratically but losing if you can not do the winning move before move 220

MSmits: you mean ply 200, the end turn?

OldJohn: yep

thethiny: @struct yeah thanks, he messaged me

MSmits: you are correct, it does depend on that. I used to have a meta mcts that takes this into account

MSmits: it is a very small effect though

OldJohn: @MSmits I suppose so!

MSmits: there is 1 game where i am +1 seed ahead of robo, but because i dont take into account the turn, it becomes a draw

MSmits: +1 seed value in my local DB i mean

MSmits: but i dont have enough time to get the benefit because the game ends

MSmits: my ingame solver with 9 seed DB does take into account the turn

MSmits: if it solves, it gets precedence over opening book moves

MSmits: this is a problem in a lot of games on CG, for example also nine men's morris and checkers.

OldJohn: OK I see the effect with my program as North which it really surprise to lose :-)

MSmits: you dont have a book in oware OldJohn?

MSmits: you are one of the few players that uses books (like in Othello)

OldJohn: @MSmits I have a small book at Oware since others used book on my program

OldJohn: @MSmits at Othello, this is more or less my human book !

MSmits: who did that?

MSmits: do others book oware?

jacek: human book? :scream:

OldJohn: Well I was a bad Othello player so is the book bad !

OldJohn: The Othello program is 25 years old also at least !

MSmits: ehh your othello book was a perfect player, at least when you made it go 30 deep vs my bot

MSmits: you just didnt counterbook all top 10 players like i did

MSmits: so not bad at all

MSmits: I know it was perfect because i checked vs other othello books

jacek: many advances in ai since 25 years

jacek: :v

OldJohn: My favorite human line as black lost theoritically 31-33 so not usable for a program

OldJohn: @jacek perhaps we do not have the same ai def !

jacek: fwiw i barely know othello. i bet i couldnt play it on real board without hinting which moves are legal

jacek: but now, you must combine your strengths and counterbook nyanyan!

OldJohn: So at least I progress in Line Racing!

jacek: with books ;o

OldJohn: With old ai :-)

MSmits: othello is more work to counterbook. I might try it again, but not yet

Default avatar.png NachSN: is anyone here into actual game development?

Default avatar.png NachSN: or just coding games

Default avatar.png NachSN: without actually coding games

Westicles: Do you really need programming skills to make a game? I thought it was all artists and game engines

MSmits: yeah you kinda do need it

MSmits: the engines try to make everything go without programming, but usually you need at least some

Westicles: I mean, maybe one guy to work through compilation errors, and then 200 guys working on textures and whatnot

MSmits: well yes most will be content creators

MSmits: but not all

Default avatar.png NachSN: it depends on the game

MSmits: that too

Default avatar.png NachSN: animations of a texture can be done via code

Default avatar.png NachSN: not a texture a sprite sorry

Westicles: I think we have some content creators here, they are the ones always whining about gender roles in clash contributions

MSmits: ?

Westicles: You don't want to know. The gender police are all over the contributions page

MSmits: some criticism around gender can be valid, but a lot of it can be ignored. Don't focus on trolls like that

Westicles: This captures the idea pretty clearly

Westicles: https://www.codingame.com/forum/t/community-puzzle-body-weight-is-a-girls-secret/194928/2

MSmits: ah I see

MSmits: yeah it's a stereotype. He's right about that

rubenmartinez795: vote my contribution! Send feedback please. Hope you like it

Default avatar.png Kits_Gaming: what is the opposite of Math.floor? thought was ceiling

MSmits: doesn't mean it shouldn't be part of a puzzle. I don't really know if it should either way

Westicles: My contrib about catching monkeypox from kissing rave girls got rejected on similar grounds. I mean, that is totally a real-world scenario, sheesh

MSmits: mmh maybe consider the donut again

Westicles: :P

Ayza: Kits_Gaming it is ceiling

Default avatar.png Kits_Gaming: is it a capital C?

Default avatar.png Kits_Gaming: thats what im seeing on other site but thats weird lol

Ayza: what language? It depends on it

Default avatar.png Kits_Gaming: JavaScript

Ayza: in javascript it's ceil

Ayza: lowercase

Default avatar.png Kits_Gaming: ceil no 'ing' and all lower?

Ayza: exactly

Default avatar.png Kits_Gaming: exceptionally weird.

Default avatar.png Kits_Gaming: thank you!

Ayza: np

struct: MSmits do you think its possible to have 46 seeds in one cell?

MSmits: no

struct: ok so my idea will work I guess

MSmits: why 46?

MSmits: 31 + 15? using the last 4 bits?

struct: yes

MSmits: thats exactly what ido

struct: :p

struct: I didnt try to copy

MSmits: copy all you want :) I like it

MSmits: I also fit onitama in a 64 bit int if you want to try

MSmits: or was it 32? I forgot

MSmits: nah 64

struct: Space is not everything though

struct: im not sure how big my state is on onitama

MSmits: nah it's not, i just like squeezing stuff, it helps when using a local DB for meta mcts

MSmits: I use a dictionary <ulong, Guid> in C# for oware

struct: 24 bytes

MSmits: yeah

MSmits: the Guid holds wins/visits/solve stuff

struct: as long as it fits 64 bytes I usually dont care much

MSmits: for my local DB i use 7 bits per state :)

struct: o.o

MSmits: i just store a number between -48 and +48

MSmits: which is the net seed solved value of the state

MSmits: the state itself is just an array index

struct: Nice

MSmits: you need an index-function to make states sequential and turn the state into an array index

struct: Space is way more important I guess

struct: I never really tried to do anything like that

MSmits: even with 7 bits per state, the 38 seed DB is now 98.5 GB

struct: it takes into account the turn right?

MSmits: no

MSmits: this assumes infinite turns

MSmits: so there's a small error there in some cases, it's not the same as CG

struct: it would be bigger taking into account the turn right?

MSmits: it would be bigger, but faster to calculate

MSmits: I could not go much further than 25 seeds or so if i took into account the turn

MSmits: besides, I need infinite turn DB to play against professor X.

MSmits: the game keeps going until a loop happens

MSmits: or someone gives up

struct: until a seed is removed right?

MSmits: how do you mean?

struct: for example if you are currently solving a state with 39 seeds

struct: if 1 seed is removed you already know the answer right?

MSmits: ohh, no actually he wants to keep going even if i know the answer

MSmits: otherwise it's not a good check of the DB

MSmits: we played down to 13 seeds or so

MSmits: then loo[s started to happen

struct: why?

MSmits: loops

MSmits: his whole challenge is about testing his DB

MSmits: I did say during the game it would be 23-25 and he concurred. Then we kept playing :)

struct: how large his 48 seed db?

struct: is*

MSmits: around 1000 GB i think

MSmits: give or take 200

struct: not too bad

MSmits: the problem is not storage space though

MSmits: my method ends at 38 seeds because i run out of RAM

MSmits: you need all 38 seed states in memory during the book generation

MSmits: otherwise it is way slow

MSmits: that's 25 GB

MSmits: the next one will be around 32-33 i think, which wont fit

MSmits: he probably uses a different method, but RAM is still a bottleneck for that

struct: this is what you need

struct: https://i.imgur.com/kuVdsce.jpeg

MSmits: very true, it removes 1 bottleneck. Parallelization is also hard though

MSmits: but possible i guess

struct: should be

struct: iirc checkers was solved using parallelization

MSmits: going from 37 -> 38 seeds took me 2 weeks on 1 thread

MSmits: https://imgur.com/a/2jJAIQQ

MSmits: checkers has several parts to it though

MSmits: not just endgame books

MSmits: also parts of the endgame book don't communicate so you can calculate them separately

MSmits: that's hard to do for oware

MSmits: you can calculate 37 and 38 at the same time though, since you cant go from a 38 state to a 37 state

MSmits: but for all intents and purposes you have to assume every 38 state can lead to every other 38 state

struct: yeah it doesnt seem easy

struct: I also have no idea how to do it

MSmits: my way is not hard to understand if you know retrograde analysis

MSmits: the trick is mostly in making it fast and being economical with memory

struct: Dont think I ever used it

MSmits: you start from terminal states and work your way back to the beginning of the game

MSmits: this is how endgame books are generated and how you solve oware

MSmits: chess has 7 piece DB's generated this way, checkers 10 piece DB

struct: yeah seems to be used on chess

struct: from the video im watching

struct: https://www.youtube.com/watch?v=v34NqCbAA1c

MSmits: yeah thats it

Default avatar.png Buttmuncher45: In Power Of Thor, can he change directions while the program is running? or do I just have to tell him SW NE NW SE ect.

struct: its turn based

struct: so you need to output every turn

struct: Everything inside the while loop gets ran every turn

struct: you will need to updated thorinitialX and thorinitialY based on where you move

Default avatar.png Buttmuncher45: Hmm ok thank you I'll keep trying

struct: you can try pressing hints on the left

struct: This is probably the most important puzzle to understand how the puzzles here work

Default avatar.png Buttmuncher45: Ahh hints thanks I see the psudo code and it's pretty much what I had in mind. :D let me see if I can figure it out now

telerama: hi ! does anyone know what's the initial angle of the pods in mad pod racing ? i can't see where to find it so i just assumed it was directed toward the first checkpoint

j4at: They give you the next checkpoint angle which is the angle between your pod orientation and the direction of the next checkpoint. Alteast in the bronze league, so you might not have it yet.

antiwonto: [auto] Hey j4at, here is a :taco: for loggin in today while it is quiet. You now have 8 tacos

j4at: telerama

telerama: i'm in bronze league and i have the next checkpoint angle which i found out to be 0 on first turn

telerama: so yeah the pod is oriented toward the first checkpoint at the beginning

waterproofsodium: gm

antiwonto: [auto] Hey waterproofsodium, here is a :taco: for loggin in today while it is quiet. You now have 46 tacos

Mehdi_Moulati: gm

antiwonto: [auto] Hey Mehdi_Moulati, here is a :taco: for loggin in today while it is quiet. You now have 2 tacos

Default avatar.png meansgarlic: gm

BlueArtemis: morning

antiwonto: [auto] Hey BlueArtemis, here is a :taco: for loggin in today while it is quiet. You now have 1 tacos

Default avatar.png Nahu: hi

NonVeganTeacherFan: morning

~Gambit~: gm

smhb: taco

Lynch[0]: #taco

Husoski: use /join taco to get to that channel

Inferno_dragon: hehehehaw

Inferno_dragon: or just click that "#taco"

Mortis_666: another contest 👀

Inferno_dragon: yep

Inferno_dragon: could be fun

MAWAAW: show time !

Inferno_dragon: really

MAWAAW: :D