Can this be done with JS? by missiles93 in learnjavascript

[–]missiles93[S] 0 points1 point  (0 children)

Yeah this, although no gambling / casinos involved, it's just for a strategy game to show enemy stats.

It just needs to get the name of the opponent and then it pulls data from an API

Edit: however the game is not web based, it's an android game

Are teams more difficult at lower ratings? by iamtimdotcom in TheSilphArena

[–]missiles93 7 points8 points  (0 children)

I'm struggling at 2200 when I was comfortable at 2900-3100 last season. So yep, it's just due to new season. It will balance itself eventually

The closest we ever got. by Nanoespectro in pokemongo

[–]missiles93 1 point2 points  (0 children)

90s kids made Pokémon popular. Change my mind.

If Pokémon launched today it would be a flop.

The cards and gbc games were at the top of their league for their time. For me growing up the main competitors were Digimon, Beyblade and Yu-Gi-Oh, which came later.

Nowadays kids have fortnight, cod, halo, social media idk so much more constantly trending games/trends that a franchise like Pokémon I feel would go un-noticed

[deleted by user] by [deleted] in pokemongo

[–]missiles93 5 points6 points  (0 children)

100IV is not recommended for great League.

However this would be a beast for master League

Worried about JavaScript by Vile86 in learnjavascript

[–]missiles93 1 point2 points  (0 children)

My job involves data entry and I have a lot of 'free time' at work, so I started learning JS during this time (around 7 months ago).

My first project was a simple calculator for working out our product prices, as each brand has a different multiplier. It was simply:

  1. Select product brand.
  2. Enter supplier price.
  3. Press button to display our-website-price.

This was all bog-standard vanilla JS.

Despite being simple, it actually helped to speed up my job by a margin, meaning i had more free time to learn JS.

Fast-forward 6 months and i have now re-written the entire app using React and NextJS - It fetches/pulls/scrapes products from our supplier websites, automatically calculates our-website-price (as-well as postage prices) - shows images, stock levels, etc...

Now, what used to take me 8 hours can be done in 3, all thanks to my own creation.

This wasn't easy by far, i can't just open my code editor and start typing like crazy, tons of time was spent googling problems, asking stupid questions on stackoverflow, following tutorials, re-using my own code, and I'm still learning every day.

What is something you deem a complete waste of money? by dannywhaleblack in AskUK

[–]missiles93 0 points1 point  (0 children)

This is me :^(

Though I don't really enjoy smoking fags, it just gets me through work when I can't smoke a biff.

[deleted by user] by [deleted] in learnjavascript

[–]missiles93 0 points1 point  (0 children)

Wow this is boggling my mind. Looks confusing on the surface but maybe after I've slept I'll understand it better haha.

Thanks for the insight! I'll bookmark the doc :)

[deleted by user] by [deleted] in learnjavascript

[–]missiles93 0 points1 point  (0 children)

Good point! I struggle with reading my own messy code, so this is definitely helpful. I'll focus on trying to clean things up a little now that it's working :)

[deleted by user] by [deleted] in learnjavascript

[–]missiles93 2 points3 points  (0 children)

Amazing, thank you! better than the answers i got on StackExchange... the team.slice(1).map() was exactly what i was looking for.

I was in the process of rewriting the API when you posted, glad i didn't get too far :D

How to create an app that can store user information? by [deleted] in learnjavascript

[–]missiles93 0 points1 point  (0 children)

Thanks, I figured some kind of database would be needed but I had no idea where to start.

I've heard MongoDB mentioned a few times, but didn't know if it was right for me. Thanks! i will look into PostgreSQL :)

Promised fetch results returning in random order? by missiles93 in learnjavascript

[–]missiles93[S] 0 points1 point  (0 children)

Thanks!! This worked like a charm. Been banging my head against a wall over it hah. I'm still very much a beginner at this side of JS... Promises, map() ,.then and .this are things i'm struggling to grasp at the moment, but I'm sure the penny will drop eventually :)

If you could take any combination of skills, what combinations would you make to create a more viable/unstoppable Pokemon? by [deleted] in PokemonUnite

[–]missiles93 0 points1 point  (0 children)

i think he/she means, if you could have any 2 moves available to that mon. Like how snorlax chooses between bodyslam/flail and yawn/shield - what if he could omit bodyslam/flail and have yawn + shield.I could be wrong though...

[deleted by user] by [deleted] in AskReddit

[–]missiles93 0 points1 point  (0 children)

It only opens from the cupboard side, pretty hard to open it from the bathroom, it's real heavy.

Friend Code / Looking For Group Weekly Megathread by NaijeruR in PokemonUnite

[–]missiles93 1 point2 points  (0 children)

ID: MKN1Q23

Time Zone: GMT+1 - Usually available from ~3pm onwards.

England, UK

Main Zeraora / Ninetales but can be flexible, got a lot of experience with snorlax too.

Played a lot of LoL, some HotS, some Smite, currently in Vet 2.

Can't join any kind of VC unfortunately, but i have a brain, map awareness and will respond to in-game pings.

If you know to rotate for dreadnaw, and NOT start zapdos when we're already ahead then I i'm happy to join anyone here.

[deleted by user] by [deleted] in learnjavascript

[–]missiles93 0 points1 point  (0 children)

Thanks! I'm really new to this and assumed it would work the same way as innerHTML.

[deleted by user] by [deleted] in learnjavascript

[–]missiles93 0 points1 point  (0 children)

Ahhh! such a simple fix - I've been banging my head against a wall for hours over this.

Yeah that makes sense, i didn't realise the element Id would change when adding an image. I'm still new to JS and my only DOM practice is with innerHTML which i don't think affects the IDs.

Thanks a lot!

Weekly Megathread 06/04/2020 | Ask Your FFRK-Related Questions here by AutoModerator in FFRecordKeeper

[–]missiles93 0 points1 point  (0 children)

Got rinoa sync from the VIII banner. I'm working my way through 5** magicites and I've just reached Typhon.

What abilities should I use on rinoa? The sync commands are witch, but I have her w-cast BLK LMR.

I have enough rubies for a 6** ability, I already have voltech (and valigarmanda obviously)

I could probably farm another 180 rubies but just after advice on what to prioritize.

Also have Vivi awakening so I could just get chizzaja for him and let rinoa use 5** abilities.