C
C#3y ago
Squirtle

Wanna make a program were people get infected by a disease [Answered]

if one person is infected i want him to infect someone else and that else to infect another one, and so on till all people get infected, ive made a list 20 people in it and after 5 hours(5 loops) the person gets immune and cant get infected but the infection from the other people goes on
25 Replies
Squirtle
SquirtleOP3y ago
dont know how to make one person infect the others and the 2 infected, infect 2 more and then 4 infect 4 more and so on
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Squirtle
SquirtleOP3y ago
can i send my code somewhere
Squirtle
SquirtleOP3y ago
pastemyst | (untitled)
a powerful website for storing and sharing text and code snippets. completely free and open source.
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Squirtle
SquirtleOP3y ago
do i have to sign up for it ?
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Squirtle
SquirtleOP3y ago
pastemyst | (untitled)
a powerful website for storing and sharing text and code snippets. completely free and open source.
Squirtle
SquirtleOP3y ago
and that is my class
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Squirtle
SquirtleOP3y ago
exactly
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Squirtle
SquirtleOP3y ago
yes and one person starts with being infected and in the end i wanna see how many hours it takes till everyone gets infected
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Squirtle
SquirtleOP3y ago
no one person can infect another one every hour i wanna see how long it takes to make everyone immune/how long it takes till everyone gets infected or just how long it takes till everyone gets immune
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Squirtle
SquirtleOP3y ago
like one loop = hour by button press it hour++ not irl hours
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Squirtle
SquirtleOP3y ago
everytime it loops the hour is added by 1, dont want real time involved in this just want to know how 1 guy can infect another one and then become immune and not get infected or cant infect
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Squirtle
SquirtleOP3y ago
exactly but one person can only infect one
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Squirtle
SquirtleOP3y ago
okay but how do i do so the next person in line gets infected so the first whom is infected is Johan and i want the next to be Frank and the next after that is Ahmed and Mohammed
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Accord
Accord3y ago
✅ This post has been marked as answered!
Want results from more Discord servers?
Add your server