Chat:World/2021-09-20

From CG community
Jump to navigation Jump to search

Default avatar.png HolySkull_1ad8: hi

Thorcode: hi

jacek: oh they already gave notification about puzzle of the week

Thorcode: @Jacek have you finished the ascll Art

jacek: yes

Thorcode: could you help me

Thorcode: how to take the character in

Thorcode: for i in range(h):

   row = input()

Thorcode: Just tell me how to do it

Thorcode: oh

jacek: you have to save rows in some 2d array, then read letters from that array

Thorcode: I know

Thorcode: how to print the letter from the last line

Thorcode: gosh this is hard

Uljahn: print(row[start:end]) ezpz

Default avatar.png knyzorg: How do people get out of silver https://www.codingame.com/multiplayer/bot-programming/crystal-rush

Default avatar.png knyzorg: Absolutely brutal

Thorcode: is in chuck norris

Thorcode: we change the value into ASCII characters then to binary?

Uljahn: yep, find ASCII value of a character, then convert to 7-bit binary

Thorcode: oh

Thorcode: I change it to 2bit value

Thorcode: es = .join(format(ord(i), '08b') for i in s)

Thorcode: what happend to my code

Thorcode: why it doesn't pas

Uljahn: re-read the statement, there's more to that

Thorcode: gosh I must change number 1 to zero too

Thorcode: this puzzle is hard :(

Uljahn: it's fine, you can learn a lot while solving it

Thorcode: yeah

Thorcode: unary is not better than binary

littlebear: can i change color theme in editor ?

gilufin: yes in the setting on the left

littlebear: oh

littlebear: i meant theme like monokai, one dark pro

gilufin: Idk

littlebear: ok

Thorcode: could you guy help me the TEMPERATURES puzzle

derjack: ask the question

BlaiseEbuth: Who's the question?

Thorcode: oh

Thorcode: why i can't use min

Thorcode: import numpy as np for i in input().split():

   t = int(i)

print(np.find_nearest(t, 0))

Thorcode: I even try to use np

derjack: t is int, not array

Thorcode: yeah

Thorcode: I'm stupid

Thorcode: how can i convert the - number to + number

derjack: abs()

Thorcode: thanks

Thorcode: how can i find the 2 biggest number in python

Default avatar.png mcks: max()?

Thorcode: max only 1 number

Default avatar.png mcks: you could sort and select the last two maybe? i'm new myself ;D

Default avatar.png SmilingBraniac: you can find thr biggest, remove it, and then find the new biggest

Thorcode: yeah

ProCoder03: Good afternoon guys... :smiley:

littlebear: good afternoon

AmazingPro: hello friends

Thorcode: hi gúy

AmazingPro: today we should only writh own OS

AmazingPro: i make calculator

Thorcode: are you sure

Thorcode: in chuck norris I almost fin it but i have a problem that

Thorcode: s = input() es = .join(format(ord(i), '08b') for i in s) print(str(es))

Thorcode: my code didn't change the number

Thorcode: could you help me

Thorcode: plz

jzen: 1. The str(es) is useless being that es is already a string

Thorcode: ok

jzen: 2. The Chuck Norris puzzle used 7-bit so 08b should be changed to 07b

Thorcode: ok

Thorcode: How to change number

Thorcode: like 1 to 0 0

jzen: Well that is the puzzle :)

Thorcode: :(

jzen: I would suggest you try some different things, you will learn a lot

Thorcode: I tried a lot

jzen: What have you tried?

Thorcode: oh

Thorcode: I should change it into array

Thorcode: I change it to array to append it

derjack: :tada:

Uljahn: you mean list, lists are not arrays

Thorcode: yeah

Thorcode: but how to change list to array :D

Uljahn: why?

Uljahn: what for?

Thorcode: when i print it back it hav [] and ,

Thorcode: [,a,b]

Thorcode: oh i'm stupid

Thorcode: but when I append how to delete number 1

Thorcode: coding games puzzles are harder than bot compete

Thorcode: for n in bimsg: http://chat.codingame.com/pastebin/6fbd9c6f-6bf3-4c29-9bf5-0c43ec4b1294

Thorcode: what does this code do guy

jzen: I would suggest you use enumerate instead of calling index every time: for index, n in enumerate(bimsg):

Thorcode: oh thanks

jzen: Also since n is a string your comparison with int will return false

jzen: In n == 1

jzen: What you meant to write was perhaps n == '1'

Thorcode: the n in the asscill code

Thorcode: I'm trying to replace it

jzen: bimsg is the string you had named es earlier right?

Thorcode: yeah

Thorcode: oh

Thorcode: I should change it to es

Thorcode: not use bimsg = es

Thorcode: ==

Thorcode: 0 000 000 000 000 00 00 0

ProCoder03: Automaton2000 what do you think of this ??

Automaton2000: is it hard to find a better solution

Default avatar.png Weestack: Pigabuuh

MiyamuraIzumi: well offical format of FC 2021 is still not published

derjack: :scream:

MiyamuraIzumi: isn't Tibo said that it should be today?

jzen: Automaton2000 what is the official format of FC 2021?

Automaton2000: i have the same issue

MiyamuraIzumi: Tibo once said that it is CodingEscape

MiyamuraIzumi: but it is not offically annouce

MiyamuraIzumi: hello guys

littlebear: hi

littlebear: Automaton2000 hi

Automaton2000: is it in the first few days

littlebear: Automaton2000 idk

Automaton2000: how did u know that in the end

MiyamuraIzumi: what are you talking about?

jzen: Yeah Automaton2000, what are you talking about?

Automaton2000: how do you solve the problem with the way i do it

Default avatar.png Newbhans: hi im really new in the programming can i have friends :<

ProCoder03: Automaton2000 is a bot...

Automaton2000: i only had to do the whole thing at once

ProCoder03: if you mention its name, it will speak

jzen: Automaton2000 would you like to be friends with Newbhans?

Automaton2000: tried with another browser ?

_NikJ: Is there a way to change which achievements are listed in profile as Best Achievements?

jzen: Doubt it

ProCoder03: nope only the best achievements , CG somehow does it idk..

ProCoder03: can we do oop in C ??

TimothyAlexisVass: What's the equivalent to JavaScript's console.error in Python?

BlaiseEbuth: console.python

TimothyAlexisVass: :\ ?

BlaiseEbuth: :3

KiwiTae: sys.stderr

ProCoder03: print("Debug messages...", file=sys.stderr, flush=True)

TimothyAlexisVass: Thank you

BlaiseEbuth: :thumbsup:

Default avatar.png MIRC: hello

Default avatar.png MIRC: im studying computer science and i want to get to know how to deal with programming

Default avatar.png MIRC: any tips?

Uljahn: learn and practice

Default avatar.png MIRC: yea but like where

TimothyAlexisVass: Here

Default avatar.png MIRC: cuz all i know is how to work on dev c++ and make small things

Default avatar.png MIRC: where exactly?

Default avatar.png MIRC: the fourms?

Wontonimo: if you don't know about variables, loops, arrays, and functions, then here isn't the best place. once you do know those concepts, COME BACK !

Default avatar.png MIRC: I'm studying them currently i have an idea about them

Uljahn: i'd recommend https://www.codingame.com/multiplayer/bot-programming if you want to practice with larger projects

Default avatar.png MIRC: thx bud

Wontonimo: someone weirdo this easy puzzle. try starting with this one https://www.codingame.com/training/easy/fax-machine

Default avatar.png MIRC: thx i understand this better

Uljahn: yeah, if you feel overwhelmed you can always fall back to easy/medium puzzles to gather some confidence and to look for community solutions

Default avatar.png MIRC: thank you honestly since im a noobie you all treated me better than other websites and helped

Wontonimo: "easy" puzzles here are still challenging and require thought. The "easy" ones are a lot harder than your typical interview coding challenge.

Wontonimo: at least here in Canada

Default avatar.png 2gacem7: So i can work in Canada ? x)

