Chat:World/2021-08-27

From CG community
Jump to navigation Jump to search

Justin-Truong: code royal hard

Demurator: im stuck on coders strike back lol

Demurator: the 2nd level

Demurator: i get errors

LittleFlea: you may need to explain a little more.

Demurator: probably

Demurator: my code works, just the game says im not inputting it fast enough

Demurator: im using python 3

Demurator: "Timeout: the program did not provide 1 input lines in due "

Demurator: even though i definitely did

Demurator: while True: http://chat.codingame.com/pastebin/6c3f1392-3da8-4d42-9274-2bc4c30bf1ba

Demurator: http://chat.codingame.com/pastebin/16050db9-9fa1-4d50-8755-474b7b891c22

Demurator: the 2nd one

Demurator: @LittleFlea

Demurator: idk how to ping ppl

Demurator: a /

martinpapa69: dont you need : after else in python ?

Demurator: OMGGGGGGGGGG


Demurator: THANK YOU


Demurator: IM SO TIRED IM MISSING EVERYTHING

Demurator: no still doesnt work

Demurator: sad

Demurator: tahnks th0o

martinpapa69: :thumbsup:

Demurator: thanks tho*

Demurator: apparently im not inputting fast enough

Demurator: which is very confusing

martinpapa69: when your code has a bug, and crashes, the, codingame will say also timeout. technically, you do timeout, because your code never gives an output, when it crashes

Demurator: fair enough

Demurator: i dont see an error :upside_down:

Demurator: http://chat.codingame.com/pastebin/2cd81ea8-8ff0-4599-afe0-4ea2fa82c30f

Demurator: do u see one?

martinpapa69: you are missing an )

Demurator: *Dies*

Demurator: BRO WTF

Demurator: IM USUALLY SO GOOD, I WANT TO CRY

Demurator: now im getting "NameError: name 'nextCheckpointAngle' is not defined at Answer.py. in <module> on line 9" even though that is correct

Demurator: nvm

Demurator: omg i think it works

Demurator: im gonna try it now

Demurator: OMG THANK YOU SO MUCH

Demurator: i have been on that for 2 hours and 40 minutes

Demurator: i really need to sleep lol

Demurator: i have been doing lua recently so i keep forgetting about colons

Demurator: how do i move on to the next level lol

Demurator: nvm im on it

Justin-Truong: what rank are you in coders strike back

Demurator: wood 1

Demurator: lol

Demurator: im trying to get into whatever is above it

tekki: gl hf Demurator

Demurator: huh

Demurator: tekki?

Demurator: how do u ping ppl

eulerscheZahl: write their name

Husoski: "good luck, have fun"

Demurator: tekki

eulerscheZahl: dem[tab] => Demurator

Demurator: tekki

Demurator: eulerscheZahl a

eulerscheZahl: it's only red for that one person

Demurator: ohhhhhhhhhhhh

Demurator: Demurator a

eulerscheZahl: open the chat in a 2nd tab. then you can ping yourself

Demurator: how

eulerscheZahl: just open the website twice

Demurator: okay

Demurator: Demurator

tekki: hello world and Automaton2000

Automaton2000: but is it a good idea

eulerscheZahl: i hate that bot

tekki: :)

tekki: why?

eulerscheZahl: it's just spamming nonsense. cluttering the chat

eulerscheZahl: i'm glad that at least AutomatonNN died

Demurator: Automaton2000?

Automaton2000: because if the opponent is doing

Demurator: wot

eulerscheZahl: ping the bot, the bot will generate a random sentence

Demurator: ohhh

eulerscheZahl: "sentence"

Demurator: Automaton2000

Automaton2000: i know where to start on a bot to play the same opponent

Demurator: oofd

Demurator: oof

Demurator: i can see why thats annoying

SeraphWeddUltimate: clash today feels so slow... too many bots too little coders...

Demurator: i tried that earlier but i suck lol

Demurator: how do i move up a league in csb?

martinpapa69: when you get on the top of your league, you get promoted to the next 1

Demurator: its not happening

Demurator: ive been rank 1 for ages

Demurator: and ive been refreshing, im still rank 1 for me

martinpapa69: are you even above the boss ?

Demurator: yes

martinpapa69: you gotta wait then, it takes a bit of time to get promoted

Demurator: i keep waiting but someone takes number 1 and i lose it

martinpapa69: if the color of the boroder of your portrait gets the gold color, no1 can take your promotion

