Commit Graph

73 Commits

Author SHA1 Message Date
f9f6920512 Intial board config for GameProposalCreate
- victory tests without hardcode
- better server logs
- unmodifiable getters for game board
- totalMoves counter for GameResult
2023-10-02 13:54:38 +02:00
07ce05bf01 Rename Bob to Bobik
- rename Repository vNode
- cluster topology: better vnodes lookup
2023-10-02 11:23:16 +02:00
d58a89e3b3 Lazy victoryTest
- cordaClient maxPollAttempts config
- bugfix in Move.canMove()
- GameBoardContract must validate victory conndition as well
2023-10-01 15:58:05 +02:00
e3ca1e0fc0 GameBoard VicrotyFlow
- better error messages
- moar GameMove tests
- a vicotry condition check
- GameContract
  + participnats vaidation
  + more accure Major Action checks
- automaic Vicotry condition check for Move flow
- GameResultCommiter as a sub flow
2023-10-01 14:13:52 +02:00
eb1e7fd93c GameInfo
a simple source of truth about UtxoGameState transaction for
- ViewBuilder
- CommitSubFlowResponder
2023-09-30 20:09:25 +02:00
729384fb62 chain jump 2023-09-29 19:07:54 +02:00
8affa353da move: mandatory capture 2023-09-29 13:59:34 +02:00
7d26dca752 add prohibited move checks 2023-09-29 11:29:46 +02:00
58da85a5fd final 2023-09-27 17:28:54 +02:00
162e5c97dc rename 2023-09-27 17:27:03 +02:00
a9ffd4b0b9 Checkers move rules improved 2023-09-27 17:25:30 +02:00
9cbeaceca9 Checkers move rules 2023-09-27 17:02:31 +02:00
9144683de3 rename Piece to Stone 2023-09-27 11:35:49 +02:00
1f2ff242e4 GameBoard: naive MOVE implementation 2023-09-25 15:13:27 +02:00
8971462c74 GameResultBuilder subflow
- looks for custodian and add it to the State participants
- extra parameter to Commit subflow
 to initiate exchange session with Custodian as well
2023-09-22 21:39:42 +02:00
e1cc9bd9fd RankingFLow: use actual GameResultStates 2023-09-22 17:23:06 +02:00
5f59260120 ammend 2023-09-22 16:07:54 +02:00
fe1708ad32 Draft: RankingFlow +Test 2023-09-22 16:07:44 +02:00
74176ecf45 HoldingIdentityResolver Test 2023-09-22 14:55:53 +02:00
ada353ce2f HoldingIdentity Tests 2023-09-22 14:45:37 +02:00
d3f5499ad8 CordaCheckers CPI 2023-09-22 13:07:25 +02:00
2a026de472 minor cleanup 2023-09-21 23:15:57 +02:00
9004e8a408 GameStates refactoring 2023-09-21 22:59:21 +02:00
959ea0051d Major refactoring
- abstract GameState as a base class for
  + GameProposale
  + GameBoard
  + GameResult

- GameView persepective approach
  as result significant downplay of DTO classes

- single GameCommand
- single transaction Commit flow with dedicated responder
- extensive use of orchestartion code flow pattern
2023-09-21 16:21:58 +02:00
dc702f7584 GameState
a base state class for GameProposal, GameBoard and GameResult

also will be used as a base building block for GameBoardView
2023-09-18 13:33:49 +02:00
bd6612f3e6 GameUuid as a part of GameState interface 2023-09-18 11:34:12 +02:00
e26cfe0d91 GameID
a universal ID shared between GameProposal, GameBoard and a GameResult
2023-09-18 10:49:06 +02:00
a34ea39dfb GameBoard command SURRENDER
- produces GameResultState
- .addReferanceState() was changed with Opponent interface for States
2023-09-15 15:43:31 +02:00
d7b6ce1f25 Corda: UtxoTrxCandidate validation
validation logic shall be stored in Command class,
which is invoced by Contract class
2023-09-13 20:54:40 +02:00
a836d14fbd GamePrposal: Accept to return GameBoard 2023-09-13 18:54:19 +02:00
4c2569810a GameBoard SURRENDER update
- UtxoLedgerTrxUtil with option
- rename action to command
- lots of minor refectorings
2023-09-13 15:01:01 +02:00
d9b885b550 corda: cleanup 2023-09-13 12:51:14 +02:00
fee93a2b10 Corda: UtxoLedgerTransactionUtil helper class 2023-09-12 18:56:07 +02:00
fdfcd711a7 rename GameBoardActionFlow to GameBoardCommandFlow 2023-09-12 16:24:18 +02:00
9a49e68a1f delete csde default code 2023-09-12 16:17:13 +02:00
01fd273c3a Move Contracts to individual classes
initial implementation for GameBoardMove
2023-09-12 14:07:59 +02:00
7f7722ecc0 GameProposal ACCEPT
- create new GameBoard state
- test
2023-09-11 13:50:05 +02:00
e235ecb942 Corda: CommitSubFlow 2023-09-07 21:33:37 +02:00
159bcd706e GameProposal updates
- remove GameProposalResolution state
use ladger trx history instead

- use issuer/acquier instead of sennder/receiver
2023-09-07 14:47:53 +02:00
5cc579230f SpringBoot: test GP can not be rejected twice 2023-09-07 14:00:27 +02:00
c1dbb3d213 Corda: Piece class 2023-09-07 09:57:54 +02:00
a9b70b963c CordaClient: use FlowResult 2023-09-06 12:39:52 +02:00
7df57cb4d2 Corda: add FlowResult class
refactor ActionFlow
2023-09-05 17:41:13 +02:00
218482034d GameProposal ActionFlow: REJECT 2023-09-04 19:49:35 +02:00
4f5a636909 GameProposal Create test 2023-09-04 14:09:01 +02:00
abc31d4c03 SpringBoot: Create GameProposal 2023-09-04 00:06:46 +02:00
beadaba27e Corda: dao updates 2023-09-03 22:58:02 +02:00
7a2a366dd5 SpringBoot introduce GameProposalController 2023-09-03 20:38:40 +02:00
36edc91cf3 SpringBoot: GameProposal
- rest controller
- poposal endpoint
2023-09-03 16:27:54 +02:00
7403cf671a SpringBoot: CordaClientConfiguration
via RestTemplateBuilder
2023-09-02 20:33:46 +02:00