Skip to content

Commit bd3e1fe

Browse files
morning4coffe-devMartinZikmund
authored andcommitted
chore: Update README.md
1 parent 99ba90b commit bd3e1fe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

UI/PongWars/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Uno PongWars is a simple minigame that draws inspiration from the [PongWars HTML/JavaScript sample](https://github.com/vnglst/pong-wars). Set in the backdrop of the eternal conflict between day and night, good and bad.
44

5-
![PongWars Video](PongWars-video.mp4)
5+
![PongWars Video](https://github.com/unoplatform/Uno.Samples/blob/df409bcf31e015edaad621e7cdcd573ab8f3adcd/UI/PongWars/PongWars-video.mp4)
66

77
The app harnesses the power of [Uno Platform](https://platform.uno) to run natively on the Web (via WebAssembly), Windows, Linux, Mac Catalyst, iOS, and Android.
88

@@ -12,10 +12,10 @@ The game's theme is customized using Uno Platform colors through [Material Color
1212

1313
## Codebase
1414

15-
* [**GamePage.cs**](PongWars/UnoPongWars/Presentation/GamePage.cs): Defines the visual representation of the game using Uno Platform's XAML-like syntax. It creates a grid layout containing the game board and other UI elements such as text blocks and sliders. The GamePage class binds UI elements to properties in the GameModel to reflect the game state visually. Additionally, it sets up color schemes and event handlers to interact with the game.
16-
* [**GameModel.cs**](PongWars/UnoPongWars/Presentation/GameModel.cs): Manages the game's state and behavior. It initializes the game's title, speed, cells, and score. The GameModel class also establishes the relationship between the game logic and the presentation layer. It utilizes MVUX for state management, ensuring a clean separation of concerns between the UI and the underlying game logic.
15+
* [**GamePage.cs**](PongWars/UnoPongWars/Presentation/GamePage.cs): Defines the visual representation of the game using [C# Markup](https://aka.platform.uno/csharp-markup) syntax. It creates a ItemsRepeater layout containing the game board with cells and other UI elements such as TextBlock and Slider. The GamePage class binds UI elements to properties in the GameModel to reflect the game state visually. Additionally, it sets up color schemes and event handlers to interact with the game.
16+
* [**GameModel.cs**](PongWars/UnoPongWars/Presentation/GameModel.cs): Manages the game's state and behavior. It initializes the game's title, speed, cells, and score. The GameModel class also establishes the relationship between the game logic and the presentation layer. It utilizes [MVUX](https://aka.platform.uno/mvux) for state management, ensuring a clean separation of concerns between the UI and the underlying game logic.
17+
* [**Game.cs**](PongWars/UnoPongWars/Presentation/Game.cs): Contains the core logic of the game. It manages the game state, including the position and direction of the balls and the cells on the game board. The Game class implements game logic for ball movement, collisions with walls, and updating the game state. It utilizes records to manage state immutably, ensuring the integrity of the game state throughout the gameplay.
1718
* [**Cell.cs**](PongWars/UnoPongWars/Presentation/Cell.cs): Represents a single cell on the game board. Each cell has properties such as its position, player (green or blue), and whether it contains a ball. The Cell class is utilized in the game logic for collision detection and updating the game state.
18-
* [**Game.cs**](PongWars/UnoPongWars/Presentation/Game.cs): Contains the core logic of the game. It manages the game state, including the position and direction of the balls and the cells on the game board. The Game class implements game logic for ball movement, collisions with walls and paddles, and updating the game state. It utilizes records to manage state immutably, ensuring the integrity of the game state throughout the gameplay.
1919

2020
## Screenshots
2121

0 commit comments

Comments
 (0)