Bence Pőcze bence
  • Joined on 2020-12-27
bence deleted branch feature/MAPG-235-basic-challenge-mode from esoko/mapguesser 2021-05-29 00:16:23 +02:00
bence pushed tag Release_2105.6 to esoko/mapguesser 2021-05-28 21:28:46 +02:00
bence commented on pull request esoko/mapguesser#48 2021-05-28 20:24:14 +02:00
feature/MAPG-235-basic-challenge-mode

I think Websocket is not really necessary for that, it could be implemented without "active" connection. For example we could store a timestamp for each guess and calculate the difference between the…

bence commented on pull request esoko/mapguesser#48 2021-05-27 23:40:16 +02:00
feature/MAPG-235-basic-challenge-mode

Yes, I meant later, it will be a bigger task.

bence commented on pull request esoko/mapguesser#48 2021-05-27 23:39:14 +02:00
feature/MAPG-235-basic-challenge-mode

It could be solved with a hidden element, for example with class hidden which can be removed by JavaScript when it should be shown (it still can have class hideOnNarrowScreen). But I think it is…

bence commented on pull request esoko/mapguesser#48 2021-05-27 23:34:32 +02:00
feature/MAPG-235-basic-challenge-mode

I think some of the rules should be handled on higher level, for example font-family in mapguesser.css line 34,

bence commented on pull request esoko/mapguesser#48 2021-05-27 23:22:04 +02:00
feature/MAPG-235-basic-challenge-mode

This highscore table could be implemented for multiplayer in the future.

bence commented on pull request esoko/mapguesser#48 2021-05-27 23:20:45 +02:00
feature/MAPG-235-basic-challenge-mode

So actually users can cheat with this if they send a bigger number back :D

bence commented on pull request esoko/mapguesser#48 2021-05-27 23:16:29 +02:00
feature/MAPG-235-basic-challenge-mode

This file should be refactored sometime because it is very spaghetti :D

bence commented on pull request esoko/mapguesser#48 2021-05-27 23:09:13 +02:00
feature/MAPG-235-basic-challenge-mode

PHP's builtin ctype_xdigit could be used for that.

bence commented on pull request esoko/mapguesser#48 2021-05-27 23:06:31 +02:00
feature/MAPG-235-basic-challenge-mode

I think rand() should be called with explicit arguments, otherwise a number is returned between 0 and getrandmax() and getrandmax() is platform-dependent.

bence commented on pull request esoko/mapguesser#48 2021-05-27 22:56:17 +02:00
feature/MAPG-235-basic-challenge-mode

Maybe a do..while would be better here because the token calculation should not be repeated.

bence commented on pull request esoko/mapguesser#48 2021-05-25 18:13:59 +02:00
feature/MAPG-235-basic-challenge-mode

Gamma :D

bence commented on pull request esoko/mapguesser#48 2021-05-25 18:13:16 +02:00
feature/MAPG-235-basic-challenge-mode
1075533b3c MAPG-238 include view with @include
bence deleted branch feature/MAPG-143-allow-game-only-for-users from esoko/mapguesser 2021-05-11 18:30:00 +02:00
bence pushed to develop at esoko/mapguesser 2021-05-11 18:29:56 +02:00
c02f595606 Merge pull request 'MAPG-143 make it possible to disable game for guests (default is disable)' (#47) from feature/MAPG-143-allow-game-only-for-users into develop
54bc9c31db MAPG-143 make it possible to disable game for guests (default is disable)
Compare 2 commits »
bence merged pull request esoko/mapguesser#47 2021-05-11 18:29:55 +02:00
MAPG-143 make it possible to disable game for guests (default is disable)