| Summary: | The AI snake head could impale it's body | ||
|---|---|---|---|
| Product: | CS3343 2021/22 Group16 Greedy Snake | Reporter: | Baron Qu <zhiyanqu2-c> |
| Component: | Model section | Assignee: | Baron Qu <zhiyanqu2-c> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | ruoxinli3-c |
| Priority: | --- | ||
| Version: | Ver 3.0 | ||
| Hardware: | PC | ||
| OS: | Windows | ||
| Attachments: | Code implementation | ||
|
Description
Baron Qu
2021-12-05 18:02:25 HKT
Created attachment 103 [details]
Code implementation
The reason is implicit, therefore I just change the way to detect whether the snakehead collides its body or not.
Just change the self-death detection method. |