Wontonimo: no, you may be able to pass the coding exercise. doesn't mean you'll answer the architecture questions correctly

Wontonimo: also, typically you get no internet / google / books / computer and instead have to write it on a whiteboard in one go without bugs in 10 min or less.

ProCoder03: [CG]Thibaud just curious when are official news about FC2021 coming ??

[CG]Thibaud: this week

ProCoder03: :+1:

derjack: more and more people are coming back to bt :scream:

Wontonimo: for the new people, bt is this https://www.codingame.com/multiplayer/bot-programming/breakthrough

TimothyAlexisVass: Thank you Wontonimo

Wontonimo: congrats on getting "Legend level" in collaboration Timothy

Wontonimo: are you working your way through the whole quest map?

MiyamuraIzumi: Hello guyz

derjack: ohai

mehdilh: the coincidence xD getting this on coc : ou feel sorry for the people who have to create a contribution to progress on the quest map, so you have created three bots that upvote contributions.

jzen: Did you get it in shortest or fastest?

mehdilh: shortest

MiyamuraIzumi: is there richest most?

Default avatar.png None121232: You must find the sum of the mods of a list of numbers. Modular arithmetic refers to the remainder of the divide function. A mod B = the remainder of A/B.


Default avatar.png None121232: can anyone solve it

MiyamuraIzumi: is this in richest mode.

Default avatar.png None121232: nope

Wontonimo: sum([ a%b for a in numbers ])

Wontonimo: there, done

Wontonimo: :wave: MiyamuraIzumi

derjack: :upside_down:

BlaiseEbuth: (╯°□°)╯︵ :)

Wontonimo: hi derjack and BlaiseEbuth. It's been a while since I've seen so many online at once

derjack: could be pre contest fever?

**BlaiseEbuth escape from the contest.

Default avatar.png Rory_K: Hello

Wontonimo: hello

Westicles: full moon

Wontonimo: i wonder how CP would be awarded for an escape

MiyamuraIzumi: well, it is even a team play

Westicles: I think CG is phasing out CP

Wontonimo: is it ranked on time? Like fastest mode

derjack: oO

Wontonimo: is that just a hunch or do you have info on that Westicle

Westicles: Just a hunch

BlaiseEbuth: I think CG is phasing out CG

eulerscheZahl: "i wonder how CP would be awarded for an escape" they won't, I asked the same

MiyamuraIzumi: if CG phase out CP then ....

Wontonimo: I really like the multiple measurement system here : XP, CP, Achievements, Quest Map

