Commit Graph

15 Commits

Author SHA1 Message Date
clement b49d7b7995 Evaluate in place expressions
This solution gives similar performance results than the tree based one,
mostly because of the intermediate vectors.
2023-03-05 15:14:42 +01:00
clement 2e862bdf58 Try several operator counts 2023-03-02 21:35:32 +01:00
clement 1472e9f6d8 Draft generation of valid AI movements 2023-02-26 14:06:28 +01:00
clement 3accb03ae5 Fix Clippy lint 2023-02-25 14:14:04 +01:00
clement ec6542aa52 Allow joining an existing room and validating tile placement 2023-02-23 21:00:00 +01:00
clement f1564ca6e3 Allow RngDeck to be passed between threads 2023-02-23 20:30:13 +01:00
clement 8943d1d898 Randomize the deck of tiles 2023-02-12 21:01:38 +01:00
clement ea6572dca2 Add a way to detect chains 2023-02-10 21:08:52 +01:00
clement 0b2fa63941 Add additional helper functions to test if the tiles are aligned or not 2023-02-10 21:08:52 +01:00
clement 7fd8d54b34 Separate the width and height of the grid 2023-02-10 21:08:26 +01:00
clement 2920e6614f Make the is_contiguous check more robust and readable 2023-02-10 20:35:53 +01:00
clement e67a28d110 Refactor with a Position2d struct 2023-02-10 20:32:56 +01:00
clement 016ca31815 Use the constant for the board size 2023-02-01 11:52:37 +01:00
clement eaa386df88 Add missing import in tests 2023-01-31 18:55:12 +01:00
clement fe671b8682 Initial commit 2023-01-26 17:21:14 +01:00