Demurator: where's the border

martinpapa69: I mean, you see your rank:1

martinpapa69: there is a background color

Demurator: i just beat the boss again but it isnt doing anything

martinpapa69: it should be gold

Demurator: its not

ProCoder03: Demurator it still computing for you

Demurator: okay

Demurator: what if someone takes number 1

ProCoder03: its gonna take another 4-5 mins

LittleFlea: click on the last battle tab on the left of the screen and you will see the progress

martinpapa69: multiple players can be promoted in the same time

Demurator: ok

martinpapa69: if you are above the boss after the computation finished, yo uget promoted

LittleFlea: good to know

Demurator: oh the battles are going slow

ProCoder03: hmm, it seems you have submitted multiple times

Demurator: im now rank 632

LittleFlea: so in gold the number 1 is behind the boss.will it still be promoted

ProCoder03: Nope

ProCoder03: he needs to be more than boss

LittleFlea: interesting

Demurator: YAY IM IN BRONZE... FINALLLYYYYY

Demurator: oh god... pods collide now????

Default avatar.png ahthserhsluk: https://www.codingame.com/clashofcode/clash/19360595fc9ac1f11e64773c69dfa9a91d89c00

SeraphWeddUltimate: https://www.codingame.com/clashofcode/clash/193607861cbc5e87a510524772698109cc3de9c

Uljahn: pls don't spam clash invites here, post it on #clash

SeraphWeddUltimate: oh, sorry. was using the chat on the web browser and not on discord m(>_<)m

Uljahn: the chat is not on discord btw, it's xmpp-based

Default avatar.png Naknik: hey I made a contribution if u wanna try it https://www.codingame.com/contribute/view/7278a453f4f755a659f474825d11ad216327

Mr_BlueBird: hello coders!

Mr_BlueBird: can you visit my portfolio and tell me how i can improve it??

Mr_BlueBird: link below

Mr_BlueBird: https://mrbluebird2.github.io

Default avatar.png Manan5658: let me get some key notes for c language based on gaming


Default avatar.png Lekrkutj: what is a good "bot programming" game for beginners

Default avatar.png Lekrkutj: i thought the connect 4 was hard

martinpapa69: c4 is one of the easiest table games. if you want a physics based: coders strike back

BlaiseEbuth: tron

OldJohn: troff

Default avatar.png GabrielFR: take coke and code

Default avatar.png GabrielFR: mince

Default avatar.png GabrielFR: et gros fils de pute a mavoir ban

Default avatar.png GabrielFR: ca dure cb de temps ?

Default avatar.png GabrielFR: @nicolas