eulerscheZahl: i like the contests :(

MiyamuraIzumi: I like the multi and optimal

Wontonimo: having different measurements was something that really kept me engaged in the first 4 months

eulerscheZahl: so i'm playing yare in JS now. got my next match in about 1h

derjack: yare yare

Wontonimo: once I hit a wall in one, I would switch to another for a while and then continue to make progress.

Wontonimo: I agree MiyamuraIzumi, the multi and optimal is where I spend most of my time and interest now

Default avatar.png Nukedfire13: i need help with coding my codes suck butt

Westicles: If they kill the main source of CP but keep it as metric, it will just lead to stagnation.

MiyamuraIzumi: maybe FC2021 is just a test

MiyamuraIzumi: they will do it different next year

MiyamuraIzumi: based on FC2021 result

Wontonimo: There are lots of metrics (as I said I like) but one that they are missing is a contribution metric, like tech.io posts. Something akin to kaggle contribution metric

Wontonimo: Nukedfire13, what are you working on ?

MiyamuraIzumi: isn't that we have achievement for contribution?

Wontonimo: but it is mixed with other achievements

Wontonimo: like getting to gold and legend in multis

Wontonimo: XP ~ puzzles you've done CP ~ multis you've mastered ?? ~ contrib you've made

MiyamuraIzumi: well, CG is now focus more on the escape

MiyamuraIzumi: maybe we will have contributions on creation of Escape

Wontonimo: maybe some sunk cost fallacy involved in escape. maybe some product differentiation (since others are getting into multis). I don't understand the escape thing.

derjack: they cant escape the escape

Wontonimo: seems so

Westicles: Can't fault them for trying to make some money. It would be a shame to come here one day and get a 404

Wontonimo: Absolutely agree 100%

Wontonimo: I often wonder what all this compute is costing and how it is being funded

Astrobytes: The Escape Room thing is what they're trying to push to companies as internal teambuilding contests (in place of the internal/semi-private multiplayer bot contests). So it makes sense that they would test it out in this respect.

Wontonimo: cool

eulerscheZahl: and promote it to find more potential customers

Astrobytes: Yep.

Astrobytes: I mean, I don't like my contests being taken away but I can see their logic.

eulerscheZahl: sometimes we just have to face the reality: we are mostly a cost factor. creating a bot contest can take months. and server costs + prizes on top of that

Astrobytes: For sure.

BlaiseEbuth: Yeah... The subsystem is coherent. What is not is why they don't capitalize on the bots contests/ SDK

Astrobytes: Yeah. Well, it's not up to us what direction they wanna go in, it's their business.

MiyamuraIzumi: I think CG is focus more on tech hiring and company events

Astrobytes: I guess we just wait and see what happens.

BlaiseEbuth: It's up to me to blithely criticize.

Astrobytes: MiyamuraIzumi: that's what they do anyway

Astrobytes: BlaiseDBlithe

MiyamuraIzumi: yes, so Escape is for this goal

BlaiseEbuth: Astrobytes https://www.youtube.com/watch?v=O-JsEP9hDQk

Astrobytes: Yes. They hope to replace bot-contest based company events with Escape events.

Astrobytes: hahaha brilliant!

Wontonimo: if one was to start on BT, what suggestions would you give them. I'm asking "for a friend" ;)

Astrobytes: Go straight to bitboards

Wontonimo: I seem to recall someone using UCT with a small depth minimax eval

Astrobytes: Decide if you have an idea for a decent eval or not, this will influence your search algo

Astrobytes: Yes, EPT

Astrobytes: Not sure of the depth

darkhorse64: MCTS/EPT is much better than MCTS for BT

Astrobytes: Makes sense

Wontonimo: EPT?

Astrobytes: early playout termination

darkhorse64: early playout termination

Wontonimo: thanks

darkhorse64: I have just issued a Lines Of Action contribution. We are 8 months away from the next multi ... It's still very much a WIP

Astrobytes: oh cool, I'm going afk for a bit but I'll check that in a few hours

darkhorse64: Yes, I'll need help

Katespizer: did code editor changed? I think colors used to be different like yesterday

Westicles: yes, they are purplier

Katespizer: i think they enabled bracketPairColorization in monaco editor

Katespizer: nested brackets have different colors

jacek: Wontonimo what a coincedence, there is paper on EPT with breakthrough example

jacek: https://link.springer.com/chapter/10.1007/978-3-319-27992-3_2

jacek: line of actions? the one with mcts solver? :scream:

CodingWizardAI: Has anyone fully completed the Stock Exchange Losses challenge, I'm doing it in Java and completed all the test cases excluding #5 which gives an overtime error, does anyone know how to fix it?

Katespizer: wow, they added snippets to editor too? Or is it somehow reading options from my browser, but i doubt it

eulerscheZahl: CodingWizardAI there's a way to solve the puzzle while only looking at each value once. if you have nested loops, you are doing something wrong (or inefficient at least)

CodingWizardAI: okay, thanks, I'll try to only use one loop

Default avatar.png Cezaro0o: stuck on coders strike XD i'm a noob any suggestion

jacek: stuck?

Default avatar.png Cezaro0o: Yes not any idea sorry 3

Wontonimo: i have some suggestions

Wontonimo: i'll DM you

Wontonimo: I'm pretty sure I can help you with some ideas

Wontonimo: Cezaro0o asks for help then vanishes ... oh, so sad

Wontonimo: 'tis so common these days, the vanishing answer seeker

Westicles: We tell all new guys on PM to ask CSB questions to make you happy

algorithmbear: lol

darkhorse64: wontoMK

eve_va_hooves_the_king_of_losers: sups

eve_va_hooves_the_king_of_losers: can someone help me with coding

Default avatar.png MeBen: How would anyone know if they can help you if you haven't asked a question? :)

eve_va_hooves_the_king_of_losers: im asking if anyone could help me, thats a yes or no answer

nulte: darkhorse64 ill check the loa game

eve_va_hooves_the_king_of_losers: im trying to code the "your first bot"

nulte: let me speed run the sim

nulte: need to get first before jacek gets his nn ready

darkhorse64: I have started to scratch the LoA surface. It looks quite hard to master

eve_va_hooves_the_king_of_losers: nevermind, i should try to understand it

eulerscheZahl: LoA?

nulte: I had the idea that the game was more simple

nulte: lines of action

darkhorse64: MSmits will be happy to build a new opening book. Lines Of Action

struct: and ill be happy to waste my time on performance

struct: :D

eve_va_hooves_the_king_of_losers: what is the best website for making a dating sim?

darkhorse64: I have some ideas for a fast wincheck.

Astrobytes: Christ almighty not this one again

eulerscheZahl: :D

eulerscheZahl: that was quick

Astrobytes: I have zero tolerance for that imbecile

eulerscheZahl: and i just returned right in time to see your reaction live

eulerscheZahl: i'm nervous, next yare round in a few minutes

eulerscheZahl: those elimination games are harsh

struct: I tried another cf round

Astrobytes: Best of luck with it!

eulerscheZahl: how did it go?

struct: and I suck so much

struct: lol

struct: I dont think I know any of those algos

struct: Like I can solve the problems but I always end up timing out

Astrobytes: Time to learn some ;)

struct: because I dont use the right method

eulerscheZahl: i'm just gonna rush my opponent at yare. when I play properly i'll lose

struct: also gl on yare

eulerscheZahl: those codeforces rounds require a lot of previous knowledge

struct: I see

struct: but the round was cancelled anyways

struct: due to queue issues

eulerscheZahl: you can come up with some slightly more sophisticated algos on your own. but not in that short amount of time

struct: Yeah, I solved A,B,C pretty easily but was not the right approach

struct: so i timed out on b and c

struct: I get why though

BlaiseEbuth: Is there bot programming on code force?

eulerscheZahl: codejam often manages to find problems that can be solved without those complicated algos but some out-of-the-box thinking

struct: dont think so

eulerscheZahl: rarely some optim contest

struct: is kotlin heroes easier?

eulerscheZahl: otherwise it's like puzzles here. a few are interactive (multiple cycles of read/write), most are purely textbased read all => write all

eulerscheZahl: what DIV are you in?

BlaiseEbuth: Meh... Any non-cg website with bot prog?

BlaiseEbuth: Other than ponctual contests I mean

eulerscheZahl: kotlin heroes has about 9 problems. some are very easy. others so hard that i can't solve them even if you give me a full day

eulerscheZahl: usually I can solve about 5-6 out of those 9

eulerscheZahl: and tshirts for top50 + random 50 who solved at least 1 problem

struct: I think I can solve 1 :p

struct: At the least the chances are higher than getting top 50

jacek: it will take some time before ill nn the loa, do not worry

jacek: now every new multiplayer contribution will have neural network in tags eh

struct: more nns on bt too

VizGhar: Hey guys :) same faces I see. I want to spend some time here, but I barely have time to breathe...

jacek: other than 3?

struct: 5 NNs

TimothyAlexisVass: How can I check if an index exists in a list in Python?

Astrobytes: yo VizGhar been a while!

struct: hi VizGhar

BlaiseEbuth: So stop breathing.

eulerscheZahl: bad news for you: next contest is an escape room contest and not bot

VizGhar: hi guys

eulerscheZahl: so that this is done: welcome back Viz :)

VizGhar: what? :O omg

jacek: is this confirmed?

TimothyAlexisVass: This works in JavaScript: a = [1, 2, 3] if(a[4]) i = a[4]

struct: yes jacek

Astrobytes: Yes jacek

TimothyAlexisVass: How can I do the same in Python?

eulerscheZahl: thibaud confirmed it here on chat

jacek: and you believe mods?

struct: if a in list: print(true)

struct: I didnt jacek

jacek: print(a in list)

struct: my first step was denial

TimothyAlexisVass: no

TimothyAlexisVass: That checks if a value is in the list.

TimothyAlexisVass: This checks if the index is out of range.

TimothyAlexisVass: This checks if the index is within range*

jacek: if n >= len(tab): out of bounds

struct: list.index(a)

struct: I still dont believe it tbh

struct: Ill wait for announcement

NinjaDoggy: I'll be in deny with you struct :(

