Patrick Gelvin
37cb394bf5
Initial card => tilemap
2025-08-27 07:51:13 -07:00
d235d6af5e
(autoformat)
2025-08-25 19:18:06 -05:00
Patrick Gelvin
d98b28cb36
Cut triangle test
2025-08-25 18:25:59 -05:00
Patrick Gelvin
b0ddc9236b
Fix my busted implementations
2025-08-23 12:56:10 -07:00
031a487fb5
Add rotation unit tests
2025-08-23 13:33:44 -05:00
8d75a40475
Add unit tests for transposition
2025-08-23 13:27:39 -05:00
761729900f
Add unit tests card flipping in both directions
2025-08-23 12:53:34 -05:00
b7bbadfc51
Add cut test on octagon for all CutLines
2025-08-23 12:53:34 -05:00
Patrick Gelvin
e59b65e034
Initial implementations of all card ops
2025-08-23 10:03:38 -07:00
e7f4a00f2a
Drop unused import
2025-08-23 09:43:33 -05:00
bd324807e8
Fix visibility on items in card.rs
2025-08-23 09:42:37 -05:00
4a17666bba
Card's methods take values, not references
...
I expect that we will not want to retain the original copy of a Card
after merging, cutting, rotating, etc. This function signature says that
the value moves into the method and goes away. If this becomes an
annoyance, then we change it.
2025-08-23 09:38:49 -05:00
Patrick Gelvin
daf05e3609
Add merge door tests
2025-08-22 17:37:19 -07:00
2024ad6e95
Outline more tests for the other Card methods
2025-08-22 19:22:48 -05:00
b3b8d1a814
Add unit tests for Card floor merging
...
Do some quick checks to make sure the merging function works the way we
expect. This also records how some edge cases will be handled, such as
merging two triangles.
2025-08-22 17:15:06 -07:00
Patrick Gelvin
6bbc31304e
Add card merge impl
2025-08-22 17:14:32 -07:00
5dcae119f0
Begin a Card module for handling the tile parts
2025-08-22 18:30:56 -05:00