Default avatar.png Jamil_King: C++ Is the best (:

derjack: oO

xspeedasx: not in code golf lol

Miki09: Is there anyone who used neat python for csb runner?

Default avatar.png Liquid_sa: everything is hard T_T

Default avatar.png Niteblock: no

Default avatar.png Niteblock: its all ez

TimothyAlexisVass: Are code golf and clash different things?

TimothyAlexisVass: There are separate leaderboards...

Default avatar.png Liquid_sa: I'm learning and it all seems gibberish

TimothyAlexisVass: OH I see

Default avatar.png wuhudasima: ohhhhhhhhhh

derjack: there are code golf puzzles

derjack: and there can be codegolf clashes

BlaiseEbuth: Oo

martinpapa69: derjack why is your c4 bot so low ? oO

derjack: im giving you handicap

martinpapa69: :blush:

Default avatar.png Kepe55: So should I practice with easy puzzles first and then go over to medium or try solving medium right away? I solved around 5 easy puzzles I think

Default avatar.png Kepe55: Im having a really hard time with the Folding a Note medium puzzle

Default avatar.png Kepe55: And I'm getting frustrated

derjack: so medium puzzles can be easier than easy ones

Default avatar.png Kepe55: Really? I just started with the Folding a Note puzzle and I notice that it's really hard for me

Default avatar.png Kepe55: Even some easy puzzles were hard but I could figure out most of them over time

Default avatar.png Kepe55: Ive been stuck with this for like 2 days and its a brainfuck

BlaiseEbuth: https://www.codingame.com/training/medium/what-the-brainfuck

Default avatar.png Kepe55: BlaiseEbuth: Would you say I should keep trying to solve medium puzzles?

Default avatar.png Kepe55: Or easy ones?

BlaiseEbuth: Just because of brainfuck

Justin-Truong: Blaise what rank are you in hyper sonic

BlaiseEbuth: Don't know, not a good one. Why?

Justin-Truong: what is your best rank

Default avatar.png BlueRick: Greatech Hiring

Default avatar.png BlueQii: Greatech Penang hiring

Justin-Truong: wow

Justin-Truong: Blaise pro

derjack: Kepe55 try any puzzle. if youre stuck, switch to other one. be it easy or medium puzzle

Default avatar.png Kepe55: Someone suggested looking up the solution and learning it

Default avatar.png Kepe55: I think I'm gonna do that

Default avatar.png Kepe55: nvm I cant find a python solution to Folding a Note

TimothyAlexisVass: Does destructuring assignments work here for JavaScript?

Default avatar.png kjj090: Kepe55 fold a paper and find relationships between the number of layers, thats how i solved it lol

Default avatar.png Kepe55: alr, thx, but for now ima just solve other problems

Panavia_tornado: I implemented the __hash__ I implemented the __hash__ methods in python as the sum of its coordinates with weights and __eq__ as a coordinate comparison, but I get the error my object is not iterable when I put it in set

Panavia_tornado: class point: http://chat.codingame.com/pastebin/5b9d15b1-b49c-48e5-985b-53890e35454f

Default avatar.png Labba: Yoo yooo

Default avatar.png Labba: hii hii

Default avatar.png Labba: I hear thunder

Manopphysics: Hey guys joe wants to meet you

fuchsia: who's joe?

Shawnicle: whos joe

Justin-Truong: really and who is joe

Manopphysics: joe

Manopphysics: MAMA

Justin-Truong: ?

AntiSquid: is that a jojo reference?

Default avatar.png Labba: Niggas

Default avatar.png DiscoSausage_fd17: hello world

Uljahn: Automaton2000: sus

Automaton2000: i need to find the best one

TimothyAlexisVass: What's the pattern here? :\

TimothyAlexisVass: http://chat.codingame.com/pastebin/eb7f0797-66e5-4c1b-b8d3-c1cc0571790a

TimothyAlexisVass: I can't see it :/

TimothyAlexisVass: 101 and 10201, 1111 and 1234321, 264 and 69696, 22 and 484

Default avatar.png DiscoSausage_fd17: it gave me headache

TimothyAlexisVass: I've been staring at this for a while and I can't figure it out yet ;D

Uljahn: it's so obvious lol

Default avatar.png DiscoSausage_fd17: try this discord channel https://discord.gg/code

TimothyAlexisVass: Uljahn what is it then?

Default avatar.png DiscoSausage_fd17: drum roll please

TimothyAlexisVass: *drumroll*

TimothyAlexisVass: \o/

Uljahn: :drum:

Default avatar.png DiscoSausage_fd17: lol, i was looking for that emojie

Uljahn: hint: 11 -> 121

TimothyAlexisVass: ┐(︶▽︶)┌

Default avatar.png DiscoSausage_fd17: :champagne_glass:

Astrobytes: ^ what is that?

Astrobytes: TimothyAlexisVass

TimothyAlexisVass: It's like "I don't know"

Default avatar.png DiscoSausage_fd17: the square?

Astrobytes: Ah

TimothyAlexisVass: (づ ̄ ³ ̄)づ

Astrobytes: 00 -> 010

TimothyAlexisVass: ¯\_(ツ)_/¯

Default avatar.png DiscoSausage_fd17: i should have paid more attention in math classes

Astrobytes: oh come on now, it's a really obvious pattern!

TimothyAlexisVass: Well I'm not seeing it! :(

Default avatar.png DiscoSausage_fd17: a wise man onced said, you dont need math in IT

Uljahn: it was Albert Einstein, am right?

Default avatar.png DiscoSausage_fd17: How does one get considered for a job from this platform? Do we add our resume and wait for employers to contact?

martinpapa69: once you solved enough puzzles, companies will start to give you offers

eulerscheZahl: i guess I have to solve more in this case

DrZod: 280? Maybe 1 or two more

eulerscheZahl: i don't even know how many i've solved

eulerscheZahl: and the number alone has little value. There are some easy ones that I refuse to try because they look boring

martinpapa69: maybe companies dont like picky ppl, idk

DrZod: lmao

AllYourTrees: martinpapa69 congrats on C4! what gave you the big boost?

martinpapa69: ty. jacek's idea helped me: training with Q values instead of game outcome

AllYourTrees: oooh

AllYourTrees: wow thats a pretty big difference!

martinpapa69: ye

TobiasA: where do i get the puzzle of the week?

TimothyAlexisVass: It should be in your notifications

eulerscheZahl: and the quest map

TimothyAlexisVass: (Y)

Default avatar.png Naknik: euler

Default avatar.png Naknik: I finished it

Default avatar.png Naknik: https://www.codingame.com/contribute/view/7278a453f4f755a659f474825d11ad216327

Default avatar.png Naknik: Im Korki btw

derjack: oh my

derjack: in training with q values you can at least use more random moves. with games outcomes the good positions could have gotten -1 simply because of some random move later

BlaiseEbuth: Random these days...

eulerscheZahl: i saw your link on discord already Naknik

Default avatar.png Naknik: okay :D

Default avatar.png AryanSilswal: Hi new here

jdsigg: welcome!

TimothyAlexisVass: Welcome AryanSilswal

Default avatar.png AryanSilswal: Thanks I want to know about some websites to practice python

Default avatar.png AryanSilswal: I am still in my 12th standard

Default avatar.png AryanSilswal: If anyone has any idea then please suggest

Uljahn: https://py.checkio.org/

TimothyAlexisVass: https://www.codingame.com/

TimothyAlexisVass: https://www.codewars.com/

TimothyAlexisVass: https://www.freecodecamp.org/learn/data-analysis-with-python/#data-analysis-with-python-course

TimothyAlexisVass: Is it possible to review past clashes?

BlaiseEbuth: Dependof what you mean by review

TimothyAlexisVass: Are the solutions stored?

BlaiseEbuth: For a time at least. If you still have the notification you can access it.

TimothyAlexisVass: BlaiseEbuth++

jacek: oO

**BlaiseEbuth is now known as BlaiseEbuti

jacek: hes been more helpful since he isnt mod anymore

jacek: something about being a mod is pulling you down

BlaiseEbuth: Coincidence. I'm tired presently. And when I'm tired, I help people in the chat, to avoid doing the more complex things I have to do...

TimothyAlexisVass: \( . ~ .)/ ︵╰(* 益 *)╯︵ /(.□. /)

ShakeDatBunda: daem Blaise, thassa vibe

Default avatar.png XGK: the game is so hard

Default avatar.png XGK: i cant finish it by myself

Default avatar.png XGK: where can i learn

Westicles: You could join the Boy Scouts of America and get your Programming Merit Badge!

BlaiseEbuth: Or the nuclear one, by building a nuclear reactor in your basement!

Westicles: these need to go in the FAQ

Michael_Junior: hi

jacek: good evening

ash_rick: https://www.codingame.com/clashofcode/clash/1937026ecdbbec224bae9e873fc61f789b1107e

martinpapa69: :cop:

eulerscheZahl: :hammer:

BlaiseEbuth: :knife:

Michael_Junior: wyd

jacek: :upside_down:

MiyamuraIzumi: :expressionless:

TobiasA: :japanese_ogre:

jacek: i love those star trek intakes https://www.youtube.com/watch?v=-WHdI-MoQME

BlaiseEbuth: Hm. I prefer this one https://www.youtube.com/watch?v=DLzxrzFCyOs

MiyamuraIzumi: which algorithm for code of ring should I use?

MiyamuraIzumi: my current is around 4k instr

TimothyAlexisVass: https://www.codingame.com/clashofcode/clash/1937101c18c5f254a804d7f6e9ac5dbf7b47982

TobiasA: :expressionless:

MiyamuraIzumi: :sleeping:

TobiasA: i can't believe i still clicked it after know it was going to be rick roll

Uljahn: haha, classic

MiyamuraIzumi: ? what is the problem?

TobiasA: MiyamuraIzumi you and I are in the exact same rank in uttt but in different leagues:smiley:

MiyamuraIzumi: which algorithm did you use for UTTT?

TobiasA: MC

MiyamuraIzumi: ok thanks

MiyamuraIzumi: I still obsess with code of ring

MiyamuraIzumi: anyone can give me a sugestion for an algorithm on code of ring?

BlaiseEbuth: Eagle

BlaiseEbuth: :eagle:

MiyamuraIzumi: is it a name of the algorithm?

MiyamuraIzumi: Blaise

MiyamuraIzumi: :relieved::sunglasses:

BlaiseEbuth: Yeah: The optimal one. Use the eagles to go directly to mordor instead of using a f****ing BFS through all the Middle Earth.

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

Astrobytes: :rofl:

MiyamuraIzumi: I search on gg for this algorithm

MiyamuraIzumi: but got quite confused

jacek: gg?

BlaiseEbuth: Goo gle I guess :thinking:

Default avatar.png Maxim251: https://www.youtube.com/watch?v=QM1iUe6IofM&list=RDCMUCseUQK4kC3x2x543nHtGpzw

Default avatar.png Maxim251: Dont use OOP?

BlaiseEbuth: Don't use java

jacek: in real life youll never get pure 'OOP'

jacek: always violating some OOP rules

Michael_Junior: huh

BlaiseEbuth: In java neither, even in a totaly fantasmed world :p

jacek: and with lambdas and whatnot, more functional programming comes into java and the like

Kurtinger: can is see my solves puzles? so i can see the code i did?

Astrobytes: Yes. Scroll to the bottom of the page.

Astrobytes: All your completed puzzles are there in a group.

Kurtinger: nice thx

PatrickMcGinnisII: oh boy IDe is fixed

Astrobytes: yeah, was fixed this morning

Astrobytes: (French morning)

PatrickMcGinnisII: :thumbsup_tone1:

jacek: but only for french ides

TimothyAlexisVass: In Javascript, how do you sort first by string and then by number?

TimothyAlexisVass: a5 should come before a15

Astrobytes: https://letmegooglethat.com/?q=In+Javascript%2C+how+do+you+sort+first+by+string+and+then+by+number%3F

TimothyAlexisVass: Duh

Astrobytes: :P

TimothyAlexisVass: All I'm getting is "First by number then by letter"

TimothyAlexisVass: when searching :(

Default avatar.png Maxim251: OOP is embarasing?

Default avatar.png Maxim251: https://www.youtube.com/watch?v=IRTfhkiAqPw&list=RDCMUCseUQK4kC3x2x543nHtGpzw&index=2

jdsigg: TimothyAlexisVass, could you try sorting by parsing characters 1 by 1 in your sort function?

jdsigg: For example, when you compare 'a5' and 'a15', you compare 'a' and 'a'. They are the same, move on, you compare '5' and '1'. 5 is bigger than one, so return the appropriately larger string

BlaiseEbuth: Do you at leasr earn money for posting those links Maxim251?

Astrobytes: I guess you might need a custom comparator function TimothyAlexisVass, I'm not JS expert but something like: var arr = ["br1", "1", "br15", "Dec125"]; console.log(arr.sort(function (a, b) { return a < b;}));

Astrobytes: substitute the sort logic for youe own

Astrobytes: *your

AntiSquid: http://chat.codingame.com/pastebin/674c1d92-ca64-429e-b366-ba4ee2490584

AntiSquid: ah ffs

AntiSquid: Automaton2000 clean chat

Automaton2000: i just hope to get it to work

Astrobytes: There, squiddy is here, he will help you with your JS

TimothyAlexisVass: Thank you jdsigg for the suggestion.

jdsigg: AntiSquid how do you paste bin? Or does it happen automatically

TimothyAlexisVass: It happens automatically when you have a long message.

TimothyAlexisVass: http://chat.codingame.com/pastebin/f51f2c43-cda0-4764-90e1-ba2c06f74433

jdsigg: Love it! Thanks

AntiSquid: ya that's why i said ffs, i don't like to submit as pastebin

AntiSquid: makes me look like a spammer

BlaiseEbuth: Na... Spammers send line by line

AntiSquid: TimothyAlexisVass 08:28PM In Javascript, how do you sort first by string and then by number? just chain the functions ?

AntiSquid: you can search individual functions and just chain them, whatever combo you like

TimothyAlexisVass: I've got it ;)

TimothyAlexisVass: Got some help from jdsigg.

TimothyAlexisVass: jdsigg++

BlaiseEbuth: * jdsigg is now known as jdsigh

Default avatar.png Maxim251: #BlaiseEbuth No, how I can make money if movie is not my? I m looking for information about OOP because I am still learning that, and this video shock me. Everybody say that OOP is greate, Industry have standard of OOP, and I was looking for job in programing, and everybody in Netherlands require knowing OOP in C++ Python and Java. And this guy say, its wrong.

Astrobytes: It's not 'wrong', but you'll find you often mix paradigms in real world situations as opposed to pure OOP or pure whatever

Husoski: Maxim251 It's one guy, one opinion. Don't get your shorts in a twist.

Default avatar.png Maxim251: I just want start conversation about why not to use OOP

Westicles: Right now companies are hiring anyone who can manage not to drool during the interview

Husoski: Bjarne Stroustrup (C++ inventor, originally, before the committee took over) once said that he didn't see much advantage to C++ over C in a project under 100K source lines.

Astrobytes: Use the right approach for the right parts, right tools for the right job etc

Default avatar.png Maxim251: In my case, 95% companies in Netherlands they want peoples whu work 3 years minimum. And for me as Junior developer is almost impossible to pas that requirements.

BlaiseEbuth: Well I say java is bad, but it's one of the most used tech in industry. So, professionally speaking, are you gonna find a job or listen to me?

Default avatar.png Maxim251: Brian Will I think that he try show that, is not for everything. That OOP is overused.

BlaiseEbuth: as java is :smirk:

Astrobytes: Bad design is bad design

jdsigg: You can make a lot of convincing arguments for or against OOP, it all comes down to using the right tool for the job imo

Default avatar.png Maxim251: I am training in C++, that language I chouse to learn. Yes, its dificult, more then Java or Python. But I love electronics, and automatisation, and That was logical choice

Astrobytes: Yeah, jdsigg, that's what I said earlier

jdsigg: Tools age in and out, though. At my company, we have people writing Fortran because that's how it started and its not a priority to change 40k+ lines of a working product that customers like.

jdsigg: fist bump Astro

Astrobytes: As I said before Maxim, don't get hung up on peoples opinions on youtube videos/the internet, and don't obsess over OOP or any other paradigm

AllYourTrees: at a job unless you are building something from the ground up those kind of decisions have already been made for you lol

Astrobytes: jdsigg: sometimes FORTRAN is what you really need too :)

BlaiseEbuth: Working is for poor people anyway.

Default avatar.png Maxim251: When I start learning OOP, I see classes as the containers for storing data and related function for them. But when I come to point of inheritance and virtual functions, WOOO... I can do so much more, Exclude so much code from memory after creating class for one task...

Astrobytes: Sure, there are definitely things to be learned about encapsulation and all that

Westicles: Fortran is fast. If they had it here, all the swinging dicks would be using it for multis

Astrobytes: lol, I thought you said they had the gnu fortran compiler Westicles? Or was that another lang?

Westicles: oh, yeah you can get at it if you really want to

Default avatar.png Maxim251: Now is problem of not over complicate use of classes. As begginer I did that mistake, and whn at begginning coding gows so greate, lines of code flows like water in the river, and I reach the gold point where it change to disaster, where to much logic in one class breakes that flow. And was harder and harder to menage

BlaiseEbuth: Fortran is present in base gcc iirc

Astrobytes: Maxim251: Keep it simple

BlaiseEbuth: https://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines

Default avatar.png Maxim251: Yes, I will try, but ike in last code in Codingame game, I try make one class for logic thinking that this aproach will be simple. But keeping all logick game in one place, was wrong decision, Thats why I start learning more about Inheritance and functional programing. Like strategy paterns in OOP

Default avatar.png Maxim251: I did desighn classes, ass, Quin, wariors, map in seperate classes, and of cource logic class... There I was lost, after adding more logic and more, step by step, I reach the point where I fail. now I am looking for a way to solve problem of simplify logic. To achieve complexity, but also to separate them.

BlaiseEbuth: ass design :thinking:

Default avatar.png Maxim251: In my logic class, was responsible to move quin, move wariors, make choices beetween them, also menagig map, to chouse what choice quin and wariors should do. But now, I think,, hat maybe quin and wariors, should have seperate classes atached to Quin class, and seperate for wariors,

Default avatar.png Maxim251: which will make logic for the quin, logic fro the wariors, and logic for them all

Default avatar.png Maxim251: :unamused:

BlaiseEbuth: One Classto rule them all, One Class to find them, One Class to bring them all and in the logic bind them.

Default avatar.png Maxim251: that means that I need now make more classes responsible for logic.

TimothyAlexisVass: In JavaScript we can get an array of regex matches in a string.

TimothyAlexisVass: To extract numbers from a string one could use:

TimothyAlexisVass: a=str.match(/\d+/g)

TimothyAlexisVass: for hello123and2 a = ['123','2']

TimothyAlexisVass: How can this be done with Perl?

BlaiseEbuth: https://www.letmegooglethat.com/?q=perl+regex+match+numbers+in+string

Astrobytes: ^ exactly what I was gonna post

Astrobytes: Might wanna pick up a bit of perl along the way ;)

