❔ Need some help with logic
im trying to make a the total defence and attack statistics equal to 35 (they are randomised for 6 players) heres the code: https://paste.mod.gg/ hope i explained it well enough
BlazeBin
A tool for sharing your source code with the world!
37 Replies
from line 49 to 80
$js
This is a C# server, you're more likely to get TS help in a JS-oriented one
$ts
Oh, there's even a TS server
yeah im doing c#
That code looks an awful lot like Typescript, though
why do people keep saying that it looks like java
am i just that shit
?
The code you sent is Typescript
Not C#
is it
Two different languages
You're asking for help with your French homework in a server for learning Japanese
yeah i get what your saying but im fairly sure that isnt typescript
@haakonseni don't see any code when i open the link
It most definitely is
Even the file extensions are
.ts
ive never written that
It also loads libraries from
deno.land
which is a package service for Deno, a Typescript-based runtimei think i just sent a wrong link
Ah
im not that smart tbh
Yeah, your link seems to lead to
paste.mod.gg
and it just shows the latest paste lolyeah
sorry for that
After you paste code there you need to click the save button, then you'll get the actual link
and thanks for trying to help aswell
cheers
Okay what exactly do you want to do
so i want the total value of attack and defence of every player in the team to equal 35
In other words, generate 6 random numbers that sum up to 35
12
i didnt think of it like that actually
Here are a few things you could try to make the total attack and defence statistics equal to 35:
cheers
<a:CH_ShiroPat:970610996425142342>
Is that ChatGPT?
No?🤔
People often paste ChatGPT's answers into codeblocks like this
Not to mention the "here are a few things you could try..."
Classic ChatGPT
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.
Was this issue resolved? If so, run /close
- otherwise I will mark this as stale and this post will be archived until there is new activity.