-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
34d5be7
commit 321b33d
Showing
9 changed files
with
72 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
--- | ||
title: Poker - HUD | ||
# lead: Poker | ||
tags: | ||
- poker | ||
- ui | ||
- blazor | ||
- blazor wasm | ||
- .net | ||
- csharp | ||
author: alexhedley | ||
description: Designing a HUD for the Stats | ||
published: 2024-06-02 | ||
# image: /posts/images/###.png | ||
# imageattribution: | ||
--- | ||
|
||
<!-- # Poker - HUD --> | ||
|
||
<?# Markdown ?> | ||
<?!^ "./../includes/posts/poker.md" /?> | ||
<?#/ Markdown ?> | ||
|
||
I'm back to working on the [Poker Web App](poker-app), as you saw from the original post the UI is lacking somewhat. | ||
|
||
![Web App table](images/poker/testing-table.png "Web App table") | ||
|
||
I've taken some inspiration from live shows and started working on implementing the styles in the app. I've found a number of variations I can work through, so here's the first attempt. | ||
|
||
This led me to creating a shared `Microsoft.NET.Sdk.Razor` project called **Poker.Components**. (I should have done this with the original [components](https://alexhedley.github.io/poker-recording/components)). | ||
|
||
I've made a start on the first **Board**: | ||
|
||
![Board](images/poker/hud/Board.png "Board") | ||
|
||
![Board](images/poker/hud/Board_1.png "Board") | ||
|
||
**Players**: | ||
|
||
![Player 1](images/poker/hud/Player1.png "Player 1") | ||
![Player 2](images/poker/hud/Player2.png "Player 2") | ||
|
||
![Player 1](images/poker/hud/Players_1.png "Players") | ||
|
||
And **Pot**: | ||
|
||
![Pot](images/poker/hud/Pot.png "Pot") | ||
|
||
![Pot](images/poker/hud/Pot_1.png "Pot") | ||
|
||
<?# Info ?> | ||
Thanks for the card images [@danielpaz6](https://github.com/danielpaz6) in [Texas holdem Rank Card Evaluator](https://github.com/danielpaz6/Poker-Hand-Evaluator) | ||
<?#/ Info ?> | ||
|
||
With this shared Library it means I can try it out in both my _Blazor WASM_ app (that I have deployed on GitHub Pages), and my _Blazor Server_ app which I'll be using as the main app. | ||
|
||
See the current progress at | ||
|
||
- https://alexhedley.com/poker-recording/hud | ||
|
||
One very helpful tool I used to layout the _Players_ was [Layoutit!](https://grid.layoutit.com/), which is a _CSS Grid Generator_. | ||
|
||
I copied the initial output to [codepen](https://codepen.io/) before moving to my Blazor app. | ||
|
||
- https://codepen.io/AlexHedley/pen/KKLWXpO | ||
|
||
Track it via | ||
|
||
- Issue (40): https://github.com/AlexHedley/poker-recording/issues/40 | ||
- MR (39): https://github.com/AlexHedley/poker-recording/pull/39 |