Beginner FriendlyFoundry
100 EXP
View results
Submission Details
Severity: low
Invalid

An error in enum causes the user to wait a long time

Summary
Enum has a calculation error. First there is a wait, 1, then a return, in the enum array everything should be like 1 2 3, this protects against errors.

Vulnerability Detail

Pending wait, that is, the user waits, then first, then turns, and 2, there is an error in the calculation
```

enum Result {
Pending,
First,
Draw,
Second
}

````

Impact
LOW

Tools Used
VS CODE

Recommendations
It should be 1 First, Draw, Second, Pending or something like that. That is, a bug in logic

Updates

Lead Judging Commences

NightHawK Lead Judge over 1 year ago
Submission Judgement Published
Invalidated
Reason: Non-acceptable severity

Support

FAQs

Can't find an answer? Chat with us on Discord, Twitter or Linkedin.