armalitedev: sussy baka

ChiefChippy2: $_=<>;print ' Number : ',$_ for(/\d+/g);

BlaiseEbuth: あなたはばか、カエルです :rolling_eyes:

Ran_42: anyone have a good tip for a shortest way to add line break to string in python?

Ran_42: currently I just use s+"\n"

QuickMathzs: 4 characters is pretty short

QuickMathzs: depending on your situation, using an f string might be shorter

Default avatar.png gRuggRu.lol: hello! can somebody teach me the basics of coding?

Default avatar.png BigFishOutOfWater: yeah you just google and test and google and test until it does what you want

Astrobytes: And try not to answer questions from an hour ago

Astrobytes: :P

Default avatar.png BigFishOutOfWater: really, there's so much activity here that an hour is too long?

Astrobytes: hehe, nah, but usually the person has gone already

Ther89: I'm doing "Credit Card Verifier (Luhn’s algorithm)" and every test success but the visa one not but I don't know why. Can someone help me?

Default avatar.png AwardWinningSpoon_1d63: someone help me do mars lander episode 1

Ran_42: is there a compressing for c# like for python with the eval utf16? (for code golf)

Westicles: every language but haskell can do some form of that

Ran_42: I tried to search for a minifer/golfer for c# but didn't found any, did the codingame comminuty made one?

