Timeline for First Python program: Snake
Current License: CC BY-SA 4.0
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 18, 2019 at 9:20 | comment | added | Maarten Fabré |
Nice use of complex numbers. I would use Enums instead of constants. They are even more clear
|
|
| Feb 18, 2019 at 0:42 | history | edited | Benoît P | CC BY-SA 4.0 |
added 138 characters in body
|
| Feb 18, 2019 at 0:33 | comment | added | scnerd |
I'll also suggest looking into numpy for direction vectors. It's not strictly necessary for 2D vectors (I actually really like that idea of using complex numbers, I might borrow that), but it'll certainly show up once you start looking into AI code, so you might as well get used to it now.
|
|
| Feb 17, 2019 at 21:40 | history | edited | Benoît P | CC BY-SA 4.0 |
added 14 characters in body
|
| Feb 17, 2019 at 21:34 | history | edited | Benoît P | CC BY-SA 4.0 |
added 583 characters in body
|
| Feb 17, 2019 at 21:25 | history | edited | Benoît P | CC BY-SA 4.0 |
added 583 characters in body
|
| Feb 17, 2019 at 21:15 | review | First posts | |||
| Feb 18, 2019 at 0:24 | |||||
| Feb 17, 2019 at 21:12 | history | answered | Benoît P | CC BY-SA 4.0 |