Unkmar: What measurment are you given of the circle? radius, diameter, circumfrence?
Unkmar: What is the given information? angel in degrees or radians?
Unkmar: if angle is in radians, Just multiply angle by radius.
MadKnight: u can just reset your code
jacek: good morning
jacek: are you mad, knight
CopperFr: shadow of the madknight
professional_dumbass: is there a problem with my ide
professional_dumbass: code editor
professional_dumbass: i don't see people who submitted
jacek: Automaton2000 do you even submit
Automaton2000: is it because of the way
ThunderbirdOne: is it the way though Automaton2000?
Automaton2000: i don't get what you're saying
Whatar: why are we still here Automaton2000?
Automaton2000: somehow i have a question, how do you know if i got it
PurCHES5: cuz u need to wait for a while
PurCHES5: there should be a downcount on the top left corner of your IDE
PurCHES5: good luck
Bob: CSB -> -3v
jacek: Automaton2000 whats -3v
Automaton2000: if a unit is on an inactive cell at the start
eulerscheZahl: you have to spell the name correctly to get an answer tab-completion can help
eulerscheZahl: aut[tab] => Automaton2000
Automaton2000: what would be the same as the ones used during the event. your final score may thus differ from your ...
jacek: how first compilator was compiled?
2ndwolf: it would be nice to have our replays in another window, for us with 2 screen
2ndwolf: the debug mode is convenient but having to switch from fullscreen to ide isn't optimal
eulerscheZahl: why don't you just click the 3 dots below the replay?
2ndwolf: ooo you'r eright
2ndwolf: I clicked that before but because it said share I didn't realize it was what I needed
Uljahn: ils: can you see recaptcha here? http://patrickhlauke.github.io/recaptcha/
eulerscheZahl: i see a school bus
2ndwolf: lol my bot beats bronze league 1 boss but I'm loosing ranks in arena
2ndwolf: (coders strike back)
2ndwolf: there u go, here's an ai
2ndwolf: just gotta work out the specifics
2ndwolf: aren't those the same thing
2ndwolf: I learned that one to answer to people who'd call me a maricòn
2ndwolf: for laughs
2ndwolf: I don't know much but I had lessons in high school
2ndwolf: we understood first time I think
2ndwolf: I learned to code on graal XD
2ndwolf: honestly it sucks now so don't code on graal
Insufficient: what sort of coding do you want to learn how to do
Insufficient: for what purpose
Insufficient: honestly for those applications probably do some of the online courses
Insufficient: codingame is good too for games :)
Insufficient: try udemy or coursera
2ndwolf: is a very good resource
2ndwolf: it starts from the basics
2ndwolf: there are some chapters that flew over my head but it's ok, it makes it a complete book
Insufficient: also there are actually a ton of good youtube videos on web development etc, just have an explore
Insufficient: also my friend is a game dev and he taught himself and did game jams on itch.io
2ndwolf: ludum dare <3
Insufficient: so yeah dig around playing with game engines like unreal, unity etc
2ndwolf: notch is a ludum dare contestant :P
2ndwolf: or used to be
2ndwolf: test it
2ndwolf: have you tried googling it.........
AntiSquid: how's your game TheCodeKid123?
AntiSquid: the one you wanted to make
jacek: The Game?
jacek: because hes the mod
jacek: and speaking red when angry
jacek: he was angry
jacek: specifically at you, TheCodeKid123
MadKnight: say red to TheCodeKid123 Automaton2000
Automaton2000: i think it is a great ide
eulerscheZahl: Automaton2000 say hello
Automaton2000: i guess you would need to use some form of it
jacek: AutomatonNN can you say red to someone
AutomatonNN: that was a lot of time to read
eulerscheZahl: AutomatonNN can tell you
AutomatonNN: what is the first time i came here?
eulerscheZahl: even Mac users have an F4
eulerscheZahl: i'm hungry. and the good news is I have beans :)
jacek: hi hungry, im dad
jrke: two automation ?
Automaton2000: just make sure your bot is not very good at it
Automaton2000: it's ok to have a nice day
eulerscheZahl: and the bad news is i don't have bread
eulerscheZahl: (╯°□°）╯︵ ┻━┻
Automaton2000: at the top of the leaderboard
jacek: bread with beans?
eulerscheZahl: well, toast
eulerscheZahl: afk buying some
jrke: try bread butter
jacek: or butt breader
Illedan: 2048 done euler?
Illedan: Oh, new multi :D
Hjax: i was just talking to someone about an anime that has a lot of penguins
Illedan: Wood2 :tada: Just have to wait for 100 % :zzz:
eulerscheZahl: yes Illedan i think it's ready
Illedan: Cool, did you manage to code something to fill the board perfectly?
eulerscheZahl: no, my solver is still pretty basic
Illedan: Aiit, maybe I'll try later :)
eulerscheZahl: right now i try to simplify the testcases for sokoban and put that one up for approval
eulerscheZahl: do you think 2048 is ready? or should i keep it WIP for another week?
Illedan: Give me a few days to test. I feel it might be very easy, but I might be wrong :)
eulerscheZahl: the alternative: make it a puzzle too
eulerscheZahl: https://www.sourcecode.se/sokoban/levels that "696" seems easy enough
eulerscheZahl: i don't want another space maze
jacek: noeone wants :v
Hjax: in 2048 if you work out the seeds in the test cases cant you just precompute everything?
DomiKo: won't there be problem with slow output?
eulerscheZahl: i even give the seed as input and it's all publicly available on github
jacek: you timeout, Illedan
Hjax: so its definitely best to just solve offline then isnt it?
eulerscheZahl: the point is: there is no way to hide the seeds. the contribution itself is always accessible and shows the validators
eulerscheZahl: that's true for all optim problems sadly :(
jacek: so it only takes that guy with meta mcts to get highest score?
Hjax: i wonder if a 2048 multi is possible, both sides have a board, and choose where to place the tiles on their opponents board
eulerscheZahl: you still need an offline solver that performs well. i'd love to force players to reach the scores purely online, it's just not possible by the design of CG
eulerscheZahl: hm, that sounds interesting
jacek: or maybe give seeds for 20 moves, then they need to query new seed for another 20 moves
eulerscheZahl: but are 300 turns enough?
eulerscheZahl: Jacek it's still either hardcoding (always the same list of seeds) or random validators
Hjax: i recall someone made an AI that maliciously placed tiles in a 2048 game
eulerscheZahl: i don't want a random score on submit
Hjax: and the games ended pretty fast, even if you ran the minimax ai against it
jacek: like S Z tetris?
eulerscheZahl: but now i optimized for 10k+ frames :cry:
eulerscheZahl: and my sokoban multiplayer idea didn't find any friends
eulerscheZahl: give an incomplete map. first you place some more walls, boxes, ... for the opponent
jacek: maybe try it during contest
Hjax: sounds like great escape
eulerscheZahl: then you swap boards and solve what the opponent gave you
eulerscheZahl: great escape is played on a single board
Hjax: true, but the idea of placing obstacles in such a way to slow your opponent down is similar
Hjax: if struct doesnt come back soon, i might try to make a chess multi
eulerscheZahl: shouldn't be to hard to code
Hjax: probably 960, or regular chess
Illedan: Sorry jacek xD
Hjax: if we want to be true to the codingame spirit, we could do that new fog of war chess variant :P
Allis: Fog of War?
Allis: Crazy timing there.
jacek: sounds german
jacek: sounds like blitzkrieg
Hjax: chess 960 takes away opening books, hard to say if thats good or not
Hjax: chess book theory is kind of interesting
eulerscheZahl: i saw a fog of war breakthrough on another website each pawn running on a different instance of your program so they don't have a shared memory
jacek: smits might not like it :v
eulerscheZahl: and you have to guess what your opponent and teammates (=you) are doing while having a limited vision
eulerscheZahl: an interesting idea. but not possible on CG
Hjax: the fog of war chess variant is basically, you can see any square you can legally move a piece to, and the squares that have your pieces on it
jacek: on a bright side, my breakthrough bot won 5 games so far on littlegolem
Hjax: so a knight can attack a queen without being seen
Allis: Or the King, for that matter.
Illedan: Wood1 :tada:
Hjax: the poor king is quite blind in fog of war chess
jacek: imo i'd keep it classy, maybe 960
Hjax: yeah i agree
Hjax: a 960 engine can play normal chess unmodified, which means i could see mine have a depressingly low CCRL rating
jacek: you have chess engine?
Hjax: i will if a multi shows up :P
Hjax: ive written players for a few board games now, connect4, checkers, othello
Hjax: no chess yet
jacek: new programming language for CG plz https://tabloid.vercel.app/
Hjax: i think a problem would be if someone managed to get an existing strong engine into codingame
Hjax: probably gull
Hjax: because its public domain and not super long
eulerscheZahl: that's exactly why no one ported chess yet
eulerscheZahl: too well studied
Hjax: god forbid someone figure out how to get stockfish in here
Hjax: then its all over lol
jacek: well the same good be said for checkers
Hjax: yeah i think cheating at a community multi is kind of unappealing
Hjax: its so small that mostly people will play to write their own stuff
Scarfield: and if someone shoulf manage to do it, it can still be fun for the rest of us :)
JFB: Hjax - it is really easy - simpy you have add new function (stockfish) to numpy - way foa admin to instal new version on CG - and use it in you bot :-) It is probably the only way to do it in 100 k CG limit ;-)
Hjax: you could probably get a compressed stockfish binary to be pretty tiny
Hjax: without NNUE
JFB: JBM - I think that it is not cheating
jacek: you already have stockfish ported to CG?
JFB: Hjax - I think that binary smaller that 100 k is rather not possible - or at least very difficult
JFB: jacek - I do not think it is possible in 100 k
MadKnight: what are u discussing ?
JFB: I suggest to include it in ne of the standard libraries in one of the CG languagest (for example numpy ;-) )
jacek: just as someone tried NN weight to put as python module
JFB: MadKnight - theoritical disusion about implementing chess game on CG - and port the best known algo (stockfish ) to be 1st in the game ;-)
MadKnight: what's the problem to port stockfish ?
jacek: 100k code size
MadKnight: is it longer ?
JFB: I think so :-)
jacek: maybe cfish would be smaller
Scarfield: couldnt you get something close to having a "time bank" on CG by having the possibility to "pass". If you output pass, the opponent cant move, since its not his turn, but get time to think as well, and will have to pass, untill the first player having passed actually moves
JFB: https://stockfishchess.org/download/ - kompressed is 225 k - maybe it is possible?
PatrickMcGinnisII: Does this work for anyone, or just me? https://drive.google.com/uc?id=1wC89q3utXV-eBpCdGEFhB51A2osMvPGQ&export=download
eulerscheZahl: and the limit is 100k chars, which is more than 100kB with unicode
eulerscheZahl: Google Drive can't scan this file for viruses.
Star Wars Mega Bundle.zip (141M) is too large for Google to scan for viruses. Would you still like to download this file?
eulerscheZahl: no, i don't want to download
PatrickMcGinnisII: it's just images in a zip file, gheesh
PatrickMcGinnisII: just making sure it works
JFB: PatrickMcGinnisII - what it is ?
PatrickMcGinnisII: Oh it's someone's collection of 1000 starwars images
JFB: google say it for every download > 100 MB .
PatrickMcGinnisII: it's wird the stuff found on goodle drive
PatrickMcGinnisII: damn can't spell, feel like crap
Schwase: im on a hot streak for clash, double digit participations without a signle shortest mode
Schwase: lets keep its up!!!!
MayoDewitt: congrats bro
PatrickMcGinnisII: should i play Penguins or install 8GB of memory, a 1TB SSD, and a new cpu cooler?
MayoDewitt: how do you handle this last one
Schwase: i just jinxed it
eulerscheZahl: i'm not scared of viruses. i'm just not in a mood to download it
Schwase: mayo what?
MayoDewitt: im in the game you just blowed up
Schwase: yeah dude ive played a lot of lobbies
Barroso208: who wants to code with me?
MayoDewitt: kk i understand
Schwase: what was the puzzle?
JFB: So c++ stockfish code is 560 kB. So it looks for me that I was wrong - port it to 100 k is not imposibble - it is only very difficult
Schwase: the brian one?
jacek: penguins? im so alone in wood
Schwase: i strongly dislike when a clash puzzle creator feels the need to require use of a long type but only on one of the last few test cases and its only because of the operations that lead to the output that that data type is necessary and its not even part of the input
Schwase: it was a ^2 problem
PatrickMcGinnisII: is a Penguin board always 8x8?
MadKnight: why is it so long JFB ?
jacek: thats what she said
jacek: why are you red TheCodeKid123
AntiSquid: hi TheCodeKid123
Schwase: when you get first in an 8 player shortest CoC lobby because no one likes to read the actual problem statement and so they all get 60/70% while you take your time writing a 200+ character code
Laminator: non-python problems lol
LastRick: Meanwhile Dart users: Write 200 characters of code, only able to parse inputs
Schwase: java and dart are similar when it comes to usefulness in code golf. theyre not
LastRick: Yep. Always have to switch to Python on shortest just to have a chance at winning
Laminator: If you're going to switch for shortest, I would suggest ruby or bash. Optimal code is unbeatable by python.
LastRick: ruby for sure. But python I know by heart (ruby not so much) and that's enough to at least make it competitive.
PatrickMcGinnisII: If I don't have a penguin ID because there are 0 on the board, how do I move one on the board with an unknown id? wth
PatrickMcGinnisII: all penguins should be input with -1,-1 or something
PatrickMcGinnisII: do i have to pull the id from the action list, or just use the next posible id #?
LeRenard: comment ca se fait que dot & boxes il y a plus le lien de telechargment
LeRenard: erreur de detinataire
PatrickMcGinnisII: ahh penguins don't have unique ids across all players
PatrickMcGinnisII: huh, won my first penguin game
PatrickMcGinnisII: now I submit and quit
jacek: and they say there are no games for linux
2ndwolf: OH TNX FOR THE INFO JACK
2ndwolf: sorry caps
2ndwolf: haha I was thinking the same thing but figured just bumping him while I'm close with a good angle would be enough
TheCodeKid123: check out this website https://www.tynker.com/code/project/vfs/project/5f737c0bd67d87731106b544/index.html
2ndwolf: yeah but I was thinking of simpler, conditions
2ndwolf: what league u in
remi6: To me it says " Oops, it seems our codeblocks didn't connect", TheCodeKid123.
JackTheRipper18: I'm just in bronze atm, I could probably beat it but I'm building a ton of shit rn because at first I was just focusing on making it work well enough to win, and it was an unorganized mess.
2ndwolf: it seems dist/10 + a couple things is enough to be close to boss in league 3 bronze
Zenoscave: MadKnight they need to know about -3vel
Astrobytes: don't overthink Coders Strike Back til you get to Gold
Astrobytes: lol, don't listen to ol' pewpewpew over there
Zenoscave: it hust is red when someone mentions your name
Zenoscave: it only turns red for the name mentioned
Zenoscave: -3vel is the key
Zenoscave: or is that outdated?
Astrobytes: I didn't use it but it works yeah, insta-gold
Astrobytes: Nope, going offline, sorry buddy
Astrobytes: gn all
Zenoscave: gn Astrobytes
Zenoscave: TheCodeKid123 please stop spamming
Zenoscave: that's certainly not gonna happen if you keep acting so.
Zenoscave: I already told you. If you type someone's nickname it shows up red to them. not anyone else
jacek: to think i could have been mod
Zenoscave: It won't work if you say your own name. Yes it is red.
Zenoscave: jacek, did you decline?
jacek: yes, i troll too much
Zenoscave: MK 2.0
2ndwolf: he said he was 8
2ndwolf: that said now that I know all my code was scrap I'm not sure how to optimize my csb bot not
Zenoscave: ezpz -3vel
Zenoscave: (tx, ty) = (cx - 3*vx, cy-3*vy)
Hjax: hes talking about the oneliner csb solution
Hjax: gets you to gold if you just move according to the equation he just mentioned
Hjax: targetx, targety, currentx, xvelocity, currenty, yvelocity
Zenoscave: hjax simply meant simple statement with no heavy logic or understanding by oneliner
Zenoscave: If you want to know why that works look into this. https://gamedevelopment.tutsplus.com/series/understanding-steering-behaviors--gamedev-12732
2ndwolf: so I gotta compute thrust from reversing this thing?
2ndwolf: omg great resource thanks
Zenoscave: nope just thrust 100 always. ezpz
Hjax: my csb is rank 458 gold
Hjax: 20 lines
Hjax: close enough to one line :D
Zenoscave: the -3vel accounts for over shooting
Hjax: i could golf it down a bit more
Zenoscave: faster you go the sooner you stop
Hjax: i could probably get it under 10 lines
2ndwolf: and 10 functions XD
Hjax: functions? who uses those
2ndwolf: ok I almost won against bronze 3 boss with (destX destY 100)
2ndwolf: but it's absurd
2ndwolf: I'm about a 100 px behind with just console.log
Zenoscave: Hjax you still on?
JackTheRipper18: Although it's definitely not efficient, it's cool to look at, if you set thrust to 0 the second the dist<2861 you'll be 100% stopped the same frame you reach the checkpoint, as long as you use angles <4
2ndwolf: omg lol I just won ~12000th to from decelerating ~200th just from decelerating when the angle isn't right
2ndwolf: damnit can't edit XD
2ndwolf: yeah I've stopped stopping my pod because of that
Hjax: whats up Zenoscave
Zenoscave: Do you shield in CSB yet? I'm interested in comparing 20 - liners
Zenoscave: ^ Hjax
MadKnight: Zenoscave 20-liners that do what ?
Zenoscave: csb ofc.
MadKnight: gold ?
MadKnight: in python or c++ ?
Zenoscave: seeing how far up I can get in gold on a smurf. ruby
MadKnight: simple movement simulation is allowed ?
MadKnight: no collision
Zenoscave: no simu
Zenoscave: just steering maths
MadKnight: just the pos += vel
Insufficient: i have rank 400 or so with an 80 line heuristic python 3 script no simulation or anything
Zenoscave: a bit more
MadKnight: try my formula Zenoscave
darkhorse64: 20 lines is too much code
MadKnight: wait are u doing the optimization one ?
Zenoscave: just csb
MadKnight: then try my formula
2ndwolf: 120 ranks from boosting at a different moment
MadKnight: Zenoscave u got the formula working ?
Zenoscave: not yet
Majeck: Is there any way to know an account's age?
LastRick: @Majeck, I noted that if I look at your profile, in the tab Ranking, the graph has tooltips which show the date that your ranking moved. So I am guessing you joined not too long before that
2ndwolf: I've seen him ask that question before
2ndwolf: who is majeck
2ndwolf: thought bot for a moment sorry
2ndwolf: look for the highest number in array O_O
2ndwolf: nah you have to validate every test case with one version of your code
Majeck: Thanks @LastRick
LastRick: @SuperN3rdy, the one by tutbalin? If so, I solved it without regex (I rarely use that) so I can probably help
Majeck: @2ndwolf I'm not a bot, but you have a sharp memory!
LastRick: Maybe. I don't know, I don't do discord.
LastRick: So the best hint I can probably give you is I used a HashMap to solve it. Are you familiar with those?
LastRick: Dart. So with that in mind, is there a value or expression you could store for every number 0 through 9?
LastRick: You're really close. Maybe there's a way you could change the three-line ASCII number into a usable key.
LastRick: That's close! Keep going :)
LastRick: Best of luck!
MadKnight: > Does this chat not link to the full discord? no it's a separate chat system
MadKnight: are u doing the chuck norris ?
MadKnight: or file extensions ?
LastRick: You got it.
LastRick: Yeah, you figure out quickly here if you're working really hard on a problem and it's level is Easy, probably a better way to do it.
LastRick: Keep at it, you'll be flying in no time
LastRick: My pleasure
Majeck: Quick annoying question: What's the command to send text to the error stream in python3?
Majeck: In C# for example it's Console.Error.WriteLine()
Majeck: Yep! Thanks!
MadKnight: what are u doing majeck ?
Harrogin: first day on this site. clash of code is awesome!
LastRick: No problem. On to the next one!
LastRick: Good to hear. Yep, once you get past the HashMap concept, it's basically a string parsing puzzle. If you like that kind of stuff, go try an ASCII art one.
LastRick: hah hah
LastRick: Sorry, HashMap, I forgot you existed
SuperN3rdy: Yea it's so useful but I always forget it and end up using just list/array and write a bunch of code to compare which is dumb of me. But when I 1st started coding I don't think hashmaps was a thing back in 2000
LastRick: Welcome back! :)
MaliciouslyCrypticUsername: lol I was just promoted to wood 1 of the great escape and my bot literally just moves in one direction