Commit Graph

28 Commits

Author SHA1 Message Date
Savanni D'Gerinel 474d648ae4 Write some tests to handle date parsing with a range of days 2024-03-31 18:08:19 -04:00
Savanni D'Gerinel 64138b9e90 Resolve clippy warnings on SGF 2024-03-26 09:17:26 -04:00
Savanni D'Gerinel e587d269e9 Start on the foundations of a tree-drawing algorithm
I don't actually know what I'm doing. I've done some reading and from
that I'm doing experiments until I can better understand what I've read.
2024-03-26 09:17:26 -04:00
Savanni D'Gerinel 57aadd7597 Create the drawing area for the review tree 2024-03-26 09:17:25 -04:00
Savanni D'Gerinel 3a7f204883 Add more test data and ensure the mainline is returned even with branches 2024-03-26 09:17:25 -04:00
Savanni D'Gerinel 642351f248 Return the mainline of a game that has no branches in it. 2024-03-26 09:17:25 -04:00
Savanni D'Gerinel d9bb9d92e5 Apply moves to the abstract board
To get here, I had to also build some conversion functions and make a
lot of things within the game record public
2024-03-26 09:17:25 -04:00
Savanni D'Gerinel 3aac3b8393 Rename Game to GameRecord for disambiguation. 2024-03-26 09:17:25 -04:00
Savanni D'Gerinel 89a289a1ae Make games serializable through Serde 2024-03-21 23:23:47 -04:00
Savanni D'Gerinel fe082773e3 Set up the library view again 2024-03-21 23:16:10 -04:00
Savanni D'Gerinel 1d959117aa Write a little app to demonstrate reading an an SGF file 2024-03-21 23:12:30 -04:00
Savanni D'Gerinel a5990a2a30 Ensure that the territory property is accepted 2024-03-21 22:49:24 -04:00
Savanni D'Gerinel bd6d5b62e3 Reduce the recursion amount of parser Node to GameNode 2024-03-21 22:49:24 -04:00
Savanni D'Gerinel 82c1765513 Write the more semantic Game interpreter 2024-03-21 22:49:24 -04:00
Savanni D'Gerinel e461cb9908 Import the new level-one parser
This is the parser that does a raw parse of the SGF file, interpreting components but not enforcing node types.
2023-10-30 01:57:00 +00:00
Savanni D'Gerinel 942e91009e Disable sgf::go and provide a shim for a game 2023-10-30 01:57:00 +00:00
Savanni D'Gerinel e0f3cdb50a Resolve warnings in the SGF library 2023-10-05 12:57:35 -04:00
Savanni D'Gerinel d6c2a9519b Overhaul the sgf representation 2023-08-29 23:14:35 -04:00
Savanni D'Gerinel 793cd67218 Add a header bar and content field for applications 2023-08-23 15:57:09 -04:00
Savanni D'Gerinel d8534a08eb Show the name of the game, and create one if it doesn't exist 2023-08-20 12:53:14 -04:00
Savanni D'Gerinel e9ffab1187 Construct a game preview component and render basic information into it 2023-08-20 12:31:44 -04:00
Savanni D'Gerinel 7521fdf2e9 Remove a bunch of Makefiles 2023-08-07 16:24:09 -04:00
Savanni D'Gerinel 5a471a3dbf Add the SGF file to the Go game structure 2023-07-26 20:53:21 -04:00
Savanni D'Gerinel 92ca170a24 Switch from GameTree to go::Game in Kifu 2023-07-26 20:29:12 -04:00
Savanni D'Gerinel d79598eaa3 Remove the GameTree data structure 2023-07-26 20:24:05 -04:00
Savanni D'Gerinel 9533934e05 Remove lifetime and borrows from the error type 2023-07-26 20:15:22 -04:00
Savanni D'Gerinel b9808a1862 Introduce the Game data structure 2023-07-26 19:33:50 -04:00
Savanni D'Gerinel c51fced23a Rename go-sgf to sgf. Add make instructions 2023-07-26 19:06:59 -04:00