Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hunterkalinoski/poker
Mobile app for playing poker with a friend. Uses Xamarin for the frontend along with Swagger and SignalR for the backend (all C#)
https://github.com/hunterkalinoski/poker
dotnet xamarin
Last synced: 28 days ago
JSON representation
Mobile app for playing poker with a friend. Uses Xamarin for the frontend along with Swagger and SignalR for the backend (all C#)
- Host: GitHub
- URL: https://github.com/hunterkalinoski/poker
- Owner: hunterkalinoski
- Created: 2023-03-06T22:08:47.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-03-06T22:30:34.000Z (almost 2 years ago)
- Last Synced: 2024-11-14T15:15:00.226Z (2 months ago)
- Topics: dotnet, xamarin
- Language: C#
- Homepage:
- Size: 6.89 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Poker
This is a monorepo containing C# projects for a mobile app along with 2 web servers.
The first web server is the SignalR hub. This facilitates the real-time connection between mulitple instances of the mobile app.
The other web server is for storing leaderboard information, and was created with Swagger.To see a quick demonstration of how all of these things work together (the final product), download and view the PokerDemo.mp4 video.
---
If you instead want to run the app on your own (not recommended, may require additional setup):
0. Setup environment
1. Install Visual Studio along with the 'ASP.NET for web development' and 'Mobile development with .NET' workloads
2. Clone this repository and open in Visual Studio
3. Build solution and install dependencies1. Create 2 separate android emulators and download the app on each
- to download the app, you can just run the Poker.ANDROID project with the emulator as the target
- I used the default 'Pixel 5 -API 30' emulators, but it should also work with other versions.2. Run the SignalR hub ('SignalR' project):
- ensure that the URL is 127.0.0.1:50003. Run the web service ('WebAPI' project):
- ensure that the URL is 127.0.0.1:51905/swagger/index.html4. Open the app on each emulator and play!