Commit Graph
72 Commits
Author SHA1 Message Date
bence 4a1bb0fef6 Merged in feature/MAPG-20-make-it-work-with-1-map-instance (pull request #29)
Feature/MAPG-20 make it work with 1 map instance
2020-05-22 21:27:50 +00:00
bence f110bb9b18 MAPG-20 rename guessMap to map 2020-05-22 23:23:54 +02:00
bence 96ee250f96 MAPG-20 merge guessMap and resultMap into one map 2020-05-22 23:22:11 +02:00
bence 67358d91ea Merged in feature/MAPG-25-multi-round-score-localstorage (pull request #27)
Feature/MAPG-25 multi round score localstorage
2020-05-21 23:46:21 +00:00
bence dca88ac9a0 MAPG-25 don't query place in GameController 2020-05-22 01:32:30 +02:00
bence 41456098bf MAPG-25 store rounds and score sum in sessionStorage 2020-05-22 01:31:32 +02:00
bence b0b95fbbee MAPG-25 implement multi round game
refator of JS code
2020-05-21 23:55:59 +02:00
bence 8cf727a54a Merged in bugfix/MAPG-40-fix-invalid-usage-of-math.ceil (pull request #24)
MAPG-40 use Math.floor instead of accidentally used Math.ceil
2020-05-21 13:19:51 +00:00
bence 3d636be4ea MAPG-40 use Math.floor instead of accidentally used Math.ceil 2020-05-21 15:19:05 +02:00
bence d7fbb717bc Merged in feature/MAPG-39-improve-controllability-mainly-on-mobile- (pull request #23)
MAPG-39 increase spaces between elements
2020-05-21 13:11:13 +00:00
bence 532bc0416d MAPG-39 increase spaces between elements 2020-05-21 15:10:15 +02:00
bence 848c155c62 Merged in feature/MAPG-29-draw-line-on-result-map (pull request #21)
MAPG-29 draw line between the real and guess position on result map
2020-05-21 12:08:42 +00:00
bence 6cd777fc1b MAPG-29 draw line between the real and guess position on result map
minor fixes and improvements in JS
2020-05-21 14:07:37 +02:00
bence f04b0fa24a Merged in feature/MAPG-38-layout-fixes-and-improvements (pull request #20)
Feature/MAPG-38 layout fixes and improvements
2020-05-21 10:21:17 +00:00
bence 521229fc4b MAPG-38 fix resultMap's border-radius 2020-05-21 12:18:17 +02:00
bence cb000a5887 MAPG-38 turn out motiontracking for the time being 2020-05-21 12:17:53 +02:00
bence 3afadb506b MAPG-38 reset zoom in the documented way 2020-05-21 12:17:18 +02:00
bence 31e274c8cb Merged in feature/MAPG-35-further-mobile-layout-adaptations (pull request #18)
MAPG-35 further adaptations for mobile devices
2020-05-21 01:25:05 +00:00
bence f0344bfc6c MAPG-35 further adaptations for mobile devices
implicitely fix issue MAPG-17
2020-05-21 03:24:09 +02:00
bence b4615c2cdd Merged in bugfix/MAPG-35-fix-scorebar (pull request #17)
MAPG-35 re-add border-radius for scoreBarBase
2020-05-21 00:31:01 +00:00
bence bbd19cc1d8 MAPG-35 re-add border-radius for scoreBarBase 2020-05-21 02:26:36 +02:00
bence 655815db77 Merged in feature/MAPG-35-make-layout-nice-on-mobile (pull request #16)
feature/MAPG-35-make-layout-nice-on-mobile
2020-05-21 00:10:22 +00:00
bence cdbcb6ca52 MAPG-35 adapt JS to mobile layout
use null instead of explicit value when reset
2020-05-21 01:59:31 +02:00
bence 4d8ad9f10f MAPG-35 introduce layout for mobile
further style fixes and adjustments
2020-05-21 01:58:47 +02:00
bence f039c80eaa Merged in feature/MAPG-37-use-better-random-algorithm (pull request #15)
feature/MAPG-37-use-better-random-algorithm
2020-05-20 19:50:07 +00:00
bence 6116b94527 MAPG-37 use random_int() for selecting the position 2020-05-20 21:48:37 +02:00
bence b673be741a Merged in feature/MAPG-34-let-zoom-be-0-instead-of-1 (pull request #13)
feature/MAPG-34-let-zoom-be-0-instead-of-1
2020-05-20 18:37:01 +00:00
bence 2b88d721d0 MAPG-34 change default zoom to 0 2020-05-20 20:30:19 +02:00
bence 1219fb55c5 Merged in feature/MAPG-19-create-loading-screen (pull request #11)
feature/MAPG-19-create-loading-screen
2020-05-20 13:57:07 +00:00
bence f647e77366 MAPG-19 show loading gif during loading 2020-05-20 15:54:09 +02:00
bence 51be16395e MAPG-19 add loading.gif 2020-05-20 15:53:14 +02:00
bence 310f36e442 MAPG-19 store gif files in LFS 2020-05-20 15:52:55 +02:00
bence 496021198c Merged in bugfix/MAPG-33-fix-deployment-scripts (pull request #10)
MAPG-33 fix shebang in deployment scripts
2020-05-20 13:12:54 +00:00
bence f87ca60122 MAPG-33 fix shebang in deployment scripts 2020-05-20 15:10:55 +02:00
bence 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
bence 961e6e2380 MAPG-32 use default width (0) for scorebar 2020-05-20 15:00:11 +02:00
bence 82f69664c1 MAPG-32 use Math.ceil instead of Math.round for scorebar 2020-05-20 14:59:48 +02:00
bence 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
bence ba01767c6c MAPG-7 implement install and update scripts
minor adaptations for paths, environment variables and Dockerfile
2020-05-20 13:44:54 +02:00
bence 0bf93f7509 MAPG-7 redirect / to /game 2020-05-20 13:06:40 +02:00
bence 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
bence c0ad64cbe5 MAPG-7 refactor JS to be more readable
load Google Maps API async
2020-05-20 03:19:53 +02:00
bence 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
bence bccd02ce30 MAPG-27 reset pov before loading the next pano 2020-05-20 02:10:47 +02:00
bence 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
bence 066afa6e2e MAPG-26 remove "async defer" from <script> because they depend on each other 2020-05-20 01:54:14 +02:00
bence 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
bence 00ac5e842f MAPG-6 add score calculation to JS 2020-05-20 01:08:01 +02:00
bence 2991dfbe27 MAPG-6 add styles for score and result 2020-05-20 01:07:01 +02:00
bence 916995161f MAPG-6 add score element to game HTML 2020-05-20 01:05:46 +02:00
bence e15421af8b MAPG-6 introduce and unify geo calculations 2020-05-19 19:01:35 +02:00
bence 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
bence e4c59739dc MAPG-4 show real position after guess
make workflow better
2020-05-19 16:18:12 +02:00
bence dc943fa3cb MAPG-4 rename GuessController to GameController 2020-05-19 16:13:57 +02:00
bence 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
bence 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
bence 9555a43cf9 MAPG-10 reformat Bounds.php 2020-05-19 03:19:50 +02:00
bence 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
bence 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
bence 61cde2d40b MAPG-10 add toArray to Position 2020-05-19 03:14:20 +02:00
bence 037d19b0b3 MAPG-10 refactor view-controller to be able to handle JSON response 2020-05-19 03:13:55 +02:00
bence 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
bence ee636cae78 MAPG-15 read map bounds from the database 2020-05-18 00:23:45 +02:00
bence 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
bence 90a0e497b3 MAPG-3 select 1 place randomly from places (with demo map id 1) 2020-05-17 23:35:10 +02:00
bence 153acd1a4e MAPG-3 add DB connection variables to .env.example 2020-05-17 23:32:57 +02:00
bence 731a168323 MAPG-3 remove pov from panorama for the time being 2020-05-17 22:33:48 +02:00
bence 033e03335f MAPG-3 add initial SQL structure 2020-05-17 22:31:13 +02:00
bence 555984caf5 MAPG-3 create basic contoller functionality 2020-05-17 22:30:22 +02:00
bence c63f05295e MAPG-3 move index.php's view part to views/guess.php 2020-05-17 22:28:34 +02:00
bence d5c0e59d29 MAPG-3 move utils classes into Util namespace 2020-05-17 22:26:23 +02:00
bence 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