C
C#2y ago
Roji

❔ Something wrong with my code

So the problem I have right now is when Yoda wins a game his message saying "Yoda wins the game" won't show up but for Luke it shows up, I've double checked but the codes are the same for Player (Luke) and Enemy (Yoda)
11 Replies
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Roji
Roji2y ago
what do you mean by share the entire class?
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Roji
Roji2y ago
for the assignment we need to follow what our teach said so I need it as red or we don't we lose mark which is sad 😦
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Roji
Roji2y ago
the background
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Roji
Roji2y ago
kk
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Roji
Roji2y ago
yeah I had backcolor as red and the forecolor as red too
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts
❔ parse a single json property differentlySo i have an existing json model that i cannot retire because some users already use it. I want to bWhat am I doing wrong in Clean Architecture?I got this .sln with seperation of concerns and i have an API that is supposed to fetch string data ❔ Release mode garbage collection is much longer than debug modeI built a WPF app, and to test the lag, i'm just selecting a ListBoxItem and moving my mouse up and ❔ Getting the cookies and current Url from Webview [MAUI]I'm making a simple app where the user needs to log in the first time they're using it in WebView anWhat is the difference between these two methods? Using params or just doing everything in one class```cs public static void Main(string[] args) { int a = 2, b = 3; int sum = Add(a, b) } public s❔ How do I pull information out of a function with alot of information?**I'm getting an error in the below statement SPECIFICALLY at keySet with the error "the name 'keySe❔ Single UDP Broadcaster to Multiple ClientsI'm trying to have a single UDP Broadcast to many clients. This is what I have working so far. Idea❔ how to logout specific user with identityserverI am trying to logout an specific user from previous identity user sessions, so what could I do to ❔ The type 'Attribute' is defined in an assembly that is not referenced.On a dotnet 7 xunit template, I added specflow and the title error pops upHow do I create a class with an array within it?I'm trying to create a class for people with an array of hobbies within it, but cannot figure out ho