Commit Graph

226 Commits

Author SHA1 Message Date
92c35a2087 MAPG-73 pass mapId to GameController and PositionController
adapt JS to send mapId
make separate JS for the game
2020-05-30 15:33:28 +02:00
675dd7cd07 MAPG-78 [fix] add missing return types to some methods 2020-05-30 01:53:39 +02:00
81d2c9e3fb MAPG-43 rewrite controllers to use the new http classes 2020-05-29 00:12:35 +02:00
a33244fb56 MAPG-43 rewrite controllers to use the new DB classes 2020-05-29 00:12:35 +02:00
d1c28e2d91 MAPG-43 add classes to handle http queries
remove romanpitak/php-rest-client from composer.json
2020-05-29 00:12:35 +02:00
5738be5c98 MAPG-43 move existing interfaces into separate namespace 2020-05-28 21:07:59 +02:00
17c0ec73df MAPG-43 initial classes for DB handling 2020-05-28 21:07:59 +02:00
b821d4a045 Merged in master (pull request #52)
MAPG-65 create variable so it can be a reference
2020-05-26 21:27:15 +00:00
6f8f2cf9cf MAPG-67 make GameController able to return JSON response 2020-05-26 23:19:23 +02:00
59b93e0078 MAPG-65 create variable so it can be a reference 2020-05-26 21:27:15 +02:00
72a79d4267 MAPG-47 introduce PositionController which replaces GetNewPosition and also calculates results 2020-05-25 19:46:31 +02:00
567238c979 MAPG-47 refactor GameController and its view 2020-05-25 19:14:49 +02:00
8eb3dcf2e2 MAPG-47 add toArray() method to Bounds 2020-05-25 18:54:37 +02:00
dca88ac9a0 MAPG-25 don't query place in GameController 2020-05-22 01:32:30 +02:00
6116b94527 MAPG-37 use random_int() for selecting the position 2020-05-20 21:48:37 +02:00
e15421af8b MAPG-6 introduce and unify geo calculations 2020-05-19 19:01:35 +02:00
dc943fa3cb MAPG-4 rename GuessController to GameController 2020-05-19 16:13:57 +02:00
9555a43cf9 MAPG-10 reformat Bounds.php 2020-05-19 03:19:50 +02:00
88e8a4e9e4 MAPG-10 add GetNewPosition controller
remove position selecing from GuessController
adapt GuessController to the new view-controller concept
2020-05-19 03:17:40 +02:00
61cde2d40b MAPG-10 add toArray to Position 2020-05-19 03:14:20 +02:00
037d19b0b3 MAPG-10 refactor view-controller to be able to handle JSON response 2020-05-19 03:13:55 +02:00
ee636cae78 MAPG-15 read map bounds from the database 2020-05-18 00:23:45 +02:00
90a0e497b3 MAPG-3 select 1 place randomly from places (with demo map id 1) 2020-05-17 23:35:10 +02:00
555984caf5 MAPG-3 create basic contoller functionality 2020-05-17 22:30:22 +02:00
d5c0e59d29 MAPG-3 move utils classes into Util namespace 2020-05-17 22:26:23 +02:00
a61d2951d7 MAPG-2 Init project MapGuesser
* add composer.json and basic environment
 * add basic classes
 * add basic map with JS and CSS (with demo functionality)
 * add files for docker-compose
 * add launch.json for Docker debug
 * add README
2020-05-17 19:29:06 +02:00