├── .nvmrc ├── src ├── BoardZ │ ├── cordova.js │ ├── app │ │ ├── models │ │ │ ├── picture.ts │ │ │ ├── notificationType.ts │ │ │ ├── logLevel.ts │ │ │ ├── tokenData.ts │ │ │ ├── geoLocation.ts │ │ │ ├── nearbyPlayer.ts │ │ │ ├── game.ts │ │ │ ├── navigationEntry.ts │ │ │ ├── player.ts │ │ │ └── notification.ts │ │ ├── interfaces │ │ │ └── boardzAppWindow.ts │ │ ├── apiConfig.ts │ │ ├── components │ │ │ ├── games │ │ │ │ ├── gamesRoot.html │ │ │ │ ├── gamesRoot.ts │ │ │ │ ├── list.html │ │ │ │ ├── list.ts │ │ │ │ └── details.html │ │ │ ├── widget │ │ │ │ ├── widget.html │ │ │ │ └── widget.ts │ │ │ ├── notifications │ │ │ │ ├── notifications.ts │ │ │ │ └── notifications.html │ │ │ ├── sidebar │ │ │ │ ├── sidebar.html │ │ │ │ └── sidebar.ts │ │ │ ├── dashboard │ │ │ │ ├── dashboard.html │ │ │ │ └── dashboard.ts │ │ │ ├── locateIt │ │ │ │ ├── locateIt.html │ │ │ │ └── locateIt.ts │ │ │ ├── pictureIt │ │ │ │ ├── pictureIt.html │ │ │ │ └── pictureIt.ts │ │ │ ├── radiusSearch │ │ │ │ ├── radiusSearch.ts │ │ │ │ └── radiusSearch.html │ │ │ ├── login │ │ │ │ ├── login.ts │ │ │ │ └── login.html │ │ │ └── header │ │ │ │ ├── header.ts │ │ │ │ └── header.html │ │ ├── services │ │ │ ├── cameraService.ts │ │ │ ├── platformInformationService.ts │ │ │ ├── geolocationService.ts │ │ │ ├── nativeIntegrationService.ts │ │ │ ├── notificationService.ts │ │ │ ├── mobileCameraService.ts │ │ │ ├── uiNotificationService.ts │ │ │ ├── logService.ts │ │ │ ├── signalrService.ts │ │ │ ├── gamesService.ts │ │ │ ├── authenticatedHttp.ts │ │ │ ├── playersService.ts │ │ │ ├── tokenService.ts │ │ │ ├── loginService.ts │ │ │ └── desktopCameraService.ts │ │ ├── app.html │ │ ├── modules │ │ │ ├── sharedModule.ts │ │ │ ├── gamesModule.ts │ │ │ ├── appModule.ts │ │ │ └── modulesConfig.ts │ │ ├── main.ts │ │ ├── directives │ │ │ ├── closeSidebarOnClickDirective.ts │ │ │ └── backButtonDirective.ts │ │ ├── resolvers │ │ │ └── gameDetailsResolver.ts │ │ ├── guards │ │ │ └── authenticationGuard.ts │ │ ├── app.ts │ │ └── routing │ │ │ └── routingConfig.ts │ ├── assets │ │ ├── favicon.ico │ │ └── images │ │ │ ├── layers.png │ │ │ ├── layers-2x.png │ │ │ ├── marker-icon.png │ │ │ ├── marker-icon-2x.png │ │ │ └── marker-shadow.png │ ├── vendor │ │ ├── pNotify │ │ │ ├── pnotify-adapter.js │ │ │ └── pnotify.custom.css │ │ ├── font-awesome │ │ │ └── fonts │ │ │ │ ├── FontAwesome.otf │ │ │ │ ├── fontawesome-webfont.eot │ │ │ │ ├── fontawesome-webfont.ttf │ │ │ │ ├── fontawesome-webfont.woff │ │ │ │ └── fontawesome-webfont.woff2 │ │ ├── bootstrap │ │ │ └── fonts │ │ │ │ ├── glyphicons-halflings-regular.eot │ │ │ │ ├── glyphicons-halflings-regular.ttf │ │ │ │ ├── glyphicons-halflings-regular.woff │ │ │ │ └── glyphicons-halflings-regular.woff2 │ │ └── jquery │ │ │ └── jquery.hammer.js │ ├── index.html │ ├── css │ │ └── app.css │ └── system.setup.js └── BoardZApi │ ├── BoardGame.Api │ ├── Hubs │ │ ├── IPlayer.cs │ │ └── PlayerHub.cs │ ├── Models │ │ ├── Coordinate.cs │ │ ├── Packshot.cs │ │ ├── BoardGame.cs │ │ └── Player.cs │ ├── Storages │ │ ├── IStorage.cs │ │ ├── PlayersStorage.cs │ │ └── BoardGameStorage.cs │ ├── Helpers │ │ ├── IPrincipalExtensions.cs │ │ └── DistanceCalculator.cs │ ├── Security │ │ ├── SecurityStartup.cs │ │ ├── SignalRAuthorizationMiddleware.cs │ │ └── AuthorizationServerProvider.cs │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── SwaggerUi │ │ └── CustomAssets │ │ │ └── lang │ │ │ ├── translator.js │ │ │ ├── ru.js │ │ │ ├── en.js │ │ │ ├── tr.js │ │ │ ├── pt.js │ │ │ └── es.js │ ├── packages.config │ ├── app.config │ ├── Controllers │ │ ├── BoardGamesController.cs │ │ └── PlayersController.cs │ └── Startup.cs │ ├── BoardGame.Host │ ├── Program.cs │ ├── packages.config │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── SwaggerUi │ │ └── CustomAssets │ │ │ └── lang │ │ │ ├── translator.js │ │ │ ├── ru.js │ │ │ ├── en.js │ │ │ ├── tr.js │ │ │ ├── pt.js │ │ │ └── es.js │ └── App.config │ ├── BoardGame.WebHost │ ├── packages.config │ ├── Properties │ │ └── AssemblyInfo.cs │ ├── SwaggerUi │ │ └── CustomAssets │ │ │ └── lang │ │ │ ├── translator.js │ │ │ ├── ru.js │ │ │ ├── en.js │ │ │ ├── tr.js │ │ │ ├── pt.js │ │ │ └── es.js │ └── web.config │ └── BoardGame.Api.sln ├── electron ├── icon.png ├── package.json └── index.js ├── resources ├── icon.ico ├── icon.png ├── icon.icns ├── splash.png └── icon_256.ico ├── typings.json ├── system.config.js ├── cordova ├── hooks │ ├── android │ │ └── after_platform_add_add_plugins.js │ └── ios │ │ └── after_platform_add_add_plugins.js ├── config.xml └── config_livereload.xml ├── tsconfig.json ├── gulpfile.js ├── LICENSE ├── tslint.json ├── .gitattributes ├── package.json ├── gulp.config.js ├── .gitignore └── gulpTasks └── electron.js /.nvmrc: -------------------------------------------------------------------------------- 1 | 6.5.0 2 | -------------------------------------------------------------------------------- /src/BoardZ/cordova.js: -------------------------------------------------------------------------------- 1 | // just a placeholder -------------------------------------------------------------------------------- /electron/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktecture/boardz-cross-platform-sample/HEAD/electron/icon.png -------------------------------------------------------------------------------- /electron/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "BoardZ2", 3 | "version": "0.1.0", 4 | "main": "index.js" 5 | } 6 | -------------------------------------------------------------------------------- /resources/icon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktecture/boardz-cross-platform-sample/HEAD/resources/icon.ico -------------------------------------------------------------------------------- /resources/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktecture/boardz-cross-platform-sample/HEAD/resources/icon.png -------------------------------------------------------------------------------- /resources/icon.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktecture/boardz-cross-platform-sample/HEAD/resources/icon.icns -------------------------------------------------------------------------------- /resources/splash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktecture/boardz-cross-platform-sample/HEAD/resources/splash.png -------------------------------------------------------------------------------- /resources/icon_256.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktecture/boardz-cross-platform-sample/HEAD/resources/icon_256.ico -------------------------------------------------------------------------------- /src/BoardZ/app/models/picture.ts: -------------------------------------------------------------------------------- 1 | export class Picture { 2 | 3 | constructor(public pictureUrl: string) { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /src/BoardZ/assets/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktecture/boardz-cross-platform-sample/HEAD/src/BoardZ/assets/favicon.ico -------------------------------------------------------------------------------- /src/BoardZ/vendor/pNotify/pnotify-adapter.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var pNotify = require('pnotify'); 4 | 5 | window.PNotify = pNotify; 6 | -------------------------------------------------------------------------------- /src/BoardZ/assets/images/layers.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktecture/boardz-cross-platform-sample/HEAD/src/BoardZ/assets/images/layers.png -------------------------------------------------------------------------------- /src/BoardZ/app/models/notificationType.ts: -------------------------------------------------------------------------------- 1 | export enum NotificationType { 2 | Information, 3 | Success, 4 | Warning, 5 | Error, 6 | } 7 | -------------------------------------------------------------------------------- /src/BoardZ/assets/images/layers-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktecture/boardz-cross-platform-sample/HEAD/src/BoardZ/assets/images/layers-2x.png -------------------------------------------------------------------------------- /src/BoardZ/assets/images/marker-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktecture/boardz-cross-platform-sample/HEAD/src/BoardZ/assets/images/marker-icon.png -------------------------------------------------------------------------------- /src/BoardZ/app/models/logLevel.ts: -------------------------------------------------------------------------------- 1 | export enum LogLevel { 2 | Critical, 3 | Error, 4 | Warning, 5 | Info, 6 | Debug, 7 | Verbose 8 | } 9 | -------------------------------------------------------------------------------- /src/BoardZ/app/models/tokenData.ts: -------------------------------------------------------------------------------- 1 | export interface TokenData { 2 | access_token: string; 3 | token_type: string; 4 | expires_in: number; 5 | } 6 | -------------------------------------------------------------------------------- /src/BoardZ/assets/images/marker-icon-2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktecture/boardz-cross-platform-sample/HEAD/src/BoardZ/assets/images/marker-icon-2x.png -------------------------------------------------------------------------------- /src/BoardZ/assets/images/marker-shadow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktecture/boardz-cross-platform-sample/HEAD/src/BoardZ/assets/images/marker-shadow.png -------------------------------------------------------------------------------- /src/BoardZ/app/interfaces/boardzAppWindow.ts: -------------------------------------------------------------------------------- 1 | export interface IBoardZAppWindow extends Window { 2 | initAdminLTE(): void; 3 | require(name: string): any; 4 | } 5 | -------------------------------------------------------------------------------- /src/BoardZ/app/apiConfig.ts: -------------------------------------------------------------------------------- 1 | export class ApiConfig { 2 | 3 | public get rootUrl(): string { 4 | return 'https://boardzapi.azurewebsites.net/'; 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /src/BoardZ/app/models/geoLocation.ts: -------------------------------------------------------------------------------- 1 | export class GeoLocation { 2 | 3 | constructor(public latitude: number, public longitude: number, public zoom: number) { 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /src/BoardZ/app/models/nearbyPlayer.ts: -------------------------------------------------------------------------------- 1 | import {Player} from './player'; 2 | 3 | export class NearByPlayer { 4 | public distance: number; 5 | public player: Player; 6 | } 7 | -------------------------------------------------------------------------------- /src/BoardZ/vendor/font-awesome/fonts/FontAwesome.otf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/thinktecture/boardz-cross-platform-sample/HEAD/src/BoardZ/vendor/font-awesome/fonts/FontAwesome.otf -------------------------------------------------------------------------------- /src/BoardZ/app/components/games/gamesRoot.html: -------------------------------------------------------------------------------- 1 |
Looking up your location...
9 | 10 |Sorry, we can't access your location.
11 | 12 |Take a picture of you and your game!
8 | 11 | 12 |13 | Sorry, but we can't access your camera to take a picture. :-(
14 || Name | 19 |Description | 20 | 21 |
|---|---|
| {{game.name}} | 24 |{{game.description}} | 25 |
{{p.player.name}} is playing {{p.player.boardGameName}}
32 |The "I am gaming!" function uploads an image and your current location for other gamers to join you 69 | on your journey!
70 |