Chat:World/2021-04-05
LionMask: HELLO
LionMask: llleden
LionMask: llledan
jacek: oO
LionMask: hii jacek
Ema_Lua: hi
Darklord1234: hiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
LionMask: hey Darklord1234
jacek: Automaton2000 have you written nirvana song?
Automaton2000: there are many ways to do it
Miki09: Ahoj čeští programátoři, připojte se na český kanál kde si můžeme vyměňovat zkušenosti z codingame. #cz
MSmits: ahoj matey!
jacek: oO
LionMask: hii MSmits
MSmits: hi
HDnox: Hi everyone, check out my first clash of code contribution: https://www.codingame.com/contribute/view/646737f6fdf43cc4dbc996978c2803164897
Illedan: Morning
Ordonnateur: is there a way to know value of validator ? (on a puzzle I get all test green but one validator don't want to work, I checked some other similar case (validator name compared to test name) and everything was working so I don't understand what I didn't check ><')
GlowKid: I don't think so.
Ordonnateur: How some people give some of them in discussion so ?
KiwiTae: try random answers until u pass the validator then u know whats the validator
Ordonnateur: Hum... that's a possibility ^^'. I was hoping something like git or somewhere in codingame website. quite sad I won't really be able to know what's wrong with my code ^^'
Illedan: Which puzzle?
Ordonnateur: https://www.codingame.com/ide/puzzle/test-before-validate!
Illedan: Which validator?
Ordonnateur: last validator don't want to work but I pass the last test whatever the 'authorized' action is placed in the action tab
Ordonnateur: (when the place change, the test is false yes but the logic is right*)
magaiti: test before validate, yeah, afair you have to make sure your action's order is preserved unless precedence dictates otherwise
Ordonnateur: My issue was that I didn't managed the case where 1 value had 2 before/after (in that case I was loopind indefinitly ><')
Ordonnateur: I'm changing my approach now, Maybe it will work maybe it will be a dead end too xd
magaiti: probably you are checking bot before an after for each action; you only need to check one or the other
magaiti: 'cause every before is an after, just swapped
Ordonnateur: http://chat.codingame.com/pastebin/d01e5e84-5198-4775-8d5e-89ed34f49af3
Ordonnateur: :o using maj+enter create a pastebin ? didn't knew xd
Ordonnateur: (and it's an 404 error jesus lol)
Ordonnateur: What I said was => I currently manage "attack before kill/select before attack" but not "attack before damage/ attack before kill". I already swap after into before :)
magaiti: ah well maybe your code can't manage to store multiple precedences for an action
Ordonnateur: (all test didn't had to manage it so I thought validator will too, but sadly not xd)
magaiti: well then
magaiti: just do it
MSmits: https://www.youtube.com/watch?v=ZXsQAXx_ao0
Ordonnateur: I will, I will, let me the time :joy:
jacek: you did time?
Illedan: Anyone knows some good research on depths a search can handle given it's search space?
AntiSquid: :thinking:
AntiSquid: bit vague, aren't all search algos well researched?
davilla: I don't know about research, but if you're looking for an explanation this one is pretty good: https://youtu.be/STjW3eH0Cik
AntiSquid: minimax isn't that great now is it?
AntiSquid: for depth
AntiSquid: MCTS / Beam Search are better
davilla: he talks about those other algorithms in earlier lectures, but I remember this one specifically discussing how to handle depth
AntiSquid: ever tried random forest, it handles any "depth" :P
LionMask: hello
jacek: i bet he also meant dfs, bfs, and their 'reasonable' depth given hardware
jacek: and minimax is so last week. i think now i dont have any bot implemented in minimax here
AntiSquid: it's slow isn't it ? :/ what do you generally use ? apart from n-tuple something
Illedan: n-tuple?
AntiSquid: i asked first, don't distract him :P
AntiSquid: woah you upgraded your greeting?
davilla: By random forest you mean the learning algorithm? (I'm reading about it on Wikipedia.)
AntiSquid: oh damn i mistook this guy with jacek https://www.codingame.com/contribute/view/57040ef9d73fbf30662196ce282f3316d2cf , they all look the same
jacek: AntiSquid mcts-ept or jacekmax
jacek: and how you can mistake us? i have mirrored avatar
jacek: Illedan n-tuple https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.108.5111&rep=rep1&type=pdf
AntiSquid: davilla https://www.kaggle.com/dansbecker/random-forests, maybe do decision tree first
AntiSquid: it's not the most accurate model but can handle anything
AntiSquid: it's like generating best if else branching given enough time :D
davilla: interesting, thanks
Mogul99: someone get me some advice
DaNinja: dont eat yellow snow
DaNinja: whats your question?
AntiSquid: https://www.codingame.com/multiplayer/optimization/2048 play this Mogul99
AntiSquid: gee all testkits are made in china ?
LionMask: guys my new contribution
LionMask: https://www.codingame.com/contribute/view/6470503d1aabfa20f268662dd0d4fbaa426e
Tiffion: hello! i'm new here :) i wish i practice more my code and refine it to be cleaner!
LionMask: play easy puzzles
LionMask: Tiffion
LionMask: testcase=input() for i in range(int(testcase)):
x=int(input())
LionMask: IN STUB GENERATOR INPUT
LionMask: plz any body help me
AntiSquid: i meant the contribution
LionMask: okk
LionMask: can u help ,e
AntiSquid: your stub i think needs changing
LionMask: me
AntiSquid: no
LionMask: why
AntiSquid: no time today for sure
AntiSquid: maybe wednesday will see
LionMask: read testcase:string(20)
LionMask: but i don't understand for loop
LionMask: what is your contribution name AntiSquid
AntiSquid: when you edit your contribution there is a question mark for each section
AntiSquid: if you click the one for the stub i think you should get some general idea of how to write a stub
AntiSquid: or check other contributions for comparison
LionMask: yeah but i don't understand that
AntiSquid: just the loop ?
LionMask: loop
AntiSquid: i will explain mine
Ordonnateur: some one know how to get all possible array from an array ? ([1,2,3] =>[[1,2,3],[3,1,2],[2,3,1],[3,2,1],[1,3,2],[2,1,3]])
AntiSquid: loop ROWS read tableRow:string(256) mean it loops ROWS times and reads ROWS amount of lines, in this case tableRows
AntiSquid: loop 4 read n
loops 4 times and reads a variable n LionMask
AntiSquid: does this help ?
LionMask: okk
AntiSquid: which language Ordonnateur
LionMask: thanks Antisquid it help i never forget you
AntiSquid: https://duckduckgo.com/?q=get+all+possible+permutations+for+array+python&t=i_use_arch_btw i would check one of these search results, i am sure there's a function for it can't remember right now
AntiSquid: Ordonnateur
AntiSquid: actually i suggest geeksforgeeks, good site : https://www.geeksforgeeks.org/generate-all-the-permutation-of-a-list-in-python/
LionMask: yeah it is nice
LionMask: Automaton2000: hi
Automaton2000: what does the number of items
Poggies: https://www.codingame.com/clashofcode/clash/167535337c751705aa421e5db6c66135e6554bc
LionMask: hey Poggies use #clash for inviting friends or anymore
LionMask: what do you mean
LionMask: okk
rufusek: Hello
NASADeveloper102: :eyes:
Poggies: #clash https://www.codingame.com/clashofcode/clash/1675368bfce03a7add766f58e1056ded4b0ff82
Tiffion: there's any way to continue coding after the clash end?
LionMask: no
LionMask: yeah 15 min is sufficent for a clash
LionMask: Tiffion
Tiffion: i now, but i had trouble doing a code i would like to continue trying even after the clash
Tiffion: but without needing to do it local also
davilla: that seems reasonable
davilla: I wonder if there's a way to find it
davilla: unfortunately CoC are difficult to search
davilla: it would be a good feature IMO
DaNinja: https://www.google.com/search?q=herokuapp+codingame
DaNinja: to search for puzzles
Westicles: That's why I recommended all clashes be ported to a 'very easy' puzzle category
Rival819: I literraly killed all classe from like 4 websites...
Westicles: Give the old-timers 1000 chances to get more XP
Rival819: still look blank stare at my screen
Rival819: lots of time
Rival819: in here its hard
Rival819: even those that say EZ
NASADeveloper102: :thinking: I think Assembly at codingame would be a bad idea
NASADeveloper102: Does anyone else think this? :eyes:
davilla: which architecture?
NASADeveloper102: x86-64
davilla: I think you meant bad ass
NASADeveloper102: :eyes: Writing good assembly is very hard, at least for me
NASADeveloper102: I guess I could just use asm in C++
NASADeveloper102: Does that work?
struct: yes
davilla: I thought C actually allowed assembly
Westicles: Uggh. Brings back memories of trying to go through airport security with my nerd kit back in the day
davilla: hold on let me grab some popcorn
davilla: OK I'm ready, please continue
Westicles: Not much of a story. Back in college they gave us a little suitcase full of protoboards and power supplies.
davilla: oh I see... yeah that would totally not fly today
Westicles: Had to build the HW from scratch and program in assembly. Kind of embarrassing lugging it around
Ordonnateur: Hum... I knew I created a monster that was working by dark magic but I was hoping not being alone when looking at solutions made by others ç_ç (If someone ever read anything about why the dark magic part of my code work I'm interested in ^^' https://www.codingame.com/training/hard/test-before-validate!/solution?id=18605640)
BlaiseEbuth: Oh... And you're still free ? That's disappointing...
BlaiseEbuth: Of course, gimme your code and I'll debug it for free in less than an hour.
struct: Do you mean printing error messages?
ZarthaxX: i think he means actually using a debugger inside IDE
ZarthaxX: not possible if that's the case Saburoto
BlaiseEbuth: Yes. I will not go in your IDE.
ZarthaxX: :rofl:
Saburoto: @ZarthaxX yes, thanks for the info
ZarthaxX: you are better off trying a testcase locally with a debugger Saburoto :P
ZarthaxX: or putting tons of print messages and testing on cg hehe
struct: ZarthaxX are you doing sofia labs challenge?
BlaiseEbuth: Don't think Buenos Aires is in Europe.
BlaiseEbuth: But perhaps I'm wrong :thinking:
struct: Just give them my address if you win
ZarthaxX: struct nope
ZarthaxX: no prize for me :P
BlaiseEbuth: Just gimme the price if you win.
ZarthaxX: haha
ItayBeladev: Hi guys
ZarthaxX: if i had a chance to win :P
struct: So this time entire europe is eligible for prizes?
BlaiseEbuth: A list of european contries
ItayBeladev: wait there is an competition with prizes?
struct: Where is the list?
struct: The list in the place you register?
struct: https://www.codingame.com/hackathon/sofia-labs-coding-challenge/
BlaiseEbuth: In the GTU you readed before register. :3
AntiSquid: CSB ?
AntiSquid: ah chat scroll ..
struct: ah yes the gtu
struct: I read it /s
BlaiseEbuth: :grin:
Westicles: aka all of europe except Vatican City.
ItayBeladev: does Israel in the list?
struct: I dont think so
BlaiseEbuth: Oh ? That please me... :impl:
BlaiseEbuth: :imp:
Westicles: Russia but no Liechtenstein or Kosovo or Montenegro.
Lily123: how can I create a game on codingame?
AntiSquid: https://www.codingame.com/playgrounds/40701/contribute---help/moderation-of-contributions
BlaiseEbuth: Too small countries...
jacek: :thinking:
JLukeSkywalker: for code of ice and fire, can you spawn a unit on an opponents tile, and does that count as attacking if they have a unit there?
AntiSquid: see statement, it keeps changing for early league what units can conquer what
BlaiseEbuth: RTFM
AntiSquid: perform sentiment analysis on the statement
BlaiseEbuth: o/
Anzc: hello
struct: If a player times out, the pod still remains in there?
BlaiseEbuth: Yup
struct: thanks
Puru299792458: hi
Illedan: Do you need to account for timeouts struct? :P
struct: I think the pods inputs will still be given
Illedan: Ah
Illedan: Yeah I think so
struct: I dont think it matters much anyways
struct: I dont see top players timing out
BlaiseEbuth: Why timing out ?
struct: random timeouts might happen
JLukeSkywalker: lol 'you can now train lvl 2 and 3 units' bot doesnt care and just steamrolls the league with lvl 1's
struct: Boost = 650 thrust right?
BlaiseEbuth: ya
orangesnowfox: hey jacek, how deep does your onitama go
therealbeef: damn that sofia challenge. threw a lol-submit at it before sleeping, and it got to 6th. now it's too tempting not to optimize :angry:
jacek: its mcts-ept, so hard to compare
orangesnowfox: ah
struct: realbeef time to add avx
jacek: it goes to 9-10 levels in the beginning, about 20 midgame and over 30 when there are only wizards
jrke: sophia challenge still there?
jacek: i create about 35k-50k nodes per turn
orangesnowfox: ah, yeah... Mine doesn't go *quite* that far
orangesnowfox: Oh, I create > 100k
jacek: mine is probably more selective
orangesnowfox: Probably, my move selection is just "meh"
orangesnowfox: I could *probably* squeeze out an extra depth in the early game, definitely can squeeze out a lot during the late game
orangesnowfox: https://www.codingame.com/replay/538235315 before my bot knew it lost it only took like... 14ms
orangesnowfox: ... nvm, odd even effect kinda kills that at some points
jacek: its minimax?
orangesnowfox: negamax + alphabeta + TT
jacek: and iterative deepening i suppose
orangesnowfox: yeah
jacek: :+1:
orangesnowfox: It's uhh, *fixed* iterative deepening currently, still working on that part
jacek: huh
orangesnowfox: It goes from depth 2 to 8
orangesnowfox: ... It doesn't properly look at the time
jacek: nice rank advance tho
orangesnowfox: You kept an :eye: on it?
orangesnowfox: that is, not the emote I was expecting
jacek: somewhat
orangesnowfox: mm, todays changes took me from 16 to 13
jacek: above the game contributor
orangesnowfox: yee
Hfun: it somehow feels like the coding challenges are getting weirder and weirder
struct: What do you mean by weirder?
Poggies: how did u become a mod? @struct
Hfun: they're becoming full 2-3 page long stories
struct: I just applied when they were asking for more mods
BlaiseEbuth: "Coding challenge"
BlaiseEbuth: ?
ZarthaxX: struct kidding? lmao
Illedan: :D
struct: ZarthaxX im not joking lol
ZarthaxX: ??????????
ZarthaxX: how is that possible haha
BlaiseEbuth: What ?
jacek: hmm?
jacek: they almost made me a mod. but i was too smart
ZarthaxX: > struct 01:49PM I just applied when they were asking for more mods
ZarthaxX: jacek smart? :P
ZarthaxX: you could be banhammering trolls
jacek: i could ban myself by accident
BlaiseEbuth: personally, I harassed Tibo during an entire year, until he give me the rights.
ZarthaxX: why did that work? lol
jacek: blackmail
BlaiseEbuth: 'cause he like his tranquility ?
ZarthaxX: i mean harassing a cg mod and getting what you want doesnt seem possible
BlaiseEbuth: Depend of who's harassing... :smiling_imp:
Scarfield: MK did the same i think?
ZarthaxX: damn you are pure evil
ZarthaxX: SCARFOOOOOOOOOOO
ZarthaxX: mk just landed a mod status :P
Scarfield: Zarthooooo/
ZarthaxX: howdy
BlaiseEbuth: MK probably get tibo drunk...
ZarthaxX: +1 on that one
jacek: landed?
BlaiseEbuth: inherited I guess
Westicles: Volunteering is for suckers. Did you know that so called 'Volunteers' don't even get paid
codeing: hello everyone
codeing: my external disk is not recognize in the explorer
BlaiseEbuth: I did nothing more than before. But I wanted the power of doing that
codeing: but i list it in device manager
BlaiseEbuth: *do btw
Westicles: Whatever makes you feel important, I guess.
AntiSquid: was a kick warranted ? i mean he is bit missing the point / rude, but still
BlaiseEbuth: Just a demonstration
BlaiseEbuth: And yes Westicles, I love touching myself while kicking and banning...
Westicles: No worries, all in good fun
codeing: anyone get me question ?
BlaiseEbuth: I don't see any question...
codeing: a sec
codeing: my external disk is not recognize in the explorer
ZarthaxX: BlaiseEbuth wtf lol
codeing: but i list it in device manager
jacek: is it formatted
jacek: is it withing the scope of CG oO?
codeing: yes
AntiSquid: codeine @_@
AntiSquid: nice location too
Westicles: is that a brest joke?
codeing: what ?
codeing: brest is me town
BlaiseEbuth: La bretagne ça vous gagne
codeing: do anyone have issue of my question ?
BlaiseEbuth: Why do you need your external disk on cg ?
Westicles: Unplug it, jiggle it, check your circuit breakers, reboot, call IT
AntiSquid: what is your question ? lol
BlaiseEbuth: this "do anyone have issue of my question ?"
AntiSquid: maybe it's an artistical trick question
struct: number of laps is always 3?
BlaiseEbuth: Nein
struct: Whats the max?
BlaiseEbuth: No idea
jacek: hm? https://img-9gag-fun.9cache.com/photo/aYorYqV_700bwp.webp
Westicles: Looks like the number of contributions is way down. Only 59
struct: https://i.imgur.com/JDcZ4lY.png
struct: What have I done o.o
BlaiseEbuth: :scream:
Illedan: Dont submit that struct :P
struct: ok so 3 checkpoints = 5 laps and 2 checkpoints = 7 laps
jacek: csb?
Illedan: Not always
Illedan: SLCC
jacek: omgwtflolwtf
Westicles: Does CSB code work as is?
struct: no
struct: at least not the inputs part
struct: The rest is similar
Westicles: Basically a "give pb4 a PS5" contest
Illedan: :D
struct: I guess its just a delayed prize from all the work he did on csb
Westicles: I guess that is a good reason not to publish code. Bring on the number shifting contest
ErrorRazor: There can be only 2 checkpoints??
ErrorRazor: Sorry I forgot I can read
AntiSquid: slcc ?? Society of Local Council Clerks
BlaiseEbuth: Almost
AntiSquid: someone ping Illedan pls
Illedan: Always >= 3 struct
Illedan: https://www.codingame.com/ide/challenge/sofia-labs-coding-challenge SLCC
Illedan: Or amadeus
AntiSquid: (╯°□°)╯︵ ┻━┻
Illedan: Or SF1337 Or CSB-1
AntiSquid: i thought its some algo
AntiSquid: forgot the name of the challenge
struct: Illedan what do you mean >= 3?
Illedan: I have never seen a map with less than 3 checkpoints
Illedan: And it is a set of maps, not fully random.
BlaiseEbuth: But the question was not from struct
Illedan: OH
Illedan: Fix that avatar struct -.-
Illedan: Else I'll add a script to swap your avatar out for something funnier :D
BlaiseEbuth: line
AntiSquid: datacamp premium, tableau is pay to use :thinking: or is it included ?
AntiSquid: my first contest in D btw
struct: You are hired
struct: What should I change my avatar too :thinking:
Illedan: Just give the shapes colors?
AntiSquid: a flying seal in the sky struct
AntiSquid: and now i am overqualified for any job since i use D, didn't think about that did you struct?
struct: And it saves you time in the cv
struct: Just type "D"
struct: Nooo
struct: I forgot
struct: That it will break multis replays...
struct: Illedan I blame you
struct: Now Im going to take your leaderboad spot
Illedan: For?
struct: for changing profile pic
Illedan: Thx <3
AntiSquid: what exactly broke struct?
struct: Nothing yet
struct: but default replays in my contributions will break
AntiSquid: oh
AntiSquid: make dummy account and use that avatar instead ?
Illedan: ^
AntiSquid: if only tobou was still with us he could help, he was a brilliant young lad
Westicles: looks like that avatar is grabbing the D
ZarthaxX: struct you look way more modern now :P
Wilster: skynet-rev ep2 - test case 01, N inputs don't look right any ideas?
struct: Thanks ZarthaxX
struct: I think I used this avatar in one of my alts
ZarthaxX: love it
ZarthaxX: reminds me about these things
ZarthaxX: https://images-na.ssl-images-amazon.com/images/I/81aDeFrTQFL._SL1500_.jpg
BlaiseEbuth: It's a trap
ZarthaxX: why :rofl:
PraneethGanta: https://www.codingame.com/clashofcode/clash/16758746691c7485a8be86cbe8fa7080b7fa82e
AntiSquid: click #clash PraneethGanta
misha666: hi
BlaiseEbuth: Amazon in the url ZarthaxX
jacek: amazons? the one in contributions?
hades70: https://www.codingame.com/clashofcode/clash/1675929a3f76d3b15048d6fc335a694aba0b78d
BlaiseEbuth: Even on a 800*600 screen the AntiSquid message is still visible.
jacek: what message
BlaiseEbuth: The one saying to go to #clash
jacek: oh, didnt see that one
struct: lol
k3yof: Hello my people, does anyone know how to use the bash language?
Illedan: No
Illedan: Happy to help
k3yof: good night i go to sleep
struct: Can I make an alt to sabotage opponent in slcc?
jacek: ban
struct: Public referee is not available right?
Illedan: nope
struct: Damn
struct: I wanted to play alone :(
Illedan: Just steal SR referee and add a player ;)
ShortBaited: is there an api to get the placement of me i ncoc?
ShortBaited: in coc*
struct: There is no "public" api
ShortBaited: Oh okey :(
Illedan: You can find some in the network tab, but I think you need auth for that
Illedan: Which is simple enough :)
ShortBaited: Okey i go look for it
Eltech: hey
Eltech: got a little question
Eltech: what should I use to measure the time remaining before a timeout in python? time.time doesn't seem to give me what I am looking for
struct: time.time_ns()?
struct: it should do the same
struct: but returns an integer
Scarfield: time.time() returns a float of seconds since epoc in python iirc. multiply with 1000 to get milli seconds, call in start of turn, and compare the difference between the start turn time and later calls should work just fine
struct: any new panic room yet?
struct: escape*
Eltech: wtf
Eltech: that's what I was trying to do, turns out my time seems to go haywire
Eltech: 0.2, 0.09, 0.17 ... those are the time spent after 1, 2, 3 consecutive iterations
Scarfield: no new rooms yet no, just checked
Scarfield: maybe you check the duration between iterations, and not the total duration since first time stamp
Eltech: nope, just checked, for some reason my start variable changes value on its own
Eltech: may be due to using floats
Eltech: lemme check the ns version
Eltech: still moving
Eltech: but more flexible at least
Scarfield: well it seems like thats the issue, figure out why that value changes, and you should be all good
Eltech: good grief
Astrobytes: LO
ShortBaited: anyone want that i create some docs to the private api from codingame?
Astrobytes: A few people have done so in the past, feel free to do your own
ShortBaited: yeah but there like 4 years ago and i did see a few minutes some changes in the request bodys
Astrobytes: There's a few more recent (I don't have the links off the top of my head right now) but yeah, there have been changes. Go for it :)
ShortBaited: Okey :)
The_10x_Engineer: :muscle: 🤓 :rocket:
Eltech: \o
Eltech: finally fixed my problem
Eltech: it's alive!
The_10x_Engineer: Sup
BigFatDecker: welp i just started and im having trouble haha
The_10x_Engineer: :pensive:
CodeChamp101: How old is everyone here
CodeChamp101: (786){System.Error}|{Web.Page.Blocked}
CodeChamp101: :point_up_2_tone4:
CodeChamp101: :point_up_2_tone4:
CodeChamp101: http://chat.codingame.com/pastebin/d6e1e1f0-57a3-4722-9b1e-da16e8819f73
The_10x_Engineer: I'm actually Math.Inf years old :smirk:
CodeChamp101: Im actually 11 years old
The_10x_Engineer: :eyes:
orangesnowfox: The_10x_Engineer same, but 1 year younger :smirk:
CodeChamp101: System.out.println(Hi,)
CodeChamp101: http://chat.codingame.com/pastebin/f1d2ed7e-ff94-4550-8e32-4801cc3a27c0
CodeChamp101: http://chat.codingame.com/pastebin/3898700e-07f4-4f63-b9a7-413605f10874
orangesnowfox: codingame pastebin doesn't work for me, so no clue
BigFatDecker: can someone help me
CodeChamp101: :point_up_2_tone4:
CodeChamp101: :point_up_2_tone4:
orangesnowfox: BigFatDecker https://dontasktoask.com/
PatrickMcGinnisII: std::terminate(this);
CodeChamp101: Bigfatdecker this one
CodeChamp101: https://www.youtube.com/watch?v=nhPc-pv_FIE
CodeChamp101: :point_up_2_tone4:
The_10x_Engineer: orangesnowfox bruh :eyes:
CodeChamp101: :point_up_2_tone4:
CodeChamp101: https://www.youtube.com/watch?v=nhPc-pv_FIE
The_10x_Engineer: :point_up_2:
CodeChamp101: :point_up_2_tone4:
PatrickMcGinnisII: https://www.youtube.com/watch?v=LACbVhgtx9I
CodeChamp101: :point_up_2_tone4:
CodeChamp101: https://www.youtube.com/watch?v=MtN1YnoL46Q
CodeChamp101: :point_up_2_tone3:C
CodeChamp101: https://www.youtube.com/watch?v=MtN1YnoL46Q
BigFatDecker: how do i use the distance and angle to get to the next check point in coders strike back
The_10x_Engineer: BigFatDecker you just do it
- smirk:
BigFatDecker: thank sooo much help...
The_10x_Engineer: BigFatDecker thanks man :joy:
The_10x_Engineer: But actually I dont know : /
CodeChamp101: ng-repeat="m in currentRoom.messages | limitTo:-displayedMessages"'
PatrickMcGinnisII: 'cmon, where'[s madknight when i needd him
CodeChamp101: ng-repeat="m in currentRoom.messages | limitTo:-displayedMessages"ng-repeat="m in currentRoom.messages | limitTo:-displayedMessages"ng-repeat="m in currentRoom.messages | limitTo:-displayedMessages"ng-repeat="m in currentRoom.messages | limitTo:-displayedMessages"v
The_10x_Engineer: uh oh here we go
The_10x_Engineer: spam
The_10x_Engineer: PatrickMcGinnisll what happened :eyes:
CodeChamp101: ng-repeat="m in currentRoom.messages | limitTo:-displayedMessages"
PatrickMcGinnisII: newx=checlpointx-(vx*3); newy=checkpointy-(vy*3);
PatrickMcGinnisII: start there
The_10x_Engineer: pogchamp
orangesnowfox: Patrick, dang magic
CodeChamp101: Hey you are ichack?
orangesnowfox: ichack? I *was* izik, if that's who you're talking about
orangesnowfox: oh, CodeChamp
orangesnowfox: I just confused myself :pensive:
The_10x_Engineer: My friends and I are trying to use what we learned in school for Ghost in the Shell. It is working, just not well. I think we need more discrete dynamical systems or better datastructures or somethin
The_10x_Engineer: I mean more knoweldge of those things
PatrickMcGinnisII: GitC is my favorite
The_10x_Engineer: GitC lol
orangesnowfox: The_10x_Engineer, what are you currently trying, and why are you *thinking* it doesn't work?
The_10x_Engineer: thats what meant
CodeChamp101: https://fastsupport.gotoassist.com/
CodeChamp101: nope not good website
orangesnowfox: Well, yeah, GitC
The_10x_Engineer: orangesnowfox we actually haven't written any code, it's just been paperwork trying to come up with a good strategy
BigFatDecker: where did you get the v from in (vx*3)?
orangesnowfox: v is "velocity"
The_10x_Engineer: I'm sure it'll pop into my head sometime
The_10x_Engineer: 💡🧠
orangesnowfox: The_10x_Engineer, probably the first thing to do would be "try something" even if it isn't good, science is fun
The_10x_Engineer: I think all of us are afraid since we'
The_10x_Engineer: we've worked on this for like an hour and if we choose a bad strategy we'll have mental breakdowns or something
PatrickMcGinnisII: The_10x_Engineer try bellman_ford algorithm to determine shortest routes
orangesnowfox: What league are you in?
The_10x_Engineer: Wood 1 :joy:
PatrickMcGinnisII: variation on Dijkstra
The_10x_Engineer: PatrickMcGinnisII :eyes: I've done enough graph theory for today
The_10x_Engineer: I'll check it out later
orangesnowfox: Patrick, do you have hints for how I can start handling inc? I somehow made it all the way to mid-gold without it, but my brain is not computing this properly
BigFatDecker: yep i still dont get this
PatrickMcGinnisII: inc?
orangesnowfox: yee, inc
PatrickMcGinnisII: i dunno what you are referring to
orangesnowfox: in GitC?
PatrickMcGinnisII: oh
The_10x_Engineer: inc?
The_10x_Engineer: increasing production rate?
PatrickMcGinnisII: yea, factory thing
The_10x_Engineer: factory go brrrrr
PatrickMcGinnisII: it depends on your approach, the basics is a math problem
The_10x_Engineer: 😰not another one
PatrickMcGinnisII: can an enemy take your factory if you spend the men
PatrickMcGinnisII: if it takes 5 turns for E men to reach your node (if your node has >=10 men), will you have enough defenders kinda thing
orangesnowfox: ... I barely look 2 turns in the future for checking if I'll have enough when the opponents hit
PatrickMcGinnisII: the 5 is arbitrary
PatrickMcGinnisII: always inc if you can imho
PatrickMcGinnisII: but sometimes the advantage of attacking must be taken
PatrickMcGinnisII: depends on your sim
orangesnowfox: "sim? what sim" Yeah... The problem is I never have enough borgs in one spot, or they get spent on attacking right after they arrive...
PatrickMcGinnisII: if you have the advantage, you can send out all your units and overwhelm
PatrickMcGinnisII: if not, then you have to eval
PatrickMcGinnisII: or sim
orangesnowfox: never figured out how to do variable move turns with a sim
PatrickMcGinnisII: start with something like an array of turns where you drop the # of enemy that can reach your node in those turns...if you will have more...then inc, otherwise don't
PatrickMcGinnisII: the tricky part is sending units to factories in the back to inc them faster, it gets wierd
PatrickMcGinnisII: factories that make nothing are not strategic
orangesnowfox: Yeah
orangesnowfox: Yeah... My main problem is keeping the bots in one place long enough to inc it
PatrickMcGinnisII: it all depends on whether you have the overall advantage or not, agressive bots do perform better
orangesnowfox: Well, I have that in spades
PatrickMcGinnisII: haven't looked at my code in a long time
PatrickMcGinnisII: lemme see
PatrickMcGinnisII: oh, i only did silver
orangesnowfox: https://www.codingame.com/share-replay/538323080 Honestly... In this particular replay, I seem to be having trouble actually commiting to captures
orangesnowfox: oh
PatrickMcGinnisII: I use php tho, so my sims are short
PatrickMcGinnisII: gitc was the most fun for me.
orangesnowfox: GitC is a lot of fun, I'm currently addicted to onitama though
PatrickMcGinnisII: i made so many versions of gitc bot
PatrickMcGinnisII: yea, i didn't inc correctly in the version I have up
PatrickMcGinnisII: although it does inc
PatrickMcGinnisII: silver boss incs earlier than i do and swallows me up
PatrickMcGinnisII: gl
orangesnowfox: lol
BigFatDecker: how is this if(next_checkpoint_angle >= 90) not in a function for python?
davilla: check the line before
davilla: also do you have a colon at the end?