NinjaDoggy: until the announcement :(

Astrobytes: The chat logs don't lie.

BlaiseEbuth: Dead site tells no lies.

jacek: nyoro~n

TimothyAlexisVass: Thank you guys.

Uljahn: TimothyAlexisVass: use try/except

eulerscheZahl: wish me luck https://yare.io/d1/mpygwf23m271

struct: gl

Astrobytes: best of luck!

eulerscheZahl: aaaand it's gone

struct: :/

struct: I see that you are rank 5 now

jacek: hm?

struct: on yare

eulerscheZahl: that leaderboard is pointless

eulerscheZahl: https://challonge.com/yare

eulerscheZahl: i just lost vs thebitspud

eulerscheZahl: double elimination, so i still have a chance

struct: That battle counted for the leaderboard?

struct: for the tree*

Astrobytes: See what you mean about harsh

eulerscheZahl: was not ranked for leaderboard

eulerscheZahl: to be fair he deserved to win. better bot

eulerscheZahl: it's also a bit rock paper scissors of different shapes

Vracto: hi

struct: is Dapp daporan?

eulerscheZahl: no

eulerscheZahl: Dapp is also Dapp on CG discord. I don't know the CG username however

eulerscheZahl: was about to link the contest post of him but it's deleted?!

TimothyAlexisVass: In JavaScript we can do while(z=readline()) console.log(z)

Is there an equivalent in Python?

eulerscheZahl: golf? just do while 1: print(input())

TimothyAlexisVass: This is for a regular puzzle.

Uljahn: while (z:=input()): print(z, file=sys.stderr)

Uljahn: i guess

eulerscheZahl: python has := ?

Uljahn: ye

eulerscheZahl: is that the walrus thing?

Astrobytes: since 3.7 or 3.8?

Astrobytes: yeah

TimothyAlexisVass: It works, thanks

eulerscheZahl: right, i read something about it. and then forgot it again

eulerscheZahl: i even lost track of some C# innovations

Astrobytes: :older_man:

eulerscheZahl: i saw this coming

Astrobytes: :D

eulerscheZahl: do you know all C++ syntax?

Astrobytes: No, I constantly discover things

BlaiseEbuth: https://www.youtube.com/watch?v=FHviwdECNjU

eulerscheZahl: C++ is a mess. there are some many variants of it (same standard, just so many ways to write it)

eulerscheZahl: is that music BlaiseEbuth? if so, please add a warning to it

jacek: rick roll eh

BlaiseEbuth: Warning ?

struct: nobody truly knows c++

eulerscheZahl: no, i just hate music. and blaise has some history of linking videos that i close instantly again

jacek: truly :older_man:

BlaiseEbuth: "I hate music" :scream:

eulerscheZahl: already as a baby... when my mom wanted to sing for me, i started crying

eulerscheZahl: in kindergarten we had this singing circle every day. pure torture

eulerscheZahl: i always looked to the ground so they wouldn't see that I don't sing along :D

jacek: i hated those too, but i hated social integrating than music

Astrobytes: lol wtf Blaise :rofl:

jacek: you have something like misophonia for music?

eulerscheZahl: never heard about that. I just find it annoying

BlaiseEbuth: The walrus is looking. OO

eulerscheZahl: i hated social interaction with screaming kids of my age too

Astrobytes: It's called musical anhedonia

Astrobytes: Not uncommon

jacek: or this could be german thing

jacek: https://backend.countryballs.net/_uploads/original/72/72204955.png

Astrobytes: Requiring intensive oompah music sessions to cure it?

BlaiseEbuth: Horrible... That someone shorten his suffering.

struct: royale bot is evil

struct: https://www.codingame.com/replay/581821297?f=58

struct: :(

struct: can win in 1 turn but waits so long

Astrobytes: lol, did he make that a feature or is it a bug :thinking:

struct: dont think its a bug

BlaiseEbuth: What's the difference?

struct: no difference

struct: a win is a win

Wontonimo: "I like my opponents to feel like they are doing well" - Andre the Giant

_Royale: lol, it's not a feature :)

Astrobytes: hahaha

BlaiseEbuth: Yeah _Royale! Hit him when he's already on the ground! :imp!

struct: just make it output the 7th row piece if you have 1 there

struct: is what I did on my mcts

struct: i mean my mcts stops before searching that move

BlaiseEbuth: Can't unregister from the challenge...

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

BlaiseEbuth: Vicious trap

Wontonimo: which challenge?

BlaiseEbuth: fc21

Astrobytes: ER21

MiyamuraIzumi: haha

Wontonimo: there is no escape

eulerscheZahl: i was smart enough to never register (i always do it last minute)

MiyamuraIzumi: I think I just let it there

MiyamuraIzumi: and not touch on it

struct: same

struct: I never register

BlaiseEbuth: I don't want to inflate statistics. :(

Astrobytes: Doesn't matter if you don't participate

BlaiseEbuth: Yeah, right. Like the 100K+ active members...

Astrobytes: lol

MiyamuraIzumi: well, I have been trapped

jacek: :scream: https://www.codingame.com/share-replay/581822283

jacek: also one peculiarity, it says 0.6 before proving loss :x

BlaiseEbuth: We're locked in together in this awful trap... I'll probably have to eat you to survive. Nothing personal.

jacek: and he got robo too https://www.codingame.com/share-replay/581814866

MiyamuraIzumi: haha

MiyamuraIzumi: 7,470 CodinGamers have registered, looked like quite many in this trap

jacek: _Royale is it NN?

_Royale: jacek: yes

jacek: :tada:

**BlaiseEbuth wipes the blood flowing from his eyes after opening the site's IDE.

struct: did the colors in the ide change?

struct: why are my parenthesis pink

Astrobytes: Seems so. Either that someone spiked my water.

BlaiseEbuth: That's agressive.

jacek: includes are more pink

struct: nah

struct: the other is brighter

BlaiseEbuth: The worst is the flash yellow braces.

Astrobytes: It doesn't bother me too much, but inexplicably psychedelic updates to the IDE... why?

struct: im not sure it was cg

struct: its monday

BlaiseEbuth: Borred devs on a monday morning.

Astrobytes: :rofl:

jacek: is that monaco thing?

jacek: let write this on bug-report

struct: I dont really use the ide

struct: But I had to open it to copy paste code from my bt bot

Wontonimo: i've done all of Tron via the ide

struct: :nauseated_face:

kovi: for some reason my mcts heuristic works better vs. royale than others

BlaiseEbuth: French heuristic. Likes frogs.

Wontonimo: rock-paper-scissors of algo-vs-algo

kovi: algo vs...nn

struct: just wait until i find the right parameters for my eval

struct: 80 parameters to tweak

Astrobytes: we got 5 years...

jacek: i only tweak 86k params

struct: :(

Wontonimo: if dreaming is experience replay (ER), then my dog is an ER champ! He has lived his life several times over

Wontonimo: oh, this was silly tron simulation for anything other than total noob bots https://www.codingame.com/replay/581824987

struct: that will be a good seed to have vs rank 1

MiyamuraIzumi: that replay seem already have result from start

MiyamuraIzumi: or from the seed

Wontonimo: you win one, they win one... obviously you two are equal

struct: no Wontonimo

struct: because of true skill

BlaiseEbuth: No seed in tron, just start positions

struct: The elo gain / loss from bot games will be different

Wontonimo: i think my sarcasm didn't come across strongly enough

BlaiseEbuth: The predicted winner always can make an invalid move. :3

Wontonimo: gtg

Wontonimo: l8r

struct: later

struct: eulerscheZahl at what time is your yare match?

eulerscheZahl: the one from today? I lost it already

struct: ah its only 1 match per day?

eulerscheZahl: my next is in 2 days

struct: I thought it would be the 3 matches today

eulerscheZahl: https://yare.io/tournament scroll down

eulerscheZahl: oh right, best of 3. i played the 2nd right after and lost that too

eulerscheZahl: and a 3rd just for fun, also lost

BlaiseEbuth: Shame

eulerscheZahl: with 3 different strategies

eulerscheZahl: first attempt was the closest. i think i could tweak it in case we get another fight vs each other

eulerscheZahl: now i'm in the lower bracket. still a small chance to reach the finals

struct: I have soccer game that day, but I wish gl for the match

jacek: :soccer: game?

struct: oui

BlaiseEbuth: Sim

struct: darkhorse64 any chance of having mirrored games for loa?

jacek: do you have 1 player has big advantage there?

struct: no idea

jacek: lets wait for smits openinig book

eulerscheZahl: i'm out at soccer again :( probably a ligament rupture

Astrobytes: :older_man:

struct: :/

eulerscheZahl: take care of your hand astro

Astrobytes: My hand is great now

Astrobytes: Everything else is crap but the hand is good :D

**BlaiseEbuth throw garlic cloves on Astrobytes.

Astrobytes: Unlucky though man, you didn't warm up enough or...?

eulerscheZahl: wet lawn, enemy touching my foot while I was sprinting

eulerscheZahl: bad combination, I stepped on the side of my foot

eulerscheZahl: now my ankle is pretty thick

eulerscheZahl: win for home office, would be a pain to go to the office like that

struct: I also had ankle injury a few weeks ago

Astrobytes: Ouch.

struct: Couldnt move my foot for 3 days +-

struct: Was not too bad

BlaiseEbuth: Old things break so easily...

eulerscheZahl: but you are still young struct, it heals quicker

Default avatar.png Devansh_ojha: wassup

Default avatar.png Devansh_ojha: fairfax high school

Default avatar.png Devansh_ojha: lit af

eulerscheZahl: i see a kick coming

Default avatar.png Devansh_ojha: yo you guys know kobe

BlaiseEbuth: You've got another kick coming. :musical_score:

Default avatar.png Devansh_ojha: yo you guys know how to code

struct: I wish

Default avatar.png Devansh_ojha: i am from FBI

eulerscheZahl: there we go

Default avatar.png takuruki_Sama: hey guys im new

MiyamuraIzumi: what is code

MiyamuraIzumi: I don't know what is code

jacek: dont hurt me

Default avatar.png pyab: Hey Guys

MiyamuraIzumi: hey gayz

AntiSquid: we kick people just for being weird ? :D

AntiSquid: MiyamuraIzumi this isn't a dating site

eulerscheZahl: for telling they are from the FBI

AntiSquid: :thinking: maybe they are in which case kick deserved

3141948: > i'm out at soccer again :( > probably a ligament rupture 😔

3141948: I broke it during a soccer game ar university 🙁

AntiSquid: that's how a lot of professional athletes retire guess your career ended before you became famous

AntiSquid: i messed up a tendon, obviously would have been world champ otherwise

jacek: if you played soccer on paper, you would be fine

AntiSquid: i would be benched

Scarfield: can still be dangerous, pens are pointy

BlaiseEbuth: ScarFear

darkhorse64: struct: to my knowledge, there is no blatant advantage for one color or the other. I don't think mirrored games are needed. I may shorten games to 150 turns (which is already a lot given the sample games that I have seen) and increase turn duration

struct: im not sure that more time is needed

struct: othello is 150ms and I think it was a mistake

struct: 100ms was fine there

Scarfield: BlangstEbuth

struct: But I havent tried loa properly yet

struct: im gonna write the sim now

Scarfield: ooh, working on a contrib darkhorse?

Astrobytes: ScarfOfAction

darkhorse64: WIP: Lines Of Action

dbf: eulerscheZahl I wish you a good health for your leg! :wink:

struct: its a bit tricky the sim

Scarfield: DismaystroBytes

Astrobytes: :)

Astrobytes: Yeah, skipping pieces and things

Scarfield: have been thinking about taking on chess again, but this could be a good contestant for procrastinating chess some more :)

Astrobytes: lol

Astrobytes: Since there's no contest we have to work on something right!

darkhorse64: I wonder if, like Othello, you can deprive your opponent from moves. In that case, I'll need to change the referee to handle that case. This is the kind of things (turn duration, pass move) that I need to sort out before asking for approval

struct: also I have no idea yet how im gonna check for a win

struct: there is pass here?

struct: I dont think its possible darkhorse

darkhorse64: pick a piece, flood fill

struct: I think you can always move

darkhorse64: pass is not implemented

Astrobytes: +1 what darkhorse said

struct: But you can pass?

Astrobytes: if the count of connected pieces equals your total then you win

darkhorse64: ^

struct: yeah but my question now is related to passing

struct: " (turn duration, pass move) "

darkhorse64: I read unclear things about pass but I have yet to find an example

Astrobytes: It seems not

struct: Dont think its possible

struct: If the two players make a group in the same turn, the game ends in a draw.

struct: Do you have this condition darkhorse64?

Astrobytes: "If your last move connects simultaneously your checkers and the opponent checkers, it is considered as a win for you"

struct: hmm

struct: I think thats wrong

struct: unless ludii rules are wrong

Astrobytes: Is that the same thing as what struct said darkhorse64?

struct: ah its his choice I guess

struct: depends on the tournament according to wiki

Astrobytes: Ah ok

darkhorse64: No, it's a win for the player that made the move (my choice). I want to avoid draws

Astrobytes: There are still draws if both players finish unconnected after max turns

struct: yeah wiki says the same

darkhorse64: According to Wikipedia, it was also the game designer will. Not the most popular choice, though

darkhorse64: Given that the goal is not to score checkers, I choose to have a draw when the game is unconclusive. I hope itt will not happen often

Astrobytes: Yeah, it's correct. It won't happen with smarter bots.

struct: This game seems hard for humans

Astrobytes: Haven't played LoA irl

struct: it seems to be hard to keep track of legal moves

darkhorse64: Smart game for smart guys

struct: because they change due to the number of pieces in that line

jacek: so killer moves would be meh?

TimothyAlexisVass: Can anyone think of a way to somehow shorten this? (JavaScript) if(Y<y){d+='N';y--}

TimothyAlexisVass: if(Y<y){d+="N";y--}if(Y>y){d+="S";y++}if(X<x){d+="W";x--}if(X>x){d+="E";x++}

struct: yes

struct: remove north

struct: Thor never moves north I think

struct: on validators

struct: either north or south, cant remember

jacek: woah there was a change to win by capturing all pieces https://www.codingame.com/replay/581833494

jacek: chance*

struct: o.o

struct: even zugzwang for 1 move

struct: :p

jacek: bt could be 1 big zugzwang

AllYourTrees: omg who pushed me to #2 in C4

AllYourTrees: wth

AllYourTrees: this is the highest i've ever been

jacek: then dont do drugs

AllYourTrees: lol

jacek: ja_fica is spam submitting eh

AllYourTrees: looks like it

AllYourTrees: and yurkov

AllYourTrees: :eyes:

AllYourTrees: i've been working on C4 for months now its kinda crazy

Default avatar.png Bludbathmcgraf: Why does no one use JAva?

Default avatar.png Bludbathmcgraf: is there a way i can play exclusively with java people

jzen: You can sort by language and pretend

jzen: :)

