67 Commits

Author SHA1 Message Date
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
205111d25f Outline some modules for coming steps
The UI parts will end up in "widgets.rs". Buttons, labels, etc.

The "contsants.rs" module is meant to have compile-time configurables.
Bevy's reflection abilities make it possible to alter these at runtime,
which means this module will actually have the startup defaults rather
than true program constants.
2025-08-22 19:26:08 -05: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
393473c6f9 Dummy window
With EGUI inspector!... I guess
2025-08-22 16:57:54 -05:00
52fe190b1f Add EGUI debug inspector 2025-08-22 16:47:11 -05:00
80d854d4d9 Add configuration for development
Enable dynamic linking for faster cycle time during development. This
should be turned off for release, and *must* be turned off for WASM.

Also some optimization levels so the engine runs acceptably during
debug.
2025-08-22 16:45:06 -05:00
Patrick Gelvin
9ecffd17d0 Specify stable toolchain 2025-08-22 14:35:52 -07:00
59be4c936f Start new repo for game 2025-08-22 16:32:16 -05:00