Westicles: no

Ran_42: ok thx

Westicles: The best I have just runs the python utf with an overhead of 121 chars

Ran_42: what do you mean by overhead?

Westicles: characters needed beyond the solution code

Westicles: like the non-gibberish characters for python is... 25 or 26 I think

Ran_42: oh ok

Default avatar.png gRuggRu.lol: uhhh.... the person that told me to google thank you

Default avatar.png gRuggRu.lol: im doing the " custom game of life " thing but i dont know to google

Default avatar.png AwardWinningSpoon_1d63: someone help with mars lander episode 1

ANONYMOUS42: wait episode 1? really

OukedLeMonstreDebutant: Can i play it with coders strike back ??

OukedLeMonstreDebutant: Play with my friends **

Default avatar.png AwardWinningSpoon_1d63: i need help with Mars Lander Episode 1 anyone got the solution

Default avatar.png AwardWinningSpoon_1d63: :triumph:

ANONYMOUS42: here main(){for(;;)puts("0 4\n0 3");}

Default avatar.png AwardWinningSpoon_1d63: is that the solution do i add to the default code?

ANONYMOUS42: nope that's it in C

Default avatar.png AwardWinningSpoon_1d63: ok

ANONYMOUS42: or even better: yes "0 4\n0 3\n"

ANONYMOUS42: in bash

