Alexis Drai
c59eaceaff
♻️ Refactor CRUD on players and die into Manager properties
3 years ago
Alexis Drai
9d92f3b84f
✨ Make GameRunner implement the IManager interface
...
since it already did (pretty much)
3 years ago
Alexis Drai
7e4f18f924
✏️ Fix typo
3 years ago
Alexis Drai
787077f841
Fix #8
3 years ago
Alexis Drai
796c599f3f
➖ 💚 Remove console prototype from the CI build
...
If you want to launch the console app, you need to load the DiceAppConsole "solution"
3 years ago
Alexis Drai
e0abed2590
🔥 Remove ption to use shorter hexcodes for colors
3 years ago
Alexis Drai
39ad4eadcd
⚗️ Bang out a quick and dirty console prototype
3 years ago
Alexis Drai
855d697572
🩹 Make method static, remove Load
...
PlayGame was never using any instance data, so it could be made static for performance gains
3 years ago
Alexis Drai
daf468463c
👔 Finish GameRunner class for now
3 years ago
Alexis Drai
2ee91862cf
🚧 WIP
3 years ago
Alexis Drai
8f42e7577e
Add comments, break keyboard..?
3 years ago
Alexis Drai
295d43e3ce
🔥 Simplify adding turns
3 years ago
Alexis Drai
3631af4e8a
🚨 Seal Turn and implement IEquatable
3 years ago
Alexis Drai
9da428862f
Override equals and hash, add UTs
3 years ago
Alexis Drai
a03c1f4526
Ensure unicity within Game.turns
3 years ago
Alexis Drai
82c36049f2
🎨 Improve die faces, expose Value, make use of inheritance
3 years ago
Alexis Drai
a1590ede32
✅ Finish UT PlayerManager
3 years ago
Alexis Drai
ff4d6eab9b
✅ Finish tests and fix #30
3 years ago
Alexis Drai
2ea6feec0d
✅ Add UTs for Game, 🐛 debug nextIndex
3 years ago
Alexis Drai
f0e74ae517
🚧 WIP
3 years ago
Alexis Drai
4d07c3ffc1
✅ Set up instances for UTs
3 years ago
Alexis Drai
7f10eaed24
🐛 Fix call to Random.Next()
...
Next(a, b) returns a random int between a (INCLUDED) and
b (EXCLUDED) -- that is, in [a, b[
3 years ago
Alexis Drai
9158101677
✅ Add UT for DiceNFaces property
3 years ago
Alexis Drai
de7062e81d
Synchronise Wiki and Model
3 years ago
Alexis Drai
535631e0e1
🐛 Change 2-tuple to dictionary
3 years ago
Alexis Drai
6f73dc5abf
🐛 Debug genericity
3 years ago
Alexis Drai
5937a1cc28
👔 ♻️ Fix #68
3 years ago
Alexis Drai
1403b5d7fb
🚧 WIP
3 years ago
Alexis Drai
a4f0b3948e
⚰️ Remove dead code (names for dice)
3 years ago
Alexis Drai
242cc86a79
🩹 fix #64
3 years ago
Alexis Drai
dcef907f24
🩹 fix #64
3 years ago
Alexis Drai
86ff2fe752
🔥 ⚰️ Fix #60
3 years ago
Alexis Drai
aaa94de362
🏗️ Fix #67
3 years ago
Ismail TAHA JANAN
5a76434f96
🎨 chanege Random type to static
3 years ago
Ismail TAHA JANAN
344a0fb9ac
🎨 improve code performance
3 years ago
Ismail TAHA JANAN
9292a2cc44
🩹 #59 : some name spaces
3 years ago
Ismail TAHA JANAN
8a81f2ddd7
🩹 #59 fix: add some name spaces
3 years ago
Ismail TAHA JANAN
da6babe2dd
#59 : � 🩹 fix: more conflict fixing
3 years ago
Ismail TAHA JANAN
ac4ebc71f0
conflict resolves
3 years ago
Ismail TAHA JANAN
306315c2ff
⚡ #59 feat:Die become abstract & add dice tipes as children
3 years ago
Alexis Drai
0f9f581603
⚗️ Add content to the stub to explore the logic of the app
3 years ago
Alexis Drai
15b7264fde
🚨 Fix code smells
3 years ago
Alexis Drai
48db9ba6de
💡 ♻️ Add to Game thanks to new classes, add fixes
3 years ago
Alexis Drai
d744b07e3b
♻️ Add FavGroup and refactor manager
3 years ago
Alexis Drai
10a48032bd
🏗️ Move Game into Games
3 years ago
Alexis Drai
92716d5f32
👔 Get started on the Game class
3 years ago
Alexis Drai
c7d3888a70
🐛 Change HashSet to List for ordering, add order
3 years ago
Alexis Drai
7e85dba135
🩹 Fix code smells
3 years ago
Alexis Drai
7389ee8756
✅ 💬 Include AbstractDieFace in Turn, update ToString(), pass tests
3 years ago
Alexis Drai
011db706e0
🏗️ 📦 ️ Make separate packages for clarity
3 years ago
Alexis Drai
f52676c901
🏗️ Add all (emptyish) classes, articulate
3 years ago
Alexis Drai
908c725573
🏗️ Plug a loader and GameRunner into the App
3 years ago
Alexis Drai
b59c239041
✏️ Fix typo
3 years ago
Alexis Drai
bcf7772e6d
🚨 remove TODOs using comments and tickets instead
3 years ago
Alexis Drai
bbf63e7fbf
🩹 Fix code smell
3 years ago
Alexis Drai
4b01efe0f6
Fix last code smell
3 years ago
Alexis Drai
207a279df2
📦 ️ 🐛 Fix Solution
3 years ago
Alexis Drai
8d8e55d348
🏗️ Add empty class
3 years ago
Alexis Drai
707a0a5ab2
✏️ Downgrade from TODO to memo
3 years ago
Alexis Drai
c005e84d51
♻️ Rename folders appropriately, add ILoader, fix smells
3 years ago
Alexis Drai
c88851af6e
✏️ Fix args, 🎨 improve code lisibility
3 years ago
Alexis Drai
21fec4a0d2
✨ Use abstraction, switch from uri to int
3 years ago
Alexis Drai
7c0c0d5fd9
✨ Use abstraction, switch from hexString to int
3 years ago
Alexis Drai
20b57ce31b
🚧 🧑💻 Put Value at abstract level, leave IDs for later
3 years ago
Alexis Drai
0e665493cf
✏️ ♻️ Rename abstract class
3 years ago
Ismail TAHA JANAN
c66aee78ea
feat #8 - create Stub
3 years ago
Alexis Drai
85e16cf590
✅ Implement UTs on Turn class
3 years ago
Alexis Drai
d734fd9215
✅ 👔 Add Turn class and first UTs
3 years ago
Alexis Drai
bbfe7291c4
🩹 Fix code smell
3 years ago
Alexis Drai
1ad5c7cf21
🛂 ✅ Add null checks and exceptions, reflect change in UTs
3 years ago
Alexis Drai
180c50b2c7
🩹 Improve exception-throwing
3 years ago
Alexis Drai
86597ef08f
🩹 Remove old or useless TODOs
3 years ago
Alexis Drai
fb02307b28
🩹 Move validation to constructor, clarify with comments
3 years ago
Alexis Drai
e85b9e5550
♻️ Refactor, D.R.Y., use "expected" and "actual"
3 years ago
Alexis Drai
fb69b719b4
✅ Generalize from HashSets to IEnumerables or Collections
3 years ago
Alexis Drai
0f3471cb60
✏️ Fix typo
3 years ago
Alexis Drai
a5483b3850
✅ Improve Update() test after bugfix
3 years ago
Alexis Drai
d36afce173
🐛 Add validation and delegation to Player.Remove()
3 years ago
Alexis Drai
fd00107e5f
🩹 Pass params by vals instead of by refs
...
if we pass parameters by reference, it must be because we want to
change them in the method and to keep those changes.
This seems like a different situation, so we should be able
to pass the objects by value.
3 years ago
Alexis Drai
e9f628c2da
✅ Add one last test to PlayerManager
3 years ago
Alexis Drai
923c42b9f2
✏️ Fix typo
3 years ago
Alexis Drai
9994798c6f
✅ Design unit tests for PlayerManager
3 years ago
Alexis Drai
33f390b074
✅ 👔 Trim player names and update tests
3 years ago
Alexis Drai
b65fe617bc
♻️ Refactor repeated Fact test into a Theory test
3 years ago
Alexis Drai
9e4b92f560
Remove redundant check to string value
3 years ago
Alexis Drai
2bf7918a6f
🐛 Add dummy code to remove code smell...
3 years ago
Alexis Drai
ff6e634da1
🐛 Fix #47
3 years ago
Alexis Drai
1593ca1b49
✅ Remove dummy code to improve coverage
3 years ago
Alexis Drai
676413959c
🚨 Fix #46
3 years ago
Alexis Drai
bfe20a653c
✅ Complete #27 and Fix #44
3 years ago
Alexis Drai
0995660259
✅ Design UTs for Player
3 years ago
Alexis Drai
bd1502436d
🐛 Make hash case insensitive, check name validity
3 years ago
Alexis Drai
5c3dccfa04
👔 Complete #26 -- Code PlayerManager
3 years ago
Alexis Drai
9fa4fb56ea
👔 Create the Player class
3 years ago
Alexis Drai
e243144fe5
🚑 Fix IManager (genericity)
...
this makes it possible to manipulate the arguments
3 years ago
Alexis Drai
f30fbbbca6
🚑 Fix build
...
by implementing IManager correctly in PlayerManager
3 years ago
Alexis Drai
78f02448b2
🩹 Fix #38
3 years ago
Ismail TAHA JANAN
31f988dcb0
add PlayerManager class and stub class
3 years ago
Najlae LAMBARAA
9c09323f95
Merge pull request 'WIP Finir interface Manager' ( #37 ) from creer_interface_manager into main
...
Reviewed-on: #37
3 years ago
Alexis Drai
f11e86f4d9
Merge pull request 'WIP Creer interface IManager' ( #36 ) from creer_interface_manager into main
...
Reviewed-on: #36
3 years ago
Najlae LAMBARAA
9c60eb9f53
Finir interface Manager
3 years ago
Najlae LAMBARAA
99911eb566
Creer interface manager
3 years ago
Alexis Drai
a0a4f1550a
💩 Change some random string
3 years ago
Alexis Drai
0e7d659d0e
🩹 Fix #1
3 years ago
Alexis Drai
99e82ead0e
⬆️ Upgrade to .NET 6.0
3 years ago
Alexis Drai
1d11244d1b
♻️ Switch from Console to Debug
3 years ago
Alexis Drai
f8f6e366dd
🚧 Plug console app into model
3 years ago
Alexis Drai
a2c676acf6
🚧 Plan for scaling the UTs
3 years ago
Alexis Drai
0164387e07
Add Player class and some UT to provoke CI
3 years ago
Alexis Drai
ca68a64297
Setup CI
3 years ago
Alexis Drai
f5eaa468b4
Initial commit
3 years ago