Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get ones and fives score #4

Merged
merged 35 commits into from
Dec 7, 2023
Merged

Get ones and fives score #4

merged 35 commits into from
Dec 7, 2023

Conversation

david-acm
Copy link
Owner

Cumulative changes

david-acm and others added 30 commits October 3, 2023 21:36
 /games     -> StartGame
 /players   -> JoinPlayer
 /diceRolls -> RollDice
 /diceKeeps -> KeepDice
 /games     -> StartGame
 /players   -> JoinPlayer
 /diceRolls -> RollDice
 /diceKeeps -> KeepDice
…esAndFivesScore

# Conflicts:
#	Greedy/GameAggregate/GameEvents.cs
 ResetDiceInTableCenterWhenAllDiceHaveBeenKept

 PassShould
  ResetDiceInTableCenter
 AddToTurnScore (for a Straight)
 Remove Rolls collection, depend instead on the table center
 Add static class to version events
 Add V2.DiceKept and V2.DiceRolled to explicitly mutate the game stage to and from rolling

PassShould
 NotAllowPlayerToPassWithoutRolling

RollShould
 NotAllowPlayerToRollTwiceBeforeKeepingSomeDice
 Filter out error events when validating whether a player can pass

 Discards domain exceptions so that the command service persists the error events
# Conflicts:
#	Greedy.Tests/Domain/JoinShould.cs
#	Greedy.Tests/Domain/KeepShould.cs
#	Greedy.Tests/Domain/PassShould.cs
#	Greedy.Tests/Domain/StartShould.cs
#	Greedy.Tests/Domain/ThrowShould.cs
#	Greedy.Tests/Framework/GenericCollectionAssertionsExtensions.cs
#	Greedy.Tests/Framework/LoadShould.cs
#	Greedy.WebApi/Application/GameService.cs
#	Greedy.WebApi/Greedy.WebApi.csproj
#	Greedy/GameAggregate/Command.cs
#	Greedy/GameAggregate/Game.cs
#	Greedy/GameAggregate/GameEvents.cs
#	Greedy/GameAggregate/GameState.cs
#	Greedy/GameAggregate/GameValidator.cs
#	Greedy/PreconditionsFailedException.cs
  Creates folders src and tests
  Adds src and test projects for frontend
  Extracts methods in GameApiShould.AllowPlayerToRollDice
  Decouple DieTests.RotatesCorrectly from the random spins numbers.
   Includes both api and spa in the Api project
   Animate both new dice and dice whose value has changed
   Changes primitive int to enum to set the value of the die
   Extracted class RotationCalculator
CalculateForShould.ReturnTheCorrectAnglesFor
   Fix drag glitch

Refactor
   Drag functionality into separate components Drag and DragSurface
Adds easing to dice approaching border
Add mudblazor
Add alternative drag behaviour with mudblazor
@david-acm david-acm merged commit 7ae803f into main Dec 7, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant