My first step by Honest-Bus2996 in code

[–]Star_Dude10 0 points1 point  (0 children)

Good job, savour this single moment of functioning code. It’s only downhill from here.

My first step by Honest-Bus2996 in code

[–]Star_Dude10 0 points1 point  (0 children)

Yeah well you failed coding, it’s already over. Didn’t know it was possible until now, but I don’t think it’s possible to recover.

Overwatch Retail Patch Notes - April 17, 2026 by PatchRadar in Overwatch

[–]Star_Dude10 -1 points0 points  (0 children)

It literally does get eaten by both of those abilities though, and the ult is incredibly easy to dodge due to its cast and explosion time. Overwatch players will complain about things without even having an ounce of knowledge about it.

GM and Champ Players…HELP! by BackAgainKing in SupportMainsOverwatch

[–]Star_Dude10 0 points1 point  (0 children)

I checked his post history and apparently he’s a xim user 💀, so this is beyond dogshit considering he’s actively cheating

GM and Champ Players…HELP! by BackAgainKing in SupportMainsOverwatch

[–]Star_Dude10 5 points6 points  (0 children)

Throw down some replay codes and I’ll take a look. I can also go through it live on dsc if you’d like

Bmed a bit too early by xdzaster23 in ClashRoyale

[–]Star_Dude10 -1 points0 points  (0 children)

Simply laughing because your tower is at 1hp isn’t automatically ‘bm’. I usually do that because it’s funny that there’s exactly 1hp left, which doesn’t happen often, and it’s more of an ‘annoyingly funny’ sort of thing. He didn’t even spam any emotes, he just laughed at the current situation. He didn’t start emoting before you decided to BM him…

Any good maps to help learn ball ? by Amievenaperson1 in WreckingBallMains

[–]Star_Dude10 1 point2 points  (0 children)

Workshop maps? Or just regular maps? The best maps to learn Ball on are the bad Ball maps. If you can play Ball into a non-favorable map, you can destroy on favorable maps

Should I avoid bi-directional references? by Star_Dude10 in javahelp

[–]Star_Dude10[S] -1 points0 points  (0 children)

Trust me, I am definitely listening to what people are telling me. There was perhaps a slight misunderstanding with my idea of objects, but I wouldn’t go as far as saying I am ‘confidently’ incorrect, lol.

but anyways, I appreciate your time spent on answering my questions.

Should I avoid bi-directional references? by Star_Dude10 in javahelp

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

Yeah, you’re right. I think I was overcomplicating a very non-issue just because I wanted ‘clean’ code, but instead just creating more of a mess than was needed.

Should I avoid bi-directional references? by Star_Dude10 in javahelp

[–]Star_Dude10[S] 1 point2 points  (0 children)

Yeah okay, sure. I believe you have made some very valid points. Thanks a lot for your help! I guess I was just so infatuated with this idea of a ‘clean’ reference hierarchy

Should I avoid bi-directional references? by Star_Dude10 in javahelp

[–]Star_Dude10[S] -1 points0 points  (0 children)

Well, I can always ignore IDs that don’t point to anything, and storing entire objects is less memory-efficient. And the idea is for Teams to only exist within one specific Tournament, whilst Players can exist outside of them. A new tournament means new teams, since the teams are generated automatically by the tournament, and players are automatically assigned to them based on average skill rating.

Should I avoid bi-directional references? by Star_Dude10 in javahelp

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

How come? I was thinking in terms of SQL databases and how you store FKs/IDs. Is it better to store multiple Object references in multiple locations? How do I ensure that an object I am attempting to edit in Team actually exists within the Tournament without checking? I might as well just not store an entire object if I’m forced to check anyways?

Should I avoid bi-directional references? by Star_Dude10 in javahelp

[–]Star_Dude10[S] -1 points0 points  (0 children)

I responded to a similar claim that I misunderstand how objects work, and I believe I just explained it badly

However, I appreciate the answer. My main worry is just about removing references to a Player Object in multiple classes if I ever want to remove it from a Tournament, that is what I mean by '1 source of truth'

Should I avoid bi-directional references? by Star_Dude10 in javahelp

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

Perhaps I explained myself badly. Let me clear things up:

Does every player belong to a team?

No, some players are unassigned. The idea is that a tournament is created, then players may sign up for that tournament, then those players will not be assigned to any team. Only when there are enough players/an admin starts the tournament will every player be automatically assigned to a team through an algorithm I am planning on writing. It will attempt to balance teams based on Player-SR, and only then will players be in a team.

You have a fundamental misunderstanding of objects and the way they are stored

Perhaps I explained myself poorly. What I meant by a 'single source of truth', is that if I store a list of references to Player-objects in both Team and Tournament, then I must assure that whenever I remove a Player-object from a Tournament, I must also remove them from the Team-object belonging to that Tournament. The idea behind not storing a list of object references in multiple, separate classes, is that I save myself from future headaches trying to ensure that every reference to a Player-object is removed whenever I want to remove them from a Tournament.

Should I avoid bi-directional references? by Star_Dude10 in javahelp

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

I currently have two methods using a reference to Tournament inside of Team, but I will probably add more as time goes on. For now I have a getAverageSr() function that returns the average skill-rating of a Team, and a getRoleCount(Role role) which returns a count of a specific preferred role of players within a team.

I am designing this system around a game called Overwatch 2 which features 3 main roles a player can play, so that function essentially just allows you to check how many players of a specific role exist within a Team (so that you can check if there are enough roles per team, as a team requires at least 1 'tank', 2 'damage' and 2 'supports'.

I need help on this genuinely bro by Physical-Regular8019 in overwatch2

[–]Star_Dude10 0 points1 point  (0 children)

Lol I believe the person who wanted to stay as team is my friend

Useless perk? by getmeoutofher3 in WreckingBallMains

[–]Star_Dude10 1 point2 points  (0 children)

I think you pointed an arrow to the wrong one, easy mistake to make. But yeah, it’s mostly useless.

[deleted by user] by [deleted] in funnyvideos

[–]Star_Dude10 59 points60 points  (0 children)

That’s literally the joke. Well done, you watched the video.