Commit Graph

38 Commits

Author SHA1 Message Date
6437e923c5 Merged in bugfix/MAPG-32-use-ceil-instead-of-round-for-score-percent (pull request #9)
bugfix/MAPG-32-use-ceil-instead-of-round-for-score-percent
2020-05-20 13:03:31 +00:00
961e6e2380 MAPG-32 use default width (0) for scorebar 2020-05-20 15:00:11 +02:00
82f69664c1 MAPG-32 use Math.ceil instead of Math.round for scorebar 2020-05-20 14:59:48 +02:00
c36b91d5a8 Merged in feature/MAPG-7-implement-automatic-deployment (pull request #8)
Feature/MAPG-7 implement automatic deployment
2020-05-20 12:51:36 +00:00
ba01767c6c MAPG-7 implement install and update scripts
minor adaptations for paths, environment variables and Dockerfile
2020-05-20 13:44:54 +02:00
0bf93f7509 MAPG-7 redirect / to /game 2020-05-20 13:06:40 +02:00
2c9a3ec23c MAPG-7 install nodejs, uglify-js and clean-css into the Docker image
cleanup Docker files
2020-05-20 03:26:51 +02:00
c0ad64cbe5 MAPG-7 refactor JS to be more readable
load Google Maps API async
2020-05-20 03:19:53 +02:00
35c749bea4 Merged in bugfix/MAPG-27-reset-pano-zoom-etc-after-loading-new-pano (pull request #7)
bugfix/MAPG-27-reset-pano-zoom-etc-after-loading-new-pano
2020-05-20 00:13:26 +00:00
bccd02ce30 MAPG-27 reset pov before loading the next pano 2020-05-20 02:10:47 +02:00
504f53d794 Merged in bugfix/MAPG-26-fix-js-loading (pull request #6)
MAPG-26 remove "async defer" from <script> because they depend on each other
2020-05-20 00:07:19 +00:00
066afa6e2e MAPG-26 remove "async defer" from <script> because they depend on each other 2020-05-20 01:54:14 +02:00
1ace9ae0b2 Merged in feature/MAPG-6-calculate-and-show-score-after-the-guess (pull request #5)
Feature/MAPG-6 calculate and show score after the guess
2020-05-19 23:20:39 +00:00
00ac5e842f MAPG-6 add score calculation to JS 2020-05-20 01:08:01 +02:00
2991dfbe27 MAPG-6 add styles for score and result 2020-05-20 01:07:01 +02:00
916995161f MAPG-6 add score element to game HTML 2020-05-20 01:05:46 +02:00
e15421af8b MAPG-6 introduce and unify geo calculations 2020-05-19 19:01:35 +02:00
1d4bfd75d8 Merged in feature/MAPG-4-show-the-real-position-on-a-map-after-the-guess (pull request #4)
Feature/MAPG-4 show the real position on a map after the guess
2020-05-19 14:33:33 +00:00
e4c59739dc MAPG-4 show real position after guess
make workflow better
2020-05-19 16:18:12 +02:00
dc943fa3cb MAPG-4 rename GuessController to GameController 2020-05-19 16:13:57 +02:00
5c9b54c881 Merged in feature/MAPG-10-check-if-place-has-panorama (pull request #3)
Feature/MAPG-10 check if place has panorama
2020-05-19 01:45:29 +00:00
ef95f5b986 MAPG-10 query new position with AJAX
check if pano at position exists
load new pano after guess
2020-05-19 03:44:17 +02:00
9555a43cf9 MAPG-10 reformat Bounds.php 2020-05-19 03:19:50 +02:00
e0d65b6e27 MAPG-10 adapt index.php to the new view-controller concept
add GetNewPosition's route to index.php
2020-05-19 03:19:23 +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
55b693df68 Merged in feature/MAPG-15-use-map-bounds-from-the-database (pull request #2)
feature/MAPG-15-use-map-bounds-from-the-database
2020-05-17 22:25:44 +00:00
ee636cae78 MAPG-15 read map bounds from the database 2020-05-18 00:23:45 +02:00
6ae34c8475 Merged in feature/MAPG-3-show-the-place-from-a-database (pull request #1)
Feature/MAPG-3 show the place from a database
2020-05-17 21:42:10 +00:00
90a0e497b3 MAPG-3 select 1 place randomly from places (with demo map id 1) 2020-05-17 23:35:10 +02:00
153acd1a4e MAPG-3 add DB connection variables to .env.example 2020-05-17 23:32:57 +02:00
731a168323 MAPG-3 remove pov from panorama for the time being 2020-05-17 22:33:48 +02:00
033e03335f MAPG-3 add initial SQL structure 2020-05-17 22:31:13 +02:00
555984caf5 MAPG-3 create basic contoller functionality 2020-05-17 22:30:22 +02:00
c63f05295e MAPG-3 move index.php's view part to views/guess.php 2020-05-17 22:28:34 +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