3 ms·
Nice but: 1. Do not debug in production (console.log ...) 2. Secure the session (do not display the session ID in high-scores) 3. This is not infinite (in64
by Toto778455 7y ago
Nice but:
1. Do not debug in production (console.log ...)
2. Secure the session (do not display the session ID in high-scores)
3. This is not infinite (in64 * in64) square + weird border :)
4. Balance the score for big discovered area
5. For the new players start the position on an playable area
6. Limit the total of high-scores returned by the ws
7. Limit the ws data as much as possible
...
Thanks and sorry :)
- farhaven 7y ago1, 2, 6, 7: All good points, I've fixed those. 3: 64 bits are close enough to infinity :) 4: Good idea. Maybe something like a logarithmic curve on the number of discovered fields would be good. 5: Also a good point. I'll try to build that