jzen: Oh I guess you mean in clash

struct: only on private clashes

Wontonimo: an alternative Bludbathmcgraf is to play bot battles or puzzles instead

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

Jay10890: i finally got unbanned

Jay10890: now who banned me

Jay10890: :rage:

struct: :thinking:

Jay10890: someone banned me from world

islander4059: what did you do that get you banned?

Jay10890: spammed

Alien_EM: spring challenge c++ solution please!

Jay10890: alien

Alien_EM: hi

Jay10890: why u need solution

Jay10890: u have brains to build a rocketship

struct: spring challenge 2020 or 2021?

Alien_EM: 2021

Rag: :joy:

Jay10890: what happens if u get correct answer in challage

Rag: What do you mean

struct: Sorry cant share that bot

Jay10890: whos the bot

Alien_EM: i just want to learn

Jay10890: oh hes the bot

Alien_EM: i don't care about challenges

struct: read the postmortems

struct: They explain what they did

struct: At least I did

Jay10890: struct

struct: yes

Jay10890: are u a mod

struct: yes

Jay10890: who banned me

struct: no idea

Jay10890: um

Jay10890: how is it in

struct: what do you mean?

Jay10890: Leiria

struct: its allright

Jay10890: whats it liked

struct: I guess its just a normal city

Jay10890: a normal city