Default avatar.png AwardWinningSpoon_1d63: is it this

ANONYMOUS42: actually maybe not the bash one

Default avatar.png AwardWinningSpoon_1d63: "0 4\n0 3\n"

OukedLeMonstreDebutant: can i play tic tac toe with friends ? and how ?

Default avatar.png AwardWinningSpoon_1d63: ANONYMOUS42

Default avatar.png AwardWinningSpoon_1d63: do you got more answers to diffrent challages

ANONYMOUS42: no

ANONYMOUS42: i only did this one

Default avatar.png AwardWinningSpoon_1d63: .

Default avatar.png AwardWinningSpoon_1d63: ANONYMOUS42

Default avatar.png AwardWinningSpoon_1d63: can anyone help with me shadows of the knight episode 1

Default avatar.png AwardWinningSpoon_1d63: ANONYMOUS42 you did that one

Default avatar.png AwardWinningSpoon_1d63: whats answer

Westicles: this is what happens when you do that

ANONYMOUS42: can you block some jc

ANONYMOUS42: someone*

Default avatar.png AwardWinningSpoon_1d63: anyone got the answer to shadows of the knight episode 1

LittleFlea: are you sure you just want the answer...

LittleFlea: codingame is a learning tool .

Default avatar.png AwardWinningSpoon_1d63: answer give me it please

Jay10890: yah give it to him hes begging

ja_fica: martinpapa69 ?

ja_fica: convolution on C4?

martinpapa69: no, dense only