Граф коммитов

83 Коммитов

Автор SHA1 Сообщение Дата
OriolBonjoch 108937b969 Merge branch 'master' of github.com:OriolBonjoch/RockPaperScissorsLizardSpock 2020-04-17 16:57:31 +02:00
OriolBonjoch 172d94a3e8 Fix some bugs. 2020-04-17 16:55:16 +02:00
David Sanz 2b22a59111
Fix problem when entity token expires. Playfab SDK stores the token and it is needed to call PlayFabAuthenticationAPI.ForgetAllCredentials(). In addition now a new token is requested every hour, and not for every call to the service. (#17) 2020-04-17 14:23:35 +02:00
OriolBonjoch 43e7ae0567
Fixed some null pointer exceptions (#16) 2020-04-17 14:07:54 +02:00
Carlos de Miguel b3c164437e
Add contest legal terms and powered by Playfab (#15)
* Added legal contest terms and playfab text

* Fix indentation

* Fix Indentation LeaderBoard
2020-04-17 14:00:53 +02:00
OriolBonjoch 0111f74db9
Added Leaderboard stats when playing with bots (#14) 2020-04-17 12:23:26 +02:00
David Sanz 170443913d
Use uppercase for the user names to avoid conflicts with Playfab user registration. (#12)
* Use uppercase for the user names to avoid conflicts in the Playfab registration of the players. As an example, Playfab considers Dsr and DSR as different user names and allows to register both. But for the display name of those players Dsr and DSR are considered the same name and Playfab throws error by invalid name conflict. This
2020-03-26 15:22:50 +01:00
David Sanz b92234433a
Fix image path error (#11) 2020-03-25 10:39:47 +01:00
David Sanz 78a380b4fd
Update yamls for Github actions to the new version format and for multiplayer. (#10)
* Add PlayFab configuration to the Github workflows.

* Fix paths for Dockerfiles in the Github workflows.

* Update Github workflow step aks-set-context to last stable version.

* Update configmap conditionals to last Helm version

* Show error in case the web camera cannot be enabled.
2020-03-24 17:31:07 +01:00
David Sanz ff3eead205 Upgrade .net Docker image to 3.1 2020-03-19 14:10:36 +01:00
David Sanz 6141dfb775 Merge to forked repo 2020-03-19 13:25:58 +01:00
isaacrlevin 4ecc2776e5 upgrade to .net core 3.1 2020-03-18 11:48:13 -07:00
OriolBonjoch be5f760e32
Feature/playfab docs (#8)
* Added Playfab documentation

* Update README.md

* Update README.md

* Playfab documentation

Co-authored-by: David Sanz <dsrodenas@users.noreply.github.com>
2020-03-17 17:10:08 +01:00
David Sanz bd9fea5471
Fix/player colors (#7)
* For multiplayer, use the red astronaut and red hands for the challenger (player2) and blue astronaut for the user (player 1).

* Fix shake hand animation when the astronaut is in the right side. Add animation of the astronaut.

* In the invite page, disable button to play until the user name is not set, following the same behavior as in the main page.
2020-02-24 12:09:11 +01:00
David Sanz 861a0429de
Remove duplicated lines 2020-02-19 16:03:21 +01:00
David Sanz b166d19b55
Merge pull request #6 from OriolBonjoch/feature/disable-buttons
Merge from /feature/disable-buttons to master
2020-02-19 15:04:14 +01:00
David Sanz a7c8494307 Feedback for the styles. 2020-02-19 15:01:03 +01:00
David Sanz f32bd58f1c Move the component ConsoleLayout to the correct folder. 2020-02-18 18:03:00 +01:00
David Sanz e42b3702cc Add leaderboard link to the results page. Adjust styles to make the control fit to the home page and the results page. 2020-02-18 17:46:44 +01:00
David Sanz 753890db16 Fix navigation issues. 2020-02-18 12:35:41 +01:00
David Sanz d6daea1691 Fix issue with the time the hand was shaking in the battle. The hand was not shaking the time set (2 seconds). 2020-02-18 12:08:58 +01:00
OriolBonjoch ff67f8ee2f Remove playfab / twitter credentials 2020-02-18 09:18:37 +01:00
David Sanz 425234d56a In the home page disable the Play buttons until the user has not written a name. 2020-02-17 17:16:49 +01:00
OriolBonjoch e48b9213e7
Feature/all multiplayer (#5)
* Playfab Queue first approach

* Created token validation

* Added configurable token settings wait time

* Added Twitter login

* Fetch opponent name and store multiplayer game at cosmosdb.

* Refactored proto services names

* Removed Validate token after its request, no needed

* Done server multiplayer part.

* Added a background runner at the web project

* Added multiplayer

* Added account info

* Fixed stats

* Don't allow to confirm selection more than one time. (#3)

* Don't allow to confirm selection more than one time.

* Rollback unnecessary changes.

* Deleted blank lines.

* Feature/improve joining calls (#4)

* Don't allow to confirm selection more than one time.

* Rollback unnecessary changes.

* Deleted blank lines.

* Open status stream on creating pairing.

* Helm updated for multiplayer features

* Added play again logic

* Match join done

* Added multiplayer for Twitter and no Twitter

* Leaderboard page done

* Leaderboard done

* Leaderboard

* Multiplayer done

* Feedback + multiplayer done

Co-authored-by: ivilches <vilchesvalle@gmail.com>
2020-02-14 16:21:09 +01:00
OriolBonjoch a6b69b6138 Added lobby and twitter pages. 2019-12-18 18:26:00 +01:00
Olga dec38c3d8f
Merge pull request #15 from OriolBonjoch/master
Removed notes, fixed footer gap and hide Twitter if not configured
2019-11-25 08:53:46 -08:00
OriolBonjoch 87082a2064
Added application insights to players (#3)
* Application Insights
* PHP AppInsights Changed from custom event to request
* Fixed Java helm deploy
2019-11-25 17:18:05 +01:00
OriolBonjoch 62350eb97a
Feature/bug fixes (#2)
* Done some minor changes.

* Fixed Notes for web and game manager
2019-11-21 19:04:58 +01:00
David Sanchez (MSFT) 14e4e2a838
Adding feedback to footer 2019-11-20 01:45:00 -08:00
David Sanchez (MSFT) b3fb94d931 Updating documentation and images 2019-11-19 23:14:03 -08:00
OriolBonjoch f61cb445d2 Removed PlayerLogged property from cosmos 2019-11-19 17:21:27 +01:00
OriolBonjoch c4024be3b6 Done python publish before Generate-Config 2019-11-19 16:35:27 +01:00
David Sanchez (MSFT) 72b5975795 Initial commit 2019-11-05 08:04:14 -05:00