https://github.com/nor0x/rps
Rock, Paper, Scissors (Lizard, Spock) in UWP
https://github.com/nor0x/rps
csharp excercise uwp
Last synced: 3 months ago
JSON representation
Rock, Paper, Scissors (Lizard, Spock) in UWP
- Host: GitHub
- URL: https://github.com/nor0x/rps
- Owner: nor0x
- Created: 2018-05-07T19:39:39.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-07T19:46:49.000Z (about 7 years ago)
- Last Synced: 2025-02-14T23:43:37.791Z (5 months ago)
- Topics: csharp, excercise, uwp
- Language: C#
- Homepage:
- Size: 37.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
My implementation of RPS / RPSLS
possible refactorings
- put XAML styles into Resources or ResourceDictionaries
- reading strings from a config file
- a general function for reading from a JSON file, insted of having two functions that do the same
- subclass Player for different player types and more granularity
- showing a dialog or other UI notification if an exception got catched
- async file reading handling
- if-else cleanup (i.e. one liner) but it's easier to reading
- adaptive ui
- always present current score on ui, not after the match
- more unit tests
- ...