Jay10890: whats it like conpare it

Jay10890: to somewhere else

struct: I cant compare it to the us

struct: I have never been there

struct: Its a small city

Jay10890: ok

Jay10890: know any other cities its like

struct: well Lisbon is the opposite

struct: its too crowded

Jay10890: your so far away from me google maps cant even give me directions to see the miles

Jay10890: but anyway your like seas from me

struct: distance from portugal to us is 7335 km

struct: 4558 miles

Jay10890: why portugal and not

Jay10890: leiria

struct: just add like 20 miles from the sea

Jay10890: so do u know the total miles from us from leiria or is that 4558 miles

struct: idk

Jay10890: so the distance from portugal from the us is 7335

struct: yes

Jay10890: from u to me is 11 thousand something

Jay10890: i got a question

Jay10890: why does it not let me delete messages

struct: that feature wasnt made

Jay10890: ok

Jay10890: do u know all the solutins or some to diffrent puzzles

Jay10890: and also another question

Jay10890: why havent thay made nofications

struct: They did

Jay10890: no bc like if someone text me i dont see the text

struct: Jay10890 but you get a ping

struct: and red text

struct: ah you mean private message

struct: you should still get a aping

Jay10890: yes

Jay10890: does it make a sound when i get pinged

struct: Jay10890 you tell me

Jay10890: nope

Default avatar.png Seanky: hello

Jay10890: :wave:

Jay10890: anyone know the name and show my profile picture is from

Jay10890: btw how i ping someone

Astrobytes: struct: how tf have you put up with this idiot all this time :rofl:

Jay10890: what idiot

Astrobytes: Jay10890: struct will know to whom I am referring.

Jay10890: im not a idiot

Astrobytes: You were not implicated so far.

Jay10890: its not so far its never

struct: I never saw him before Astrobytes

Jay10890: i dont men to be mean or anything

Jay10890: mean*

Jay10890: astrobyte

Jay10890: but

Astrobytes: ...

Astrobytes: But what?

Jay10890: are u named after a astronaut

Astrobytes: No.

Jay10890: or are u named after mega bytes

Astrobytes: No.

Jay10890: get it?

Illedan: No.

Jay10890: astro bytes is his name

Jay10890: astro naut

Jay10890: mega bytes

Illedan: Don't you have puzzles to solve?

Jay10890: im on ASCII Art

Jay10890: but im stuck

Jay10890: and dont u have work to do like mod or som?

Jay10890: do some epic gamer moves

Jay10890: and mod

Astrobytes: Thin ice

Illedan: Very

Jay10890: what u mean

Illedan: The ice is less than 2 cm

Astrobytes: You're risking a ban

Jay10890: how

Astrobytes: Being a tool

Jay10890: what i do

Jay10890: how i being a tool

Jay10890: something i said

Astrobytes: Shut up and do a puzzle.

struct: come join on c4

struct: I need the rank

Illedan: Finish FB

struct: After I finish loa

struct: Illedan

Illedan: :eyes:

Astrobytes: Illedan: you need to resub your snek

Illedan: Soon :P

Illedan: Og

struct: Ok maybe ill do csb first

Illedan: *oh

Illedan: it died

struct: I still want to do avx properly there

struct: like calculate collisions at the same time instead of playing 8 games at once

Astrobytes: The very thought of waiting for a CSB submit to end puts me off going near it again

Illedan: haha

Illedan: It is perfect when I'm on baby watch

Astrobytes: lol :D

Illedan: Do some tweaks, wait 1 hour for proff of failure

Illedan: blame baby

Illedan: repeat

Astrobytes: How is your little one?

Illedan: Sleeping on me now so the mother gets some sleep

struct: have you tried letting the baby choose the params?

Astrobytes: Enjoying so far? :)

struct: Just give him a numpad and he will do the rest

Illedan: Didn't compile struct

Astrobytes: lol

Illedan: Yeah, very nice. Just missing some spare time :P

Astrobytes: You get it back in 18-21 years it's OK :)

Illedan: True

Illedan: But then CG is just Escape rooms

struct: lol

Astrobytes: The sadness is real

struct: https://i.imgur.com/CpAaFcm.png

struct: soon its finished

Illedan: Multi or delete

struct: I finished making an array to store the lines

