Commit Graph

109 Commits

Author SHA1 Message Date
10d78d440f front: GameSelector: store selected game in AppCtx 2023-10-27 11:32:55 +02:00
15920a666d front: selectable player names for GameBoard
- bugfix keys for ProposalSelector
- css fix for Selectable title
2023-10-26 20:34:10 +02:00
a658827cb3 front: PlayerComponent
- color
- name

TBD:
- setName
- nameList
2023-10-26 13:46:09 +02:00
4421ca5445 front: GameBoard component 2023-10-26 12:47:16 +02:00
6c46188d38 front: isCurrentUser() 2023-10-26 12:26:00 +02:00
8a0401ec59 front: unify path indication css 2023-10-26 09:30:37 +02:00
7c2a3329a7 front: GameAction and GameBoard 2023-10-26 09:28:16 +02:00
a2de2331cf front: Game section sceleton 2023-10-25 18:18:56 +02:00
0c24d8c3ac front: minore updates 2023-10-25 17:00:33 +02:00
b261b45014 front: better CSS selectors 2023-10-25 12:12:11 +02:00
9f4bb9454e front: use ReactRouting to manage Component's contetnt 2023-10-25 10:28:56 +02:00
6c46e8fb98 front: about page 2023-10-25 09:16:15 +02:00
8056c38ad5 front: basic ui mockup
- more components
- more navigation

[bugfix] proxy routing
2023-10-24 20:35:27 +02:00
375af0798e front: center Header actions 2023-10-24 09:37:02 +02:00
4c185d42d5 front: css fix for safari 2023-10-20 17:54:36 +02:00
8d5cca6cfa front: DarkReader friendly CSS 2023-10-20 10:55:16 +02:00
35802ea6ad front: wave indication for data fetching 2023-10-20 00:40:05 +02:00
f9f5c29438 front: CordaChecker online tgl 2023-10-19 18:56:46 +02:00
a16b886645 front: CordaCheckers online tgl 2023-10-19 16:09:19 +02:00
c884494618 React: make Poll into a hook 2023-10-19 15:20:18 +02:00
5821a02ba1 React: GlobalState updates
Remove DataCtx dependacy on AppCtx
2023-10-19 14:39:43 +02:00
efd7127575 react: GlobalState: data, appCtx + polling feature
- Polling
 - time beased URI polling
 - can be diabled

- GlobaState
 - utilizes Flux pattern
 - data:
    for storing data for UI to work with
 - appData:
    for string global UI state

- major refactoring
2023-10-18 17:20:37 +02:00
fa29d2a631 ammend 2023-10-14 20:24:26 +02:00
fdf227bf19 front: gp: better listItems
- show opponent stone and my stone in actial colors
2023-10-14 20:12:31 +02:00
b3d7ab3e75 springboot: rename GameState to GameView
- update tests to use myColor instead of opponentColor
2023-10-14 19:03:46 +02:00
5f23c4c766 corda: GameView change opponentColor to myColor 2023-10-14 18:33:58 +02:00
b34335cefc front: show action button only for onHover elemnt 2023-10-14 11:59:05 +02:00
8cac7533dd front: js readability 2023-10-14 10:43:44 +02:00
c8480c3937 gameproposal: move game.message color to css 2023-10-14 10:06:13 +02:00
72daeddb9d front: gamestate polling + gameproposal tab
- gamestate controller
- css for gameproposal tab
2023-10-14 10:01:20 +02:00
6c885bfa68 front: centr align for Leaderboard 2023-10-11 14:11:31 +02:00
03b983aafd front: basic routing
- create some components
- update a bit of npm packages
2023-10-11 13:16:27 +02:00
992a1f3a23 front: leaderboard 2023-10-11 10:36:29 +02:00
5168e38710 DRAW: request, accept, reject
- tests for draw
- ranking updates, to suuport draw results
- replaca GameCommand.getCounterparty() with
  GameState.getOpponent(myName)
  makes code much readable and maintainable
- uuid check in a contract
- better exception handling in corda flows
2023-10-04 10:51:36 +02:00
5589c8ebe6 tests for gameStateList() and gameStateGet() 2023-10-03 10:01:58 +02:00
7fe2898eef Ranking: use Map instead of List 2023-10-02 19:27:12 +02:00
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