Csipcsirip: if a player moves out of his sector after he surfaced, the surface result will give the old or the new sector back ?
eulerscheZahl: thank you ZarthaxX
CommanderCero: could someone with c++ experience help me? I'm trying to generate a random number with the uniform_int_distribution and it works in my own IDE but not on codingame
pmor: how are you calling it?
CommanderCero: wait theres an error because I was testing it: http://chat.codingame.com/pastebin/57cd1a67-3816-4878-b41d-0d1d8fac729a
Csipcsirip: maybe this:
pmor: looks ok to me...but you may want to seed it with a number so that you get deterministic runs
pmor: So that when you replay to track down a bug, you get the same run
pmor: using std::random_device will give you non-deterministic runs
Csipcsirip: isn't the default seed constant ?
CommanderCero: yeah thats a good idea, will do that after Ive solved the problem. Also when copying the code from the stackoverflow post it works for some reason, but I cant find the difference
CommanderCero: i see the const was the problem, yeah makes sense since calling it would cause an change in the random generator
pmor: yeah, const there is a problem
CommanderCero: thanks guys!
Csipcsirip: https://www.codingame.com/share-replay/442454465 hm
eulerscheZahl: pro tip: spawn in the biggest lake
Csipcsirip: wow good idea
eulerscheZahl: i'm always happy to help
eulerscheZahl: test map: https://www.codingame.com/share-replay/442454755
Csipcsirip: ty, I use simple wall hugging atm
pmor: i use dfs
eulerscheZahl: i use BFS forr
eulerscheZahl: for the next step only
eulerscheZahl: i have a more sophisticated method for tron but that would make tracking too easy, do i don't think it's smart to find the best possible fill
pmor: Best to use it for the starting position, and then switch to making moves that limits narrowing down your location
struct: damn kovi didnt join long ago and he is already near the top
struct: Also nobody using D
dbdr: what a surprise
Zenoscave: who would have guessed ;)
struct: But it was so requested :(
eulerscheZahl: but they only wanted to see D on the platform without caring about the platform itselft
dbdr: AntiSquid said he actually likes D
eulerscheZahl: i thought he just submitted some D bots for the trolling factor
dbdr: I though so too
Zenoscave: could be either
dbdr: but asked him
Zenoscave: both are viable
Earthborne: Can we get Julia on the platform? :D
dbdr: you can vote for it
eulerscheZahl: Earthborne suggest it here https://www.codingame.com/forum/t/poll-what-programming-language-would-you-like-codingame-to-support-next/99904
dbdr: or is that poll closed now?
Zenoscave: dbdr I'm coming for your rank
eulerscheZahl: wait, still open my bad
jacek: oh shit paper soccer puzzle of the week
dbdr: which one Zenoscave? :)
eulerscheZahl: bad timing, sorry for you jacek
Zenoscave: Ocean of code
struct: Anyone else has this bug?
Zenoscave: Bah you must've improved
eulerscheZahl: yes struct
dbdr: yeah, they should not have a multi puzzle of the week during a contest :(
eulerscheZahl: noticed it this morning
dbdr: I know Zenoscave, I mean which rank?
eulerscheZahl: you rank dbdr
Zenoscave: I was @ 10 last good submit
dbdr: yes but my rank is changing :)
Zenoscave: I see
eulerscheZahl: i was at 30 added a spawn on the largest lake, 50 now
Zenoscave: probably won't out rank 15 rn
Earthborne: Didn't know Powershell counted as a programming language
eulerscheZahl: it's turing complete
dbdr: gg eulerscheZahl :D
dbdr: try the smallest lake
dbdr: less crowded
pmor: isn't powershell just a front for .net?
dbdr: safe from most torpedos and mines
Zenoscave: not completely
eulerscheZahl: so, why do we need c#, vb.net and f#?
eulerscheZahl: all the same
Zenoscave: Let's get rid of c# then?
dbdr: let's have only turing machines
dbdr: everything else is redundant
eulerscheZahl: calling for a new weird puzzle dbdr?
Zenoscave: oooh that would be fun
dbdr: would be nice yes!
AntiSquid: SQL is turing complete, add SQL to CG :D
dbdr: excel too
AntiSquid: also worth mentioning: http://wiki.postgresql.org/wiki/Mandelbrot_set
dbdr: it's TC AntiSquid?
Zenoscave: I love and hate that. It is so ugly I can't look aay
Zenoscave: nice climb dbdr
dbdr: thanks. i'm trying the 10 spot free for you ;)
Zenoscave: thanks ;)
AntiSquid: is what TC dbdr ?
dbdr: fight with Schnee instead
dbdr: Turing Complete
Zenoscave: no SQL is
AntiSquid: was saying sql is turing complete
dbdr: then you said mandelbrot also worth mentioning
Earthborne: Minecraft redstone is turing complete
dbdr: why wasn't clear
AntiSquid: mandelbrot thingy in sql just looks interesting and weird
dbdr: should open the link I guess
AntiSquid: yes since i mentioned sql already
Zenoscave: the SUBLEQ operation is TC
dbdr: nice one AntiSquid
eulerscheZahl: somehow my internet connection just dropped, was about to link https://www.youtube.com/watch?v=_3loq22TxSc
eulerscheZahl: actually quite impressive
dbdr: also https://www.youtube.com/watch?v=E1xs9_vdXNY
dbdr: through Powerpoint sounds more limited, so more impressive
Earthborne: But that poll, is the team just plowing down the result list? I see Typescript and D were already added
dbdr: it counts, but not automatic I think
eulerscheZahl: typescript was added because a paying client wanted it
AntiSquid: TS was maybe easier to add since there's JS already
Earthborne: oh, haha
dbdr: Zenobia spamsubbing?
dbdr: Zenoscave sry
struct: ah I see
dbdr: fix your tabability
Zenoscave: my what now
dbdr: Zen<tab> gives someone else
Zenoscave: Z<tab> Ze<tab> and Zeno<tab> all give me
dbdr: it depends who's on the list
struct: refresh dbdr and fixed
dbdr: and the webchat is strange
AntiSquid: sometimes when i have multiple CG tabs open and refresh i still get usernames in tab that aren't in the chat anymore
struct: nick tab works for mods online and all the users that have typed in your current chat window
dbdr: best for everyone to minimize the unique prefix of their pseudo
dbdr: hm, there's a puzzle in that...
dbdr: I'm d<tab> :)
dbdr: it's relative :D
Zenoscave: it checks out
dbdr: let's all ping random people
Zenoscave: there's no q's for me
dbdr: what did I do? :/
AntiSquid: nice usernames
Zenoscave: almost pinged recur_se
dbdr: AntiSquid could you kick AntiSquid, he's spamming the chat and pinging random people?
AntiSquid: sorry :(
Zenoscave: AntiSquid can you kick dbdr he suggested the idea
AntiSquid: nah i shouldn't spam
Zenoscave: sorry as well
struct: Ban :hammer:
dbdr: maybe it's attract new people to the chat :)
Zenoscave: Are the usuals not good enough :P
dbdr: hm, I wonder, if you pseudo is "the" you must be pinged constantly
AntiSquid: but sometimes the chat has many consecutive messages of pure gibberish, although they might look like a real conversation
dbdr: Auto<tab> => nothing :o
Automaton2000: thats what you mean now
Automaton2000: you can make a good bot
AntiSquid: AutomatonNN why are we still spamming :D
AutomatonNN: what is the problem with it?
dbdr: Automaton2000 fixed indeed
Automaton2000: hey guys can you help me with the temperatures puzzle
AntiSquid: ok then keep spamming i guess AutomatonNN
dbdr: ok, so it's people who have written in what I see. good to know
Zenoscave: that's one you should solve on your own Automaton2000
Automaton2000: i don't even know what that means
AutomatonNN: eulerscheZahl is there a way to see the puzzle about the video array of all characters as the valid
Zenoscave: lol always pinged
AntiSquid: quite mean they keep it this way
AntiSquid: whoever is in charge of the bot
dbdr: it's not hardcoded I think
struct: I mentioned solution
struct: everytime Automaton pings euler, euler makes a bot that pings magu s
dbdr: or he changes his pseudo
dbdr: the automatons won't keep up
Zenoscave: I should have a bot that changes my psuedo to euler whenver he changes his from it
AntiSquid: but maybe he feels attached to his pseudo ?
AntiSquid: funny royale had to change his due to a multi
Zenoscave: I think i commented out all my sonar
Zenoscave: That may be an issue :thinking:
AntiSquid: easy to make some multi with a theme that justifies having mag us in the title, if only euler would have thought about it :P
AntiSquid: is a nested switch case a bad idea?
kovi: hmm, big variance
kovi: 22->11 tonight
AntiSquid: and for a moment i thought you're applying some high level statistics to narrow down the enemy's position .
Schneewittchen: Sequential Monte Carlo
Till: In wood league you can win surprisingly many battles by just making valid moves...
wlesavo: Illedan, eulerscheZahl, did you guys thought of nerfing the mines by giving up the direction it is planted? right now it seems kind of useless to even keep track of them. or is that too harsh?
mchl12: I remember a game in which my AI eliminated 20 possible positions by triggering a mine. I am not sure what the average information gain of a mine trigger is however.
mchl12: I don't feel like it useless to track it, I also don't know how the nerf would effect it.
struct: well it could reduce states quite a bit
wlesavo: well state wise it does give up some information, i meant using the prediction of mine placing in your moving strategy
Illedan: I have considered it. But it is very hard to know what effect such changes would have. As I like the game now and don't want to break it.
struct: Imagine you had aroudn 100 states, and enemy placed a mine
wlesavo: Illedan thx, got it
struct: currently at worse case would be after placement 400 states
struct: with your idea, it would be the same 100
struct: Mine position would make mines useless imo
Illedan: Not really
kovi: maybe nerf cooldown
Illedan: as you can block of area
wlesavo: not positions, just directions
wlesavo: but yeah, seems to be a big change
wlesavo: nwm than
struct: I think the 1 damage wouldnt change much
Illedan: Harder to use it for tracking
struct: ah there is that
struct: Might be good then
Illedan: And random 2 damage is kinda much :P
wlesavo: yeah, that could be worth it
Illedan: But that would break every prediction :(
struct: Changes at this time is always an hard choice
wlesavo: well not every
wlesavo: but yeah
wlesavo: same with removing mines after explosion, seems really balanced, but would break many bots
darkhorse64: It reminds me of UTG where you could chain explosions. May be I haven't thought enough to it but I hardly see how you can track mines in the current design. This explains probably why I am so low
struct: Have you tried saving all the possible states?
darkhorse64: In this respect, giving mine positions would have a large impact because it would help pruning potential positions even more than firing torpedoes
struct: but yes it can be a bit hard
wlesavo: well it still helps now
struct: because you will never know if it was N/S/E/W
darkhorse64: I currently save all possible positions bit not paths. So a MINE is potentially 4x positions
darkhorse64: It's useless. So I guess I have to save history so that everytime a position is pruned, it removes a path and potential mines. Add SILENCE and I think your bot bombs
struct: it can help you a lot
struct: even more when a mine triggers
struct: If he triggers a mine you could remove all states than never crossed that position and placed a mine in that dir
struct: or just that never placed a mine on that dir, might be simpler
darkhorse64: Got it. I am a bit concerned about memory and timeouts but I guess I am pessimistic if you have already gone this way
struct: I havent, but I think some players have similar approach
wlesavo: you cant really store all the different paths
wlesavo: due to chain silence
darkhorse64: I remember a thread where people timeout at frame 90 because of the # of paths
struct: well that was with quite a few paths
struct: and with a bot that was made just to test this
wlesavo: this is gonna happen for sure in quite a few games
struct: But I guess you can ask some players how many paths they can store
struct: The timeouts happen if your bot only moved
struct: and used no skills
struct: if you use Sonar, torpedo, mines
struct: it helps a lot
wlesavo: i think most people store the points where candidate definetely have been
darkhorse64: If you do not store everything for pruning later, you are helpless against mines
wlesavo: this is why i asked about giving up the direction it was placed
Illedan: I'll think about it
dbdr: is there an actual problem to solve?
wlesavo: dbdr how do you store path? :slight_smile:
dbdr: I meant, why are we considering changing the rules?
wlesavo: not really, i just asked if this is even a possibility, not really considering
Sam_Thundro: hey i started this game today.so,can anybody tell me how to make friends in this game
darkhorse64: dbdr : If you scroll up, the discussion arose from the fact that mines prediction perplexed me. Not excluding the fact that I miss something, I do not see how you can deal with mines without storing all possibles paths and pruning at the risk of timeouts
Sam_Thundro: hey I am asking something
darkhorse64: It's a competition. There are no friends here :grinning:
Sam_Thundro: oh I see , what a let down
darkhorse64: just kidding ...
Sam_Thundro: you tricked me buuu...
Uljahn: just follow Automaton2000
Automaton2000: there is no need to be in the top 20
Sam_Thundro: so how can we anyway?
Skril: darkhorse64 : you can merge info from different paths to avoid timeout ;-)
Uljahn: hover over an avatar
wlesavo: Skril doing the same, but this way you effectively erasing the path between the silences for this candidate, and cant for sure restore history, which is the main consern
Skril: That's if you reconstruct mine positions from the path. There are other means ^^
wlesavo: well maybe i miss smth, im sure people here will get through it
Sam_Thundro: hey how can we make friends?
wlesavo: Illedan, was the silver opening shifted? i think the date have changed
darkhorse64: If there is a solution, great. I would be concerned that the game turns into random where victory depends on walking on unpredictable mines
Illedan: Same date wlesavo
wlesavo: hm, wasnt it march 27? my bad then
Illedan: Still is?
wlesavo: League opening: 3/28/20
wlesavo: maybe some local problems on my pc
dbdr: depends on your time zone maybe?
dbdr: should be friday evening in central europe
wlesavo: previously it showed me the correct date, i didnt change the time zone for sure
wlesavo: nwm, just was surprised
darkhorse64: skril: was that mentionned in the chat ? I have an erratic connection
Skril: I don't know
Uljahn: wlesavo: ctrl+f5 updates your cached page so the date becomes relevant
wlesavo: Uljahn oh, thx, this works
Uljahn: have you submitted your code at least once?
wlesavo: DavidJangdal you can delete AI and choose the opponent, if your friend submitted his code
Scarfield: when you submit, you get in a league, and you can do what wlesav-o said to people in your league or lower leagues :)
Scarfield: the submits need to finish before yoo can see each other i guess
Scarfield: np, if you havent noticed, you can see the progression of your submits by clicking "last battles" in the left panel :)
KiwiTae: sup o/
KiwiTae: ooh there is a lockdown contest :D
Scarfield: yup :)
aenigma: can you place a mine on the same tile as your sub ?
KiwiTae: you can try if it works u can hehe
Scarfield: no, it places N S W E
ZarthaxX: KiwiTae :O
ZarthaxX: scarfo :O
AntiSquid: kiwitae = kiwibleu ?
KiwiTae: AntiSquid yoyoyo
KiwiTae: im new here
AntiSquid: how are you?
ZarthaxX: AntiSquid https://www.codingame.com/share-replay/442529396
ZarthaxX: you like lockdown
AntiSquid: oh lol didn't bother fixing that
kingofnumbers: all replays links posted in this chat are about the same thing :D
AntiSquid: is that yuyu hakusho avatar ?
eulerscheZahl: on my TODO for so long
eulerscheZahl: then it wouldn't be on my TODO anymore
eulerscheZahl: but i refactored my code to extract the tracker to a new class
eulerscheZahl: oh, sorry
pb4: tracker is such a big mess in my code -_-
Schneewittchen: @yfprojects For sure, but I would say its minimum as complicated as tracking your opp
Schneewittchen: It depends on your strategy. If you want to hide or sth you have to know the "known" positions
Schneewittchen: I use it for silence
Schneewittchen: But not in which direction and for how many steps
Schneewittchen: but yeah it depends
ZarthaxX: 43 lvls more to go RalphMcCrackenIII gogo
Nixerrr: Are you going to make it to top 100, ZarthaxX?
ZarthaxX: im prob quitting
Nixerrr: I mean overall, not the competition
ZarthaxX: yeah someday
Nixerrr: Why are you quitting?
ZarthaxX: im bad
eulerscheZahl: ZarthaxX 04:33PM 43 lvls more to go
50 isn't the max anymore
eulerscheZahl: and come on.. don't quit or there's only 1 polar bear left
ZarthaxX: kodle will do good without me
ZarthaxX: anyway im kidding not quitting (yet)
ZarthaxX: having fun
ZarthaxX: holy you are 51
ZarthaxX: so the test acc, what lvl is he?
eulerscheZahl: only updates on XP gain
ZarthaxX: a hok
ZarthaxX: what is the cap lvl
eulerscheZahl: no cap anymore
ZarthaxX: i mean there has to be one..
ZarthaxX: just impossible to reach
eulerscheZahl: some CG dev saw that i maxed out and decided to refactor
ZarthaxX: can we make the test account gain xp somehow? :P
ZarthaxX: haha okey..
AntiSquid: anyone else having problems loading avatars in chat?
eulerscheZahl: i see all of them
Tunga: i see all of them
tonowak: i see all of them
Scarfield: I.C. Weiner
Nixerrr: Is this a dirty joke, Scarfield?
Scarfield: its from Futurama, when Fry thinks he is delivering pizza to one of that name
Nixerrr: Ah ok
Scarfield: but yes, i guess its below the belt :p
eulerscheZahl: i recognized the reference instantly
Scarfield: its from the very first episode iirc, also the interaction with Leela and her boss:
Scarfield: then you will get fired! thats not so bad.. from a canon into the sun!
AntiSquid: Automaton2000 ban deathshot
Automaton2000: to see it on the first round
Andeagi: how long does it take to get the results when you submit your code?
eulerscheZahl: depends on the game and league
eulerscheZahl: and your code as well (how much time you use)
eulerscheZahl: contest, wood league: 5-10 minutes probably
Andeagi: Do you battle all other users in your league?
eulerscheZahl: no, just submit to see
eulerscheZahl: 10 matches across the leaderboard to estimate your rank
eulerscheZahl: then some more vs similar ranked players
eulerscheZahl: and higher leagues will have more matches
Andeagi: ok thx :)
muy31: how did i promote without submitting?
AntiSquid: someone pushed you ?
AntiSquid: or they resubmitted bosses maybe
AntiSquid: or you suffer from sleepwalking submit spam
muy31: I easily beat AI without mines or Silence... why does bronze AI suck so bad?
Uljahn: it's not the boss just ai for testing
muy31: and why does it randomly SURFACE?
ZarthaxX: to make it easier for you to detect him
muy31: oh really
ZarthaxX: yeah, as the cat Uljahn said, just for testing, not a boss
ZarthaxX: tomorrow a player's bot will be the bronze boss
muy31: i actually never realized that there were only three leagues so far.
AntiSquid: there will be more
muy31: this is the first time I've committed to a contest
AntiSquid: sirvelu, gordu, regendo
muy31: what does that mean?
AntiSquid: was just typing with an accent
AntiSquid: thought it's funny, apologies
muy31: i get it now
muy31: i thought it was some magic words or incantation or something
Nixerrr: AntiSquid https://youtu.be/rECh7Fj4J4s
wlesavo: AntiSquid sounds like japanese englich from some anime
muy31: I don't know what to understand from this match...https://www.codingame.com/replay/442607204
muy31: but i know that
muy31: i haven't incoporated sonar, silent, or mine, and antisquid uses too much sonar
muy31: or maybe i use too much sonar
muy31: b/c i haven't done anything with the result yet
muy31: where did it go?
muy31: just make them
muy31: AntiSquid you no answer
muy31: i sad
AntiSquid: when did i claim i know jap lol ...
AntiSquid: it's called engrish wlesavo
AntiSquid: i don't use sonar, not in the submit
AntiSquid: you are the one who uses sonar, check the commands at the bottom muy31
AntiSquid: and maybe i should add something more than just basic enemy detection :p
muy31: yeah my bad
muy31: AntiSquid, how do you so effectively evade my sensing?
AntiSquid: i don't even try to
AntiSquid: you murder me don't you?
AntiSquid: silence is bs, maybe that's how
muy31: ok but yours is ridiculous
AntiSquid: look the bot what it does, it doesn't do anything exceptional lol
muy31: usuually by the 60th turn, I've pinpointed the opponent to like two or three places
muy31: but you use silence in a way that continuously keeps it above 50 places
eulerscheZahl: and then silence ruins it
AntiSquid: the silence isn't fun at all to deal with imo
muy31: I will copy my debug stream from turn 148 of a 239 game...
muy31: Standard Output Stream: http://chat.codingame.com/pastebin/d4e6ce14-f8a3-4437-b896-f74fb9947fbd
muy31: This is the game... https://www.codingame.com/replay/442625569
muy31: oh yeah my coordinates are row, col
muy31: not x, y
AntiSquid: all commands at once
muy31: even surface
muy31: but not trigger and mine
muy31: no... im pretty sure
AntiSquid: only real life sub walk silently on land
muy31: ok someone help me...
muy31: under what circumstance do I want to use SILENCE
AntiSquid: whenever it's annoying to the opponent
muy31: what would "trigger it" perhaps?
AntiSquid: kind of always
AntiSquid: icecream17 are you stuck in wood1?
AntiSquid: ok just add silence to your bot and you instantly promote to bronze
muy31: you can actually promote w/o anything else except for torpedo
Astrobytes: you can promote with just silence
muy31: and a good sense technique
AntiSquid: ya but if you want just the promotion, silence is the easy way out
muy31: i guess
AntiSquid: = nice to have so many annoying acronyms, in case anyone wonders
Astrobytes: if silence is not charged move + charge it else silence? What's hard about that?
AntiSquid: just do silence instead of torpedoes icecream :D
muy31: he means using silence
AntiSquid: or interchange move and silence
AntiSquid: silence N instead move N
AntiSquid: even silence 0 will do
AntiSquid: silence N 0, no change in movement calculation
Astrobytes: I got to bronze w/ no enemy tracking, just move + silence
AntiSquid: ya total bs
Astrobytes: think about that for a minute
AntiSquid: it furiously can taunt your enemy
muy31: it lets u say MUDA MUDA MUDA
AntiSquid: without them seeing it
AntiSquid: idk if it matters, just use silence and hope for the best :D
muy31: i also have possible opp array
mchl12: What do you use the totalsOpp array for?
muy31: ok i can help you
muy31: does your code find the starting point of the opponent/
muy31: so whenever your opponent uses silence, reset totalsopp
muy31: and reset possible opp
AntiSquid: nah you have to expand actually, although it's dull it's the only way
muy31: to all possible positions
muy31: that could have been done by silence
muy31: and it can be the new possible positions due to silence
muy31: im still working on when to use silence
mchl12: Many islands look similar because they have a minimum size of 2x2 (unless they are along the top or right edge)
muy31: mchl12 the dodge at the end, fantastic AI
muy31: kind of legendary
muy31: mchl12 are you keeping track of how much I know about your position, or are you ignoring it
mchl12: Thanks :) I do keep track of how much you know about me. It should be the second number in my MSG
AntiSquid: wow i drop in ranks a lot :D
muy31: RIP your number is less than my number...
muy31: im talking about mchl's MSG number
struct: mchl12 is the first message the possible enemy positions
muy31: it is
mchl12: Yes it is
struct: if yes, then why do you sonar when enemy only has 1 possible possition?
muy31: i was about to ask the question
mchl12: muy31, are you deducing positions based of mine triggers
mchl12: then that is probably it
muy31: i haven't done anything with sonar or mine
muy31: in terms of response to enemy
mchl12: struct, my ai is not perfect by any means
muy31: what can i deduce from mine placement?
muy31: not really a range...
muy31: prompt me
muy31: i can't think of a way
mchl12: for each possible path that the opponent took, i keep track of the possible positions of the mines. When the opponent triggers a mine I can eliminate some possible positions.
blasterpoard: mchl12 https://www.codingame.com/replay/442642724 I tested my traching against you and we have the same output xD
blasterpoard: at least for a couple of turns
muy31: but how do you know when that mine was placed? do you keep track of everything mchl12?
Astrobytes: You get MINE in the opponent actions
muy31: i think i have a foggy idea then
mchl12: not everything, if I kept track of the exact path the opponent took I would be able to deduce slightly more in very specific cases. But I decided that that would not be worth the time investment yet
AntiSquid: astro are you not competing?
mchl12: But you do need to keep track of all possible positions and the possible mine locations that belong to those.
Astrobytes: Yeah, but slowly. I have a lot to deal with rn
AntiSquid: judging by your rank you seem even less interested than i am
muy31: ok then
Astrobytes: No I'm interested, waiting for some dedicated coding time. Too much on the go rn
muy31: maybe your array has a size of 0
muy31: due to nuances in your code
muy31: when you determine something from the present situation, do you make changes to your current position array?
muy31: i meant opponent current position
muy31: how do you make sure that those changes are permanent?
muy31: that they carry on to the next turn?
muy31: i know
muy31: does your start position array change permanently?
muy31: so how do you set new start positions?
struct: nice wlesavo
muy31: you need to remove everything from the start array, and the new positions possible from the opponent doing silence to the start array, and then reset the totalopps array
muy31: *empty the totalopps array
Astrobytes: struct, when delete?
struct: I havent coded a line yet
struct: So I cant tell
wlesavo: struct thx!
Astrobytes: lol, fair enough
struct: I have ideas though
muy31: by start array i always meant opponent's possible start positions (my bad for being unclear icecream17)
struct: I still have 24 days
struct: plenty of time
muy31: b/c start + moves = current
Astrobytes: Just waiting on the last day submit then a table flip, then delete?
muy31: so you need to make changes to the start affect the current
muy31: and changes to the current should affect the start
struct: I dont think i will wait for last day this time
Astrobytes: lol wise move struct :)
struct: Maybe Ill have something soon
muy31: yes, so if we change oppCurrent, it should change possible Opp
muy31: and if we change possibleOpp it should affect oppCurrent
muy31: and if we empty totalsOpp oppCurrent = possibleOpps
muy31: for real?!
muy31: my bad then
muy31: i have a 2d array called canIGo
muy31: that I change to false for every coordinate that I visited
muy31: after printing my move, i set the coordinate to false, so that my move function does not take a move that will go on to that sqaure into account
icecream17: https://www.codingame.com/replay/442649983 i delete the possible space but somehow it didn't work
muy31: my bad i wasn't paying attention
muy31: have you tried console.error-ing possible things?
muy31: just to debug it yourself icecream17
muy31: also, i recommend you keep playing against the wood 1 boss instead of yourself
muy31: Do you think that I should go out of my way to avoid mines completely?
muy31: can one silence through one's visited cells?
Astrobytes: One cannot
Astrobytes: "Silence requires 6 charge actions to load. This allows you to move 0 to 4 cells in a given direction (not visiting already visited cells or islands). Your opponent will not know in which direction or how far you've moved."
struct: USA has more cases than china now
struct: than china had*
pmor: confirmed....and I'm not sure how reliable china's numbers are.
struct: We both think the same dont worry
pmor: but the people here aren't taking self-quarentine as seriously as china did.
struct: HealthCare in America its a bit harsh isnt it?
pmor: Its incredibly expensive if you don't have insurance
Swagboy: Chinese governement knows how to be persuasive
struct: mchl12 I found timeout on a replay
struct: do you want it?
Zenoscave: good guy struct helping player in rank 1
struct: i think he knows he timeouts
struct: The enemy had 25k possible states
Beerus: i defetead the wood 2 without shooting torpedo
muy31: cause it hurts itself pretty stupidly
muy31: honestly beerus dont expect that is ever going to happen with anybody else's AI
Astrobytes: Beerus you can get to Bronze without shooting a torpedo
muy31: yes you can, but not b/c opponent is hurting itself
muy31: is there a way to determine the location of the mines?
struct: well you know it can be in 1 out of 4 spots
struct: that is if you know is exact position
Astrobytes: Bugfix is bug to fix bug. The foundation of all great software :D
egaetan: lot better
struct: Seems like once boss detects you, you cant escape
Swagboy: haha sounds about right
icecream17: It's a tie! Wow. https://www.codingame.com/share-replay/442685218
icecream17: My awesome if statement (used twice to solve bug): if (x < n OR (x < o AND rl AND (rl.i(q) isNot p)) OR ([a[rl.i(q)], a[rl.i(r)].s().j() isNot t && [a[rl.i(q)], a[rl.i(r)].s().j() isNot u) then b[b.i(M.m(n(o)))] = p
struct: your code makes it looks like you are codegolfing
Astrobytes: Not being funny but ther *has* to be a better way to write that mess
struct: also they are probably not built in functions
Astrobytes: But why the f would you do that?
struct: I see
struct: you have 100k chars available
Astrobytes: This is not code golf
struct: so your code doesnt actually looks like what you pasted here
Astrobytes: Why not just paste the code snippet? Why change it?
struct: You can comment is fine, it just looked weird if you coded like that
struct: what for?
struct: The screenshot is readable
struct: the code before isnt
Astrobytes: "shortest mode"
struct: yeah code golf is code solution in the least ammount of chars
KiwiTae: icecream17 thor never goes north hehe
Astrobytes: Kiwi you doing the contest?
KiwiTae: I pressed JoinIn button last night >,< still reading the title
KiwiTae: I am bit busy :( my game going out soon on consoles hehe
struct: your game?
Astrobytes: lol, yeah, as good a reason as any :)
KiwiTae: im AI engineer for a gaming indie studio :D got certified on steam xbox and nintendo switch <3
struct: Which game is it?
Astrobytes: "Peel the Kiwi"
KiwiTae: Georifters its called trailer is out soon ill share hehe
Astrobytes: Hm, portals and stuff
Astrobytes: Looks like a pretty fast gameplay platformer, the graphics are a bit annoying (just imo) but looks like fun
KiwiTae: >,< its childish graphics haha
KiwiTae: we won best casual at anaheim dreamhack before the pandemic hehe
Astrobytes: Oh nice! How many players?
KiwiTae: 1 to 4 players
KiwiTae: got a coop mode for campaign too
Astrobytes: cool, looks like it'd be fun with > 2 players for sure
Astrobytes: Oh cool, coop would be cool for 2 player
KiwiTae: it is .. thats why its not out yet.. fucking playing it all afternoons at the office >,< slowed down the production hehe
Astrobytes: hahaha :D
KiwiTae: and we have fancy cosplay for the characters
Astrobytes: lol of course.
KiwiTae: Sneffy sure
Astrobytes: Right I gotta go, later Kiwi
KiwiTae: see you pewpew
KiwiTae: hehe CSB
KiwiTae: maybe cast (point)checkpoint
KiwiTae: do you have your Checkpoint class after pod class in your file?not sure that would affect
KiwiTae: np :D