struct: I did say that Illedan :(

Illedan: :(

Jay10890: your mean astrobytes

Illedan: You're

Jay10890: im what

Illedan: *

Jay10890: what

Illedan: Meh, this doesn't give me positive energy. I'll go back to Unity and poke my game. bye

struct: cya Illedan

Jay10890: struct

struct: yes

Jay10890: why is astro being mean

struct: He isn't

Jay10890: he said shut up and do a puzzle

Illedan: Because you talk to much nonesense

struct: Well this website is for that

Jay10890: but he didnt have to say shutup

Jay10890: and how i talk nonesense

Jay10890: me just me do coding game me talk no nonesense me sorry

Jay10890: if im somehow bothering u

Jay10890: :nerd:

Jay10890: :japanese_ogre:

Jay10890: :japanese_goblin:

Jay10890: why nobody respond\

Jay10890: me is sd

Jay10890: sad

Jay10890: :disappointed_relieved:

Jay10890: me sad

Jay10890: bc nobody respond

struct: stop spamming

Jay10890: HOW AM I SPAMMING

struct: and lets keep chatting related to coding

Jay10890: know what goodbye because some how im spamming

Uljahn: :rolling_eyes:

struct: oh no the guilt trip

Astrobytes: Honestly. I'm moderating on a youtube stream right now (for the 3rd time tonight) and never kicked nor warned a single person

Jay10890: not coding related

Jay10890: struct

Jay10890: what u say at 6:22pm about something not being code related

Astrobytes: So much crap :(

struct: oh no

struct: is he in my pms

Astrobytes: He was in mine

Astrobytes: I care not.

struct: same

struct: I just mute the ping

struct: Time to go back to code loa

Astrobytes: Not gonna work on a sim til tomorrow

struct: sim is quite hard I think

struct: Ill need to use arrays to get moves

Astrobytes: To be efficient yes

Astrobytes: Yeah, that's not the end of the world though

struct: also to count the pieces in the line

struct: ill use an array

struct: to get the line

Astrobytes: why?

struct: I dont know if there is any easier way

struct: how will I know how many pieces are in a line?

Astrobytes: You can bitboard that?

struct: hmm

struct: I dont know how

Astrobytes: What's so different from other bitboard games?

struct: for verticals its easy

struct: but for diagonals not so much

struct: because I would need masks

Astrobytes: Sure, not the end of the world is it?

Astrobytes: Rotations and flipping too

struct: no, but i dont know how to do that efficiently

struct: I guess ill try to make something work first :p

Astrobytes: It doesn't *always* have to be max speed 100% of the time, if you have a good bot ;)

Astrobytes: I know that's incompatible with the AVX-all-the-things-first and ask questions later approach but ... :P

Wontonimo: if you have a grid of 8x8=64, then left/right can be +1/-1,

Wontonimo: sorry left/right can be +8/-8, up/down can be +1/-1

Wontonimo: and diagonal can be +7/+9 -7/-9

Wontonimo: you had to do diagonal for C4

Astrobytes: Yeah, but we speak of doing these skipping moves etc with builtins and intrinsics

Astrobytes: *skipping-pieces-moves

Astrobytes: efficiently

struct: and the diagonals can be quite large

struct: for horizontal i can just do

struct: rank * mask

struct: to get all the bits there

Wontonimo: http://chat.codingame.com/pastebin/29b906cf-bbd4-4cf7-b7bf-790365d090e3

Astrobytes: hehehe

struct: for vertical file * mask

struct: but for diagonals that wont do it

Wontonimo: i haven't seen antisquid online for a while

struct: he was here yesterday I think

Wontonimo: cool. i need to increase my surveillance obviously

struct: :)

Goku_Drip: im new can anyone show me what to do

Goku_Drip: or what

Wontonimo: sure

Goku_Drip: hi

Wontonimo: have you tried any of the bot battles?

Goku_Drip: no

Wontonimo: the "tutorial" is https://www.codingame.com/multiplayer/bot-programming/coders-strike-back

Wontonimo: and i can help you a bit on it

Wontonimo: or you could try the clash-of-code

Wontonimo: if smaller 5 min challenges are more your thing

Goku_Drip: whats clash of code

Wontonimo: it is a timed coding challenge with several ghosts and possibly other real life people. 5 to 15 min, smaller challenges

Wontonimo: https://www.codingame.com/multiplayer/clashofcode

Goku_Drip: i dont know how to code tho

Wontonimo: ah

Goku_Drip: i just went to hents

Goku_Drip: hints*

Goku_Drip: then solution

Wontonimo: ah

Wontonimo: do you know about variables and if/else statements?

Wontonimo: loops?

Goku_Drip: ive hearn about those hello world

Goku_Drip: heard*

Goku_Drip: and som more

Wontonimo: ah.

Wontonimo: what language do you want to learn?

Goku_Drip: dont know i rlly dont want to learn any too hard

Wontonimo: they are all about the same

Wontonimo: they just have different abilities

Goku_Drip: its so hard to learn tho

Wontonimo: really?

Wontonimo: what do you think this code does

print("hi Goku_Drip")

Goku_Drip: yes

Goku_Drip: it

Goku_Drip: its like a text

Wontonimo: yeah, it prints hi to you

Wontonimo: okay, here is another example

x = 4 print( x )

Goku_Drip: thats not so hard

Wontonimo: what do you think this does?

Goku_Drip: i dont know

Wontonimo: it prints "4"

Wontonimo: take a look at this site https://www.hackinscience.org/exercises/hello-world

Goku_Drip: why does it not say print("4")

Wontonimo: AH! good observation

Wontonimo: http://chat.codingame.com/pastebin/627e6939-5914-4424-a172-23ec7b1726ad

Wontonimo: let's say we have 2 numbers


Wontonimo: x = 4

Wontonimo: y = 7

Wontonimo: print( x + y )

Wontonimo: this will print 11 !

Wontonimo: hmm ... there is a great youtuber who teaches javascript and he has a LOT of intro to javascript videos https://www.youtube.com/c/TheCodingTrain

Goku_Drip: um

Wontonimo: The Coding Train. Really good guy

Goku_Drip: how does x=4

Goku_Drip: oh nvm

Goku_Drip: so

Wontonimo: this site is more geared for people who have already been programming for a while, like at least 3 minths

Wontonimo: and know about arrays and functions

Goku_Drip: x=5 y=10 Print("x+y=11") like that???

Wontonimo: nope.

Wontonimo: like this

Wontonimo: x=5

Wontonimo: y=11

Wontonimo: print(x+y)

Wontonimo: and that will output 11

Goku_Drip: oh i see

Default avatar.png Eden998: goku what you wrote will just print x+y+11 because you put it within " "

Default avatar.png Eden998: its called string

Goku_Drip: ok

Wontonimo: :wave: Eden998

Default avatar.png Eden998: hello :D

Wontonimo: to be clear, what I've been writing isn't any programming language in particular, but a mashup of several.

Goku_Drip: ive learned this so far

Goku_Drip: ("Hello World") x=10 y=15 Print(x+y)

Wontonimo: hehe

Wontonimo: cool

Wontonimo: so, if this is your first experience in coding then I'd recommend looking at and following the tutorials that "The Coding Train" has

Goku_Drip: ok

Wontonimo: and if you find that a bit challenging and want something easier to start, then I'd recommend https://scratch.mit.edu/

Wontonimo: you can code games with it and get a visual feel for how if statements and loops work

Wontonimo: but, if you know some math (like algebra) and are willing to put in a little effort , then stick to learning javascript by watching the coding train

Wontonimo: THEN COME BACK HERE :D once you know about functions, and can call a function from a function and add data to arrays

Goku_Drip: ok

Wontonimo: good luck! come back anytime and chat

Wontonimo: about code

Goku_Drip: yah...

Goku_Drip: :(

Wontonimo: why sad?

Goku_Drip: ill text u

MosMotov: :disappointed:

Wontonimo: why you sad MosMotov?

Wontonimo: is it contagious ?

MosMotov: lol

Wontonimo: hey, you started coders strikes back MosMotov. Do you want some hints?

Wontonimo: hey Goku_Drip, you want to do coders strikes back?

Westicles: heh heh

Wontonimo: nope ... showed interest in private chat

Wontonimo: then i tried to move the conversation here, then .... nothing

struct: oh well

struct: You should create a playground Wontonimo

struct: for csb

struct: and then link it

Wontonimo: yeah, not the same

Thorcode: what's the different between enumerate and index

Astrobytes: Gotta change nick to WontoPlayCSB now Wontonimo

Westicles: They sad thing is, that game sorta sucks

struct: which games do you enjoy Westicles?

Astrobytes: optims

Westicles: yeah, optims are much more fun

Astrobytes: (forgive me for answering for you lol)

Westicles: once Illedan is done mining XP we can play snake

Astrobytes: lol, he's not mining

Astrobytes: He forgot

Astrobytes: +baby and FB

Thorcode: gosh the current puzzle of the week is hard

islander4059: Thorcode, enumerate generates a a pair of tuples(index, element). sometimes its preffered over range. an index points to the position of an element in an array.

Thorcode: uh thanks

Astrobytes: well you did ask earlier

Thorcode: when

Astrobytes: Thorcode 01:11AM what's the different between enumerate and index

Astrobytes: Care to question that?

Thorcode: 01:11AM

Thorcode: how i'm sleeping in that time

Astrobytes: It is CLEARLY at MY time

Thorcode: oh

Astrobytes: Would you like me to count the minutes back for you?

Astrobytes: Or can you manage that yourself?

Thorcode: really

Thorcode: you could count the minute?

Westicles: another 13yo gonna bite the dust

Astrobytes: I'm done with muppets for tonight

Astrobytes: Let them run free

Thorcode: print("LEFT" if x < wall_x:)\

Thorcode: could you guy fix my code plz

Thorcode: my code haven't got "/"

Westicles: I'll help if you look at my contrib

Thorcode: ok

Thorcode: I upvoted

Westicles: nice

Thorcode: and tested

Westicles: how about if(x<wall_x):print("LEFT")

struct: evil Westicles

Westicles: well, he didn't really upvote, but it's the thought that counts

Thorcode: I upvote for a long time ago

Thorcode: Just look at it

Westicles: you left a nice comment, that is more than enough

Thorcode: wish I could send you images

Default avatar.png Armangh: hey do we talk about "i don't know why my code doesn't work" here? I'm new

Westicles: sure, but this site is mostly europeans who are asleep now

Default avatar.png Armangh: lol its 2 am where i am but thats when any work happens xD

Default avatar.png Armangh: i'm doing "The Descent" and i either don't get why my code doesn't work or misunderstanding what the puzzle asks for

struct: every turn you get the heights of each mountain

struct: you need to print the index of the highest

Default avatar.png Armangh: right okay

Default avatar.png Armangh: so its i don't know why my code doesn't work

Default avatar.png Armangh: http://chat.codingame.com/pastebin/ca6bf824-6273-41ec-b40c-a73840453465

struct: where did you declare mountain_number and max?

Default avatar.png Armangh: ah just before the while loop, set them both to 0

Default avatar.png Armangh: sorry should've sent the whole main

Default avatar.png Armangh: http://chat.codingame.com/pastebin/3d405d81-fa04-4dec-ba1b-b81fbbc81ccf

struct: reset max to 0

struct: before you output

struct: max = 0; System.out.println(mountain_number); // The index of the mountain to fire on.

struct: because not all the code will get runed again

struct: only the part inside the while loop

Westicles: wow, he actually fixed it for you

Westicles: you can upvote my DAWG puzzle for payment

Default avatar.png Armangh: max? why does it need to be set to 0?

Default avatar.png Armangh: http://chat.codingame.com/pastebin/ee153280-fbe5-47c5-8991-cc93a3197f97

Default avatar.png Armangh: like that?

struct: you deleted } from for loop

struct: but yes

Default avatar.png Armangh: that doesn't fix it and i don't see how it would

struct: http://chat.codingame.com/pastebin/50d0f90d-5ee1-4002-adbb-508c0abcf477

Default avatar.png Armangh: ye ye doesn't fix it

struct: ok

Default avatar.png Armangh: oh wait no

Default avatar.png Armangh: wtf it does

Default avatar.png Armangh: ha

Default avatar.png Armangh: how does this work

Default avatar.png Armangh: why does max getting reset fix it

struct: so if you have array of

struct: [8,7,6,5]

struct: on first turn max = 8;

struct: after that no number will be higher than 8

struct: if you dont reset it

Default avatar.png Armangh: ahhhhhhhhhhhhhhhhhhhhh

Default avatar.png Armangh: but

Default avatar.png Armangh: thats what you want

Default avatar.png Armangh: because 8 is the highest

Default avatar.png Armangh: i thought the puzzle basically gives you an array like (2,4,8,5,6) and you're meant to output (8)

Emmaplayz: hello

Thorcode: hi

Thorcode: hi

Emmaplayz: hi

Thorcode: play clash?

Emmaplayz: im boredddddd

Emmaplayz: what d u do

Xicu: yo

Emmaplayz: hello

FluffBear: is there an easier clash? It can get super tough

Emmaplayz: idk

Tobey: You can start with member lower than 4 maybe can find the easier one

mastercake10: yea, just play with the bots

Emmaplayz: anbody here 15 or older

FluffBear: how to play with bots?

FluffBear: I assume most of us are over 15, right?

Xicu: oui oui

Emmaplayz: prob ya

Emmaplayz: probuly*

Default avatar.png ChristopherAngrico: hi

Xicu: hey hey

Emmaplayz: hi

Tobey: hi

Emmaplayz: anybody here know what ada ada means

Default avatar.png k1llak3llz: wallaceee

mastercake10: cardanoo

Emmaplayz: ...

Wontonimo: :wave:

Emmaplayz: hi

Wontonimo: hey, i see you've tried a bot battle and an optimization

Wontonimo: you tried 2048 right?