Chat:World/2022-02-23
6sdcuy: brawl star
Mortis_666: :open_mouth:
6sdcuy: ur in replit?
6sdcuy: u make the mortis caculator?
Mortis_666: yes
Mortis_666: lol
6sdcuy: what a coincidence
Mortis_666: ya
6sdcuy: u play brawl star?
Ckim0512: I dont understand anything
Roseofanotherworld: what are you working on?
Ckim0512: Well Im doing the mad pod racing but I need to work with python3 in which I have never used in my entire life, and well im inexperienced and have only used javascript
Ckim0512: like how am i suppose to do something if i dont know or understand python
Uljahn: you can choose another language
Ckim0512: I was told to only use python
Ckim0512: nothing more or nothing less
Ckim0512: I could change it but I was told to python so idk
Uljahn: you have to learn python first somewhere else
Ckim0512: thats what im saying but i have never done it before and they told if you did java python should be okay
Uljahn: eh?
Ckim0512: I dont know what to do
Uljahn: chill in the chat
Ckim0512: imma realize here for a while
Ckim0512: anyone do video editing ik this is out of the blue
YS_Yousef: XD I am playing now my contribute
Andriamanitra: i have now solved the coin guessing game in ruby, python, haskell and D
Andriamanitra: what next
Ckim0512: show me how to do in python
Andriamanitra: i used sets in python
Andriamanitra: keep one set of possible even sides for each odd side and remove elements as you find out which ones are impossible
Andriamanitra: when all those sets are of size 1 you are done
I_love_CoC: Ckim0512 you could also use numpy.ones and put [i,j] a zero when even and odd don't pair each other
MrZee: See I just made a coin object in C# to hold the odd and even and a list of possible evens, then assigned an odd number to each coin and once the list of possible evens went down to one I set its even to the remaining number
JSboss: $><<gets.tr(gets,$_[-1]+$_)
6sdcuy: how to use thrust in mad pod?
5DN1L: print it where you originally print the thrust value
5DN1L: oops
5DN1L: what do you mean???
5DN1L: I thought you were asking about BOOST?
6sdcuy: yep
5DN1L: so my answer still holds, whew
Ronins: Whep
Ronins: Nobody there
6sdcuy: i mean like the solution for first level
5DN1L: what do you mean by first level
5DN1L: Wood 3 or 2 or 1 League?
Ronins: 1 league
5DN1L: Not asking you Ronins
6sdcuy: tutrotial boss
5DN1L: 6sdcuy every league has a boss
5DN1L: you can look at the top of the website and check for the league there
6sdcuy: http://chat.codingame.com/pastebin/3ba02e2a-ebcf-4317-b798-fcd1b87f54e2
5DN1L: top left
5DN1L: not the coding area
6sdcuy: oh wood 3 league
kurtesy: GIL is hell
5DN1L: ok. 6sdcuy
6sdcuy: nvm
5DN1L: i see that in your code you have print("1") near the bottom
5DN1L: it's not needed
5DN1L: if the pod is still not good enough, you may also try changing the thrust value from 50 to 100
6sdcuy: so i print("100")?
5DN1L: nope
5DN1L: the whole code is just what it's intended to be like
5DN1L: don't add any lines
5DN1L: in this league, you're supposed to correct the last line only
6sdcuy: isee
Ronins: Hello there
5DN1L: and 6sdcuy, every turn you're supposed to output three things to make your pod move
5DN1L: x-coordinate
5DN1L: y-coordinate
5DN1L: thrust
5DN1L: so just outputting 100 will result in an error
5DN1L: print(str(next_checkpoint_x) + " " + str(next_checkpoint_y) + " 50")
5DN1L: ^ this is fine, but i'm saying that you may try changing 50 to 100 in that line if needed
6sdcuy: http://chat.codingame.com/pastebin/8a56dff1-c084-4c40-9599-8d62823978ec
5DN1L: you need the space before 100
Andriamanitra: well that was quite a journey but i got my clojure solution for coin guessing game working :D
5DN1L: wow
5DN1L: good job
5DN1L: i always find clojure very horrible to write
Andriamanitra: thanks
Andriamanitra: immutability makes things tricky
5DN1L: all the brackets...
6sdcuy: http://chat.codingame.com/pastebin/830b66fe-6beb-4d0e-b714-771209e65da5
5DN1L: yes 6sdcuy
Andriamanitra: i don't mind the brackets themselves but i can never figure out how to properly format the code, like indentation and stuff
Uljahn: here is more readable version: print(next_checkpoint_x, next_checkpoint_y, 100)
6sdcuy: ok thank you
5DN1L: you're free with your indentation style i think, Andriamanitra lol
Andriamanitra: well yeah the language doesn't care but it is quite hard for a human to follow :D
Andriamanitra: like https://i.imgur.com/LxUN2JZ.png
5DN1L: yeah, that looks clear enough
Andriamanitra: i don't like having so many different levels of indentation going up and down, i'm sure a more proficient clojurist could make it look nice
5DN1L: DDP554 are you in the wrong channel?
6sdcuy: can my pod be faster?
5DN1L: Andriamanitra I'm not a proficient clojurist so i would just vote for the indentation you have lol
6sdcuy: http://chat.codingame.com/pastebin/2983b566-849d-4dbb-b5ab-a68a7b930ab4
5DN1L: 6sdcuy you have defined how thrust value should be changed in the if block, so you can use that in the print statement below
Mortis_666: ughh I want to change the email for this account but I forget the password
5DN1L: 6sdcuy, so instead of " 80", you use " " + thrust
5DN1L: str(thrust) i mean
6sdcuy: ok
6sdcuy: after i change why it's still won't work
6sdcuy: print(str(next_checkpoint_x) + " " + str(next_checkpoint_y) + str(thrust))
5DN1L: space
Uljahn: you need + " " + str(thrust))
6sdcuy: not working either
6sdcuy: print(str(next_checkpoint_x) + " " + str(next_checkpoint_y) + "" + str( thrust))
5DN1L: space?
5DN1L: "" is not a space
5DN1L: " " is a space
6sdcuy: still the same
5DN1L: what's your code now
5DN1L: whole thing
6sdcuy: http://chat.codingame.com/pastebin/cc2529fe-258a-4413-aae0-df63b2d937ee
5DN1L: thrust = 100 not 1000
6sdcuy: oops haha forgot to change
6sdcuy: is this how i use boost? print(str(next_checkpoint_x) + " " + str(next_checkpoint_y) + " " + str( thrust) + " " + "BOOST")
Andriamanitra: f-strings are your best friend my dude
Alphyn: Hi everyone! Is there a way to see the current thrust value in debug? That would be more useful than current position.
MrZee: Yeah, if you open the console it should show your output line every step of the way
Andriamanitra: @6sdcuy you can write f"{next_checkpoint_x} {next_checkpoint_y} {thrust} BOOST" instead of all that str() and +" "+ nonsense
5DN1L: better one step at a time :P
Alphyn: 6sdcuy, no, you have to figure out how to replace thrust with boost at the right time
5DN1L: 6sdcuy you don't output both a thrust value and BOOST
5DN1L: you're allowed to output only one of them in a turn
6sdcuy: ok
5DN1L: and in the whole game you're allowed to use BOOST once only
6sdcuy: ok then i think its better to use thrust then
5DN1L: a boost is a more powerful thrust
5DN1L: so I use boost in the first turn
5DN1L: then i use normal thrusts in all the following turns
Alphyn: ideally, you need to write a condition for the best time to use boost
5DN1L: it's just my strategy, you can use yours
6sdcuy: ok
MrZee: I think what I did was just make a thrust string and when I needed it to be a thrust I would have the thrust set to " 100" and when I needed it to boost I would have the string change to " BOOST" for just the one turn and use a bool to determine if boost was already used or not
6sdcuy: ok
5DN1L: as Uljahn mentioned earlier, in python, the easiest way to output is
5DN1L: print(next_checkpoint_x, next_checkpoint_y, thrust)
5DN1L: then you need not worry about using str() or adding spaces
5DN1L: spaces will be automatically added in between
**MrZee Sings The Space Between
5DN1L: :clap:
6sdcuy: is this how to use thurst and boost at a same time?
6sdcuy: http://chat.codingame.com/pastebin/d0dc2a05-ee94-46c4-bc94-66567918f6d8
5DN1L: your code contains 2 while loops?
6sdcuy: so is that ok?
5DN1L: nope, not ok
6sdcuy: ok
5DN1L: if you're following my strategy, then you use BOOST based on whether you are in the first turn or not
5DN1L: instead of depending on the value of next_checkpoint_angle
Alphyn: for that, you can just put thrust = "BOOST" before the loop
Alphyn: but that will backfire if the first CP is really close.
6sdcuy: how to use boost at when the check point is far ahead?
Alphyn: you have the distance to the next checkpoint imput
6sdcuy: ok
6sdcuy: http://chat.codingame.com/pastebin/cf1c4596-e866-4d8e-aa5d-dc72a9991655
6sdcuy: wrong code
6sdcuy: http://chat.codingame.com/pastebin/113bb350-ddc6-4513-ba59-6109210e4854
5DN1L: delete the space before BOOST
5DN1L: and you have to set b to False afterwards
6sdcuy: ok i fogot
5DN1L: b = True should be moved before the while loop
6sdcuy: http://chat.codingame.com/pastebin/a61596f1-a05a-43dd-ac10-8243fa3aaaa6
Alphyn: That doesn't make much sense to me, if you're going to use the boost only once at the start, why do you include it in the while loop to be checked every time&
5DN1L: already amended
5DN1L: 6sdcuy your code looks fine now
MrZee: All that's left is to test, submit, and then make changes when you come up with ideas on how to make it navigate faster
6sdcuy: but the pod and the boss is not moving
Alphyn: I respectfully disagree :) I think the entire "if b == True:" block is redundant
5DN1L: 6sdcuy what does the console say
MrZee: What would you propose as a substitute to make sure it only runs on the first loop?
Alphyn: You have an extra space before thrust output, 6
6sdcuy: ok it works when i test on arena
6sdcuy: but in the test area it won't
5DN1L: Alphyn that extra space is not relevant
MrZee: You may need to refresh the page, that happens sometimes
6sdcuy: oh ok then
6sdcuy: how to go to bronze league
6sdcuy: i already reah rank 1
6sdcuy: on wood league 1
MrZee: Git gud enough lol, jk, there's a boss in the arena leaderboard. Once the arena is done processing if you beat the boss it'll move you up
MrZee: But the arena process takes a minute, you can see a percentage below the playing screen after you submit
Alphyn: https://pastebin.com/Mb6dSyb4
6sdcuy: oh ok
6sdcuy: but i defeated the boss
6sdcuy: ok nvm
Alphyn: oh, ok, I now see how I'm wrong
Uljahn: Alphyn: it'll never boost
5DN1L: 6sdcuy you can see the progress of your races by clicking LAST BATTLES on the left
MrZee: Ok lol, I was honestly interested if you had a way
Alphyn: thrust will be overwritten before it can be printed, yes
5DN1L: 6sdcuy when the races are running don't submit your code again otherwise you will have all to do all the races again
6sdcuy: man i submit the code again xd
5DN1L: yeah i know :P
5DN1L: Now sit back and wait
5DN1L: you can click a few battles to watch
MrZee: It can give some good insight on how to make your code better if you can figure out what other people's pods are doing
5DN1L: better do that in Bronze instead of now, though
MrZee: Yeeeeaaaaahhhhh
Alphyn: I'm trying to implement some braking before reaching the checkpoint logic but I feel it only makes it worse :)
MrZee: One of the tactics I used that got me through a few leagues was to use the first lap to build a list of every checkpoint location so in the 2nd and 3rd lap I could target the next checkpoint just before reaching the current one. It's tricky to get the timing right, but it helps a lot
Alphyn: That dude I'm up against never bales lol and does a better job lol
Alphyn: Thanks for the advice, it sounds a bit advanced, but interesting
MrZee: Is discussing strategies ok on here, or is it preferred to just let other people come up with their own ideas?
5DN1L: it's ok
5DN1L: just don't share whole code
MrZee: Cool
derjack: or, target next checkpoint - your current velocity
Alphyn: when do you unlock the velocity input?
MrZee: Yeah, Wontonimo gave me that advice and that also helped a bunch
MrZee: You have to calculate it yourself
MrZee: In gold they give it to you, but before then, you have to do your own calculations
Alphyn: but how do you take into account collisions with the other ships?
MrZee: I think it's silver or bronze when they get collisions and when they do you get input for enemy positions
6sdcuy: whats the diffferent between ND and TH
6sdcuy: in ranks
Alphyn: That's definitely over my paygrade, lol :)
6sdcuy: wdym
Alphyn: I'm still a beginner and calculating velocity taking into account the collisions is definitely far too complex for me
6sdcuy: whats the real word of ND and TH?
MrZee: Velocity would be your current position minus the position you were on the last loop so you'd have to track x velocity and y velocity and then subtract them from the x checkpoint and y checkpoint
MrZee: Not sure about the ND or TH, I don't recall seeing those
Uljahn: 6sdcuy: 2nd, 3rd, 4th
derjack: oO
Alphyn: Am I seeing this right? You're in the first place in Bronze, 6sdcuy?
Alphyn: https://imgur.com/a/WnJWYxb
derjack: and above the boss
Alphyn: Now don't touch anything for 12 h 40 m lol
MrZee: Looking at the general leaderboard, they're in silver now
MrZee: I didn't even realize until I looked at the general leaderboard that there's a scoring system lol
5DN1L: what do you mean by scoring system
MrZee: The TrueSkill number
5DN1L: ah that
5DN1L: ok
Alphyn: Now I'm the number 1 in Bronze somehow
Alphyn: I think the trick is to only ever race the boss, not other dudes at the arena
MrZee: Did you submit your code to the arena at all?
Alphyn: By pressing Test in Arena?
MrZee: Yes
Uljahn: btw leagues prior to gold are considered tutorial and then the real game starts (same rules as in the contest) :smirk:
MrZee: Oh yeah, I had to scrap all of my code and start over when I got to gold lol
Alphyn: Yeah, I raced a bunch of guys, my winrate fell to 20%, and then I started testing the same code against the boss and somehow it's 83% now. It doesn't make much sense.
MrZee: The arena keeps going even if you click off of it
Uljahn: ye, arena matchmaking is automated
Alphyn: Then it looks like my braking code works, lol
Alphyn: Ok, does my ship at the arena use the version of code I had when I last pressed the test in Arena button? Or is it auto-updated with the current version?
MrZee: It keeps using the last code you submitted
Alphyn: Do you know If I can see it? I used to be really good 20 minutes ago before I started fixing it.
Alphyn: It's in the history tab
Alphyn: and yeah, it's the simplest version, without the braking
Yoonshan: is there a way to debug in the ide?
5DN1L: yes
5DN1L: the default code normally tells you how
Yoonshan: I mean the lazy way, not by writing tons of WriteLine
5DN1L: what's the lazy way
Yoonshan: one breakpoint and you can highlight any variables to show their output
5DN1L: probably not
Idk.-_-: hi everyone
Alphyn: Hi!
MrZee: I think I'm getting close to a code that'll get me into legend league in Mad Pod!
struct: o.o
struct: did you write a sim for it?
struct: or are you doing heuristics?
MrZee: It's not finished yet, but what I have so far got me to rank 512 in gold. I haven't even implemented the boost yet
MrZee: I'm just out of time for writing code for the day so I'll have to finish tomorrow
MrZee: I kind of sort of reverse engineered the boss pod lmao
paulo-e: I hope everyone here has a great day
MrZee: You too!
6sdcuy: how to approve and reject contribution
5DN1L: You need to reach certain requirements first
5DN1L: https://www.codingame.com/playgrounds/40701/help-center/approval-process
6sdcuy: because i need to complet the quest
6sdcuy: the moderate a contribution
6sdcuy: does that quest requires me to make a question?
struct: I think so
struct: not sure
struct: maybe its just to approve / reject
6sdcuy: how?
5DN1L: You need to reach certain requirements first https://www.codingame.com/playgrounds/40701/help-center/approval-process
6sdcuy: i have already 50 clash
5DN1L: You can't approve or reject any clash contributions yet
6sdcuy: so ineed 300 clash?
5DN1L: *can
5DN1L: sorry
struct: 50
6sdcuy: yes
struct: or level 20 for puzzles
5DN1L: so you can look for a clash of code contribution under COMMUNITY > CONTRIBUTIONS page
6sdcuy: ok
5DN1L: and check whether the contribution fulfills the contribution guidelines
5DN1L: test it against your own solution
5DN1L: and if all look good, approve it; if something's bad, ask the author to change it
5DN1L: if it looks really bad or a duplicate, reject it
6sdcuy: so you mean downvote?
5DN1L: nope
5DN1L: some contributions are WIP
5DN1L: you can't approve or reject them
6sdcuy: whats that
5DN1L: WIP: Work In Progress
5DN1L: the title would show WIP if it is one
6sdcuy: i dont have the reject or approve button
5DN1L: which link
6sdcuy: i mean i have it but i cant press it
6sdcuy: https://www.codingame.com/contribute/view/785051b7ed34dd572ab8cc637d5d200e033a
struct: you need to be level 20 for puzzles
paulo-e: does less characters on a clash of code gets you more points?
struct: like I said
struct: no
5DN1L: 6sdcuy that's not a clash
5DN1L: that's a classic puzzle
5DN1L: https://www.codingame.com/contribute/community
5DN1L: on the top you have a menu to filter
paulo-e: I'm ranked 4th on a clash of code game. Even though I completed it before. Everyone ranked higher than me has less characters
paulo-e: https://www.codingame.com/clashofcode/clash/report/22469918a93b8eb4aed00eb1ddfa239f98707cd
6sdcuy: ohh ok
5DN1L: you're in the shortest mode
5DN1L: that's why paulo-e
struct: yeah on shortest speed doesnt matter only char count
5DN1L: ranked by score then length of code then time of completion
6sdcuy: how to get more rookie points?
struct: https://www.codingame.com/multiplayer
struct: By playing anything on this
5DN1L: speed matters when score and char count are the same
struct: ah wait
paulo-e: can I disable shortest mode? so I only do the speed one
5DN1L: no
5DN1L: you can't
struct: points are given by completing puzzles too
struct: you meant rank right 6sdcuy?
struct: If its rank you can only get it by playing the stuff I linked
struct: you will only get exp from puzzles
6sdcuy: i play clash of code many time but still does not get 1 point
struct: The max you can get from clash is 5k
struct: you currently have 3.8k because you are rank 8.8k there
struct: rank 1 gets the entire 5k
5DN1L: CodinPoints are updated only once a day I think?
6sdcuy: whats the best way to earn point?
6sdcuy: i mean what game?
struct: More players should equal easier points
struct: I think each multi also has a cap of 5k
struct: I think the formula is like
struct: min(number of players * 10, 5000)
6sdcuy: can clash of code make come point
6sdcuy: for rookie
5DN1L: CodinPoints: yes, calculated based on your ranking not based on your number of participation
5DN1L: xp: no except for related achievements
derjack: will there ever be multiplayer game event?
C26_1: idk
C26_1: Everyone
C26_1: What is Network Error: Status 404
C26_1: I want to submitting but it was too slow
5DN1L: try again
derjack: submitting bug about 404?
C26_1: Ummm
C26_1: And wait
C26_1: I forgot about a use of "None" type in Python
C26_1: Does it use for only make variable things (Not assign to have an value)?
ninjadip: yay
ninjadip: i can guess what coins zack has in front of him now
5DN1L: 🎉
ninjadip: mofo :)
5DN1L: ? is that a bad word?
Wontonimo: yes. oh well.
5DN1L: no bad words here please, ninjadip
Wontonimo: :grin:
StraumliPerversion: lol. every bad word you search shows up thousands of times
StraumliPerversion: https://cg.spdns.eu/index.php?title=Special:Search&profile=all&search=&fulltext=1
ninjadip: oh idk it was bad
Wontonimo: it's not "bad bad", its kinda "soft bad"
ninjadip: i was referring to the challenge as being the ... in question
5DN1L: and the thousands of times probably include some kicks and bans in dozens of them hopefully
StraumliPerversion: nah, the old mods didn't care much about swearing
5DN1L: we're young!
Wontonimo: i don't either. i do care about racial and gender slurs, which this isn't
5DN1L: Automaton2000 how many mods have you seen in your life?
Automaton2000: how do you do when you have a good night everyone
ninjadip: my pronoun of choice is mofo
5DN1L: good day Automaton2000
Automaton2000: i will return to the multiplayer section
5DN1L: I mean the swearing may not be the cause of kicks and bans, but they're accompanied with other spam at the same time
Wontonimo: lol ninjadip !
Wontonimo: lots of pointers. any time you create an object coder6
NewCoder09: what are you good with?
NewCoder09: coder6
NewCoder09: ok so when did you start
ninjadip: something
ninjadip: nice
ninjadip: write a hello world
Wontonimo: google "The Coding Train" coder6
NewCoder09: how many lessons have you done
Wontonimo: it's a fabulous youtube channel
struct: lessons?
ninjadip: it's a uk thing
struct: i only have a degree on bitboards
NewCoder09: coder6 how many lessons have you done
struct: learn what?
NewCoder09: no the lessons are the puzzles
struct: oh I dont do puzzles
NewCoder09: ok
NewCoder09: cool
NewCoder09: thats you
NewCoder09: but the puzzles help you learn more
struct: That might be true
struct: But the skills you learn on bot programming are not the same you learn doing puzzles
coder6: where can i laern the basics
NewCoder09: your home path
struct: you wont learn the basic here
Miki09: https://www.letmegooglethat.com/?q=Python+beginner+tutorial
NewCoder09: i learned the basics here
struct: Well it might be possible
struct: but it will probably be slower
NewCoder09: yes but starting with puzzles that are a little harder will helo you in the long run
NewCoder09: help*
antiwonto: [automated] 'help' was defined as ' https://how-to-properly-ask-a-question.surge.sh ' by Uljahn
antiwonto: [automated] 'test' was defined as ' this is a test ' by struct
Miki09: :taco: Wontonimo
antiwonto: [automated] Miki09 has awarded Wontonimo 10 tacos. Wontonimo now has 149 taco. Miki09 now has 34 taco
tayyr: when you done should you wait until the time ends or you can move
NewCoder09: :taco
tayyr: I mean to get any point
NewCoder09: :taco: sctruct
Miki09: iis struct on sctruct
Miki09: *not
NewCoder09: yeah i know
NewCoder09: hold up
NewCoder09: :taco: struct
antiwonto: [automated] NewCoder09 has awarded struct 10 tacos. struct now has 94 taco. NewCoder09 now has 1 taco
struct: thanks
struct: :taco: NewCoder09
antiwonto: [automated] struct has awarded NewCoder09 10 tacos. NewCoder09 now has 11 taco. struct now has 95 taco
Miki09: antiwonto vid = useful video on python algorithms: https://www.youtube.com/watch?v=dQw4w9WgXcQ
NewCoder09: can i give burgers??
NewCoder09: :hamburger: struct
Miki09: Only tacos
NewCoder09: dang
Miki09: But you can make mathematic equations
vinnie_rinella: can someone help me with the pod angles
Miki09: look:
NewCoder09: i dont really do it much so i dont know how the chat works
Miki09: x=5*5
antiwonto: [automated] x = 25
Miki09: x**2=4
antiwonto: [automated] x = 2
Wontonimo: sure vinnie_rinella , send me your full code
NewCoder09: x+4*4
NewCoder09: x=4*4
antiwonto: [automated] x = 16
Wontonimo: 1/x + x*2 = 99
antiwonto: [automated] x = 49.48989692907554
Wontonimo: 3^x = 9^4
antiwonto: [automated] x = 8 [sleeping]
Miki09: x**10=2**10
Wontonimo: oh, poor antiwonto, has to sleep after talking too much
Miki09: lol
Wontonimo: nope, antiwonto is [sleeping]
Wontonimo: will wake up in 1 hour
StraumliPerversion: Hmm, maybe revisit this one
StraumliPerversion: https://www.codingame.com/forum/t/wrong-chat-language-for-my-country/189415
NewCoder09: hey
NewCoder09: whats 2+2?
antiwonto: hey hey ! what do ya got to say?
NewCoder09: x=2*2
NewCoder09: hey
Miki09: :taco:
Wontonimo: antiwonto is sleeping
NewCoder09: what time is it
Wontonimo: it won't respond to anything for 1 hour.
Wontonimo: the previous message "hey hey..." was in error
NewCoder09: :taco: Wontonimo
NewCoder09: oh yeah your right
NewCoder09: he sleepy
NewCoder09: :taco: Wontonimo
antiwonto: [auto] sorry NewCoder09 but you can only award tacos once per day
NewCoder09: hey\
NewCoder09: hey
Husoski: I guess it's always Taco Tuesday somewhere...
TheHelvetHawk: Hi, I'm working on the current community problem ("A Coin Guessing Game") and I was finally able to pass all test cases in the IDE. I went on to submit my contribution and it turns out one of the tests isn't working, I have no idea on how to correct my code :/ Any tips ?
struct: which validator is it?
ninjadip: not to be mean, but unless you share your code with someone nobody knows what the problem is
NewCoder09: x=(28*13)+12
antiwonto: [auto] x = 376
struct: x = 2 & 1
ninjadip: so funny, i was so excited when i finally ran the code after my last edit and it went all the way to the 100 coins and failed, and only reason was my cerr output was slowing it down, took that out and :)
struct: x = 1 << 16
struct: :(
ninjadip: what struct
struct: it doesnt do these operations
ninjadip: what operation is that? binary shift?
struct: yes
ninjadip: to know how to do it you need to know the size of the variable, or no?
NewCoder09: x=1<<16
eulerscheZahl2: :taco: eulerscheZahl
antiwonto: [auto] eulerscheZahl2 has awarded eulerscheZahl 10 tacos. eulerscheZahl now has 37 taco. eulerscheZahl2 now has 1 taco
eulerscheZahl3: :taco: eulerscheZahl
antiwonto: [auto] eulerscheZahl3 has awarded eulerscheZahl 10 tacos. eulerscheZahl now has 47 taco. eulerscheZahl3 now has 1 taco
ninjadip: oh man
eulerscheZahl4: :taco: eulerscheZahl
antiwonto: [auto] eulerscheZahl4 has awarded eulerscheZahl 10 tacos. eulerscheZahl now has 57 taco. eulerscheZahl4 now has 1 taco
ninjadip: taco laundering
**struct bans euler
eulerscheZahl5: :taco: eulerscheZahl
eulerscheZahl: muhaha
ninjadip: off-shore taco problems?
struct: wdym ninjadip?
ninjadip: lol
struct: the know how to do it part?
ninjadip: struct eulerscheZahl is trading tacos to himself. some would call that money laundering, there's the joke, but it's tacos...
struct: ninjadip 04:45PM to know how to do it you need to know the size of the variable, or no?
ninjadip: i meant for the bot to do it
ninjadip: to know when to loop them around
struct: Im not understanding sorry
Wontonimo: okay eulerscheZahl ... try now
Wontonimo: :taco: ninjadip
Wontonimo: ;(
Wontonimo: something failed
CJNPASTA: sup fellow coders
Cash_Money_Dollar_Sign: shut the hell up
CJNPASTA: ur name is litterly a currency
Cash_Money_Dollar_Sign: yours is food
CJNPASTA: :(
CJNPASTA: :((((((((
Cash_Money_Dollar_Sign: friends
CJNPASTA: :(:)
CJNPASTA: (*0*)
CJNPASTA: me eating
antiwonto: [auto] Wontonimo has awarded ninjadip 10 tacos. ninjadip now has 21 taco. Wontonimo now has 150 taco
struct: stop spamming
CJNPASTA: N
69razer69: hey
Wontonimo: that is a warning to Cash and CJN
Wontonimo: next is a ban
69razer69: sup Wontonimo
Wontonimo: hey razor. horrible user name btw.
Wontonimo: get rid of the numbers, or change it to something pg
Wontonimo: nice rank though! you smashed it in mad pod racing and got into Ultimate tic tac toe !
gref42: how can a number not be pg
gref42: i see so u have no answer
69razer69: thanks i will change the name btw its very nsfw, tried searching my name before result weren't fun
gref42: the result is literally a viper mini ;-;
gref42: how is a mouse very nsfw
69razer69: what did you search
gref42: and all the results r viper mini
gref42: does that mean im using a dildo for a mouse or sth
Wontonimo: you could be CancerRazerCancer
69razer69: lol
eulerscheZahl: "okay eulerscheZahl ... try now" did you fix this possible exploit? :(
Wontonimo: yes, that exploit has been 'patched'
eulerscheZahl: that's the word i was looking for
69razer69: what exploit 0_0
Wontonimo: taco mining
eulerscheZahl: how, looking at the user ID?
Wontonimo: unfortunately no ID is being sent from xmpp
eulerscheZahl: so you won't be able to detect it, if i completely change the name and not just attach a 1 2 3?
eulerscheZahl: or change my profile pic?
eulerscheZah: :taco: eulerscheZahl
antiwonto: [auto] Sorry eulerscheZah but you are too new. Get someone to give you tacos first
eulerscheZahl: i see
eulerscheZahl: invite-only
Wontonimo: nope, you can log in on off hours
Wontonimo: that gives 1 taco
Wontonimo: oh, maybe there is a better xmpp message payload ... meh, i'm feeling lazy right now
Wontonimo: hey 69razer69 , make your UTTT bot do legal moves !
69razer69: wich game?
69razer69: which game
69razer69: sorry am in clash rn
Wontonimo: UTTT?
69razer69: one min
antiwonto: [auto] 'UTTT' was defined as ' Ultimate TicTacToe ' by Wontonimo
StraumliPerversion: hah, euler must have read the chat log
StraumliPerversion: :taco: Mrs.GloriaZindlebocker
antiwonto: [auto] Sorry StraumliPerversion but you are too new. Get someone to give you tacos first
StraumliPerversion: StraumliPerversion
struct: hmm is it bugged?
StraumliPerversion: Somebody stole my taco from yesterday!
Lambert_W_Function: whats up
antiwonto: [auto] 'up' was defined as ' a direction, specifically the direction away from the center of earth, opposite to down ' by Scarfield
Lambert_W_Function: thank you bot
Pollard_Rho_Algorithm: codingame
Wontonimo: yeah, i crashed the user data. sorry. it is restored from a couple days ago
StraumliPerversion: which one of you is Blaise?
Wontonimo: i bet it's gref42
Wontonimo: and/or Pollard_Rho_Algorithm
Pollard_Rho_Algorithm: I am not Blaise, I am just Pollard_Rho_Algorithm
Pollard_Rho_Algorithm: nothing special abt me
Pollard_Rho_Algorithm: ;(
Lambert_W_Function: ur special to me <3
Pollard_Rho_Algorithm: no
StraumliPerversion: I accused one of the Vietnamese guys of being a smurf and he got pissed and sent me a picture his dad took of him holding his passport
Lambert_W_Function: lmao
devnatiofra: issou
FakeTraveller_7063: Why did CJ get banned?
approachingtheanomaly: tbh, i can't tell if this is bot-generated text or not
approachingtheanomaly: guess not now
FakeTraveller_7063: Nope not a bot
approachingtheanomaly: epic. real people are awesome
approachingtheanomaly: I've only been learning html so im trying to understand php so i can get this done
Wontonimo: php
antiwonto: [auto] 'php' was defined as ' A zombie walks into a brain store. On the shelves, a pound of C++ programmers' brain sells for $500, of Java programmers, $1000, and of PHP programmers, $1,000,000. The zombie gets confused and asks the store owner why PHP programmers' brain is so much more expensive. The owner says "do you know how many PHP programmers I kill to get one pound of brain?" ' by Wontonimo
Lambert_W_Function: whats down
Lambert_W_Function: bot :;(
Wontonimo: learn javascript, java, python, c++ or c#.
Wontonimo: i guess php is okay
Wontonimo: are you just learning to code approachingtheanomaly ?
NewCoder09: c++
NewCoder09: is a really easy one to learn
NewCoder09: so is pyhton3
approachingtheanomaly: yeah, sorta
approachingtheanomaly: i've done a little tkinter python
NeelD31: python is the superior language
NeelD31: where is everyone from?
approachingtheanomaly: I'll change it to python
approachingtheanomaly: US
StraumliPerversion: I'm pretending to be french, but I used to pretend to be from Christmas island
approachingtheanomaly: I switched the boss to my program, so both players are shrugging toms
devnatiofra: France lol
devnatiofra: Salut
devnatiofra: anyone can juge my first contribution ? :'(
Lambert_W_Function: i think theres already been ones that are the same question as one you made
StraumliPerversion: it isn't horrible. probably can be done in 30 chars in ruby
approachingtheanomaly: I bet everyone else is on the discord chat rather than this
devnatiofra: Thx ^^
approachingtheanomaly: somehow my code is getting wins in arena, even though it's the same code twice
StraumliPerversion: nobody is ever on discord
approachingtheanomaly: oof.
StraumliPerversion: #fr is the most active here
approachingtheanomaly: I see.
5DN1L: Oh really. I see new messages on Discord every day
StraumliPerversion: not realtime witty banter
approachingtheanomaly: tom shrug solves my problems for me
StraumliPerversion: I like to be here to tell the new guys they are dumb and should look into plumbing
approachingtheanomaly: I'm 3198 on the ranking, somehow.
devnatiofra: how we can make example in our contribution ?
Okip: Hi all. Do you know which C++ compiler (and version) is used by Codingame?
5DN1L: devnatiofra just include the example in the statement
5DN1L: Okip it can be found in the FAQ
5DN1L: which seems offline
5DN1L: oops
devnatiofra: ok thx
devnatiofra: issou
Okip: Oh. yes. I do remember seeing is at some point.
Okip: Oh. yes. I do remember seeing it at some point.
Okip: Hmm. Seems some playgrounds are also down.
Okip: Ok, but is seems c++17 is supported.
Okip: tx.
5DN1L: you're welcome
BobLob: gcc version 10.2.1 20210110 (Debian 10.2.1-6)
Okip: :ok_hand:
Scarfield: taco
Scarfield: EulerscheZahI :taco:
antiwonto: [auto] Scarfield has awarded EulerscheZahI 10 tacos. EulerscheZahI now has 21 taco. Scarfield now has 32 taco
5DN1L: Is that a word?
5DN1L: https://www.codingame.com/playgrounds/40701/help-center/code-of-conduct
linjoehan: anyone here playing hash code?
5DN1L: warning to NuclearPony_422e
Scarfield: i think euler will participate in hashcode linjoehan, dont know if anyone else will
Aimless_: doododosddddeded
5DN1L: Is that a word?
5DN1L: Automaton2000 don't learn from them
Automaton2000: i'll give it a go
5DN1L: noooooooo
Liv201: hello
Ninjatron: is there a way to join reverse only clashes?
jacek: just join a clash and dont read any statement. that way it will always be reverse to you :v
Ninjatron: bro your jokes are really bad :D
jacek: jokes?
5DN1L: jacek 💯
Magmi: I would also like to join only reverse/speed clashes
Magmi: minimal size code clashes are just stupid
HarrisonW: yes....
HarrisonW: i agree......
Ninjatron: i think they are harmless, might be helpful if you want to develop your dynamic language skills
Ninjatron: i just want to continue in game map thing, and I don't want to play 50 clashes until i get to win 3 reverse clashes
Ninjatron: but other than that, shortest code contests can only benefit Python coders in competitions, good luck winning with static typed languages
Magmi: Ruby is the choice if you want to be good at it
Magmi: Python is OK, but not the best.
Ninjatron: is that so? idk never saw a ruby coder here lol
Magmi: It is not a stupid concept, but it should be separated
Magmi: Yeah man Ruby is unbeatable in short code, I mean ini most of the problems Ruby just can not be beaten
Magmi: https://www.codingame.com/clashofcode/clash/report/2248061f9987550308f1ba3f9a4a7d9fa2cfe60
Magmi: 1 minute ago. Ruby is the king x10
Ninjatron: maybe got a lucky question that utilized some builtin function?
Magmi: no, this is in every clash of code
Magmi: This is not just some lobby I cherry picked, I literally just finished the clash as we were talking bout it
Ninjatron: lol I barely know any Ruby
VilBoub_junior: you can go and see please, to give me your opinion : https://www.codingame.com/contribute/view/826638b7b9158e5811c9786317e8419bb6d1
AdemDj12: ok
Magmi: https://www.codingame.com/clashofcode/clash/report/224807029f4ce199e188de594993b74ac6db0c2 again crashed by a CHAD ruby coder
Xenoid: Ruby is the best language for shortest code, except when it's bash or Python (rare)
Magmi: yeah thats what i am saying
ionKOT: anyone code in lua i havent seen someone do one yet
Magmi: did you learn Ruby just for this use case?
Xenoid: No
Magmi: or did u knew it before
Xenoid: I learned Ruby for fun a long time ago
Magmi: ok man i have feeling i have to learn it just for this site
Magmi: i thought all ruby coders here did so
Xenoid: I also used Ruby at a past job (although Rails has fallen out of favor now)
Magmi: did u get job at Google because of this site<
Xenoid: It was one factor of many
Xenoid: I mean I found the practice here to be helpful. I also really like some of the contests. They helped to get me interested in learning more about other types of programming after I left a job in 2017
AdemDj12: VilBoub_junior very nice
Rtumper: can someone teach me how to do clash of code
Rtumper: im new and im trying "go"
AntiSquid: press button to start clash
Magmi: Well first u have to learn how to code
jacek: atari go?
Magmi: Can I see how many Clash of Codes I won?
Darleanow: since when is it possible to win mad pod racing ahaha
jacek: oO
Dingaling: anyone else learn gaia just for code golf
elderlybeginner: is there a problem with debuging options in games windows?
struct: wdym elderlybeginner?
elderlybeginner: https://i.imgur.com/gOeKKZel.png
elderlybeginner: control options are missing
struct: hmm cant open it
struct: do you have expert mode enabled?
elderlybeginner: What do you mean by expert mode? This additional options of a window? That's what I lack in every puzzle
elderlybeginner: you cannot open the link I sent or anything else?
elderlybeginner: https://imgur.com/67PJzbP.png All I have is that yellow bar with progress. I cannot open additional options.
ImKingKong: how to to this?
ImKingKong: http://chat.codingame.com/pastebin/bb2f21a1-1efa-444d-8c52-a977cd910cd8
elderlybeginner: ImKingKong : that's pretty general question
NachoJudas: Hi elderlybeginner. I too am missing the controls under the game screen. The 'step' or 'forward to end' etc. are missing. I can hover the mouse over where they should be and they can be clicked. Is this what you mean?
NachoJudas: I've rebooted and tried a different browser but the problem persists. I'm currently doing Crystal Rush.
NachoJudas: Recently promoted to Silver League. Does that have anything to do with it? i.e. less debugging tools to make it harder.
Zechros96: https://www.codingame.com/playgrounds/59850
can you guys go to this link? it's not letting me get into it, im trying to figure out this Codingame and how to learn Java