Commit Graph

26 Commits

Author SHA1 Message Date
Adrian Gunnar Lauterer 2d8dd0f58f moved validation logic to seperate call 2024-03-30 22:39:09 +01:00
Adrian Gunnar Lauterer 7ea62870d0
patched crash from negative points 2024-03-24 07:09:28 +01:00
Adrian Gunnar Lauterer 76dd868163 added build and module options to flake
Co-authored-by: oysteikt <oysteikt@pvv.ntnu.no>
2024-03-24 03:55:38 +01:00
Eirik Witterso 7d1a2f8d4b Fix scoring function
Co-authored-by: Daniel Olsen <daniel.olsen99@gmail.com>
2024-03-09 21:53:18 +01:00
Daniel Lovbrotte Olsen fbdf776141 always check if tile-group is ative separately from counting group members 2024-02-25 23:25:35 +01:00
Daniel Lovbrotte Olsen 083bafc357 add start tile back to the market after scoring 2024-02-25 00:39:15 +01:00
Daniel Lovbrotte Olsen 7debb20e4c fix 2
Co-authored-by: Eirik Witterso <eirikwit@pvv.ntnu.no>
Co-authored-by: Adrian Gunnar Lauterer <adriangl@pvv.ntnu.no>
2024-02-24 22:56:57 +01:00
Eirik Witterso a71e5b180d Finish take_tiles market implementation
Co-authored-by: Daniel Løvbrøtte Olsen <danio@pvv.ntnu.no>
Co-authored-by: Adrian Gunnar Lauterer <adriangl@pvv.ntnu.no>
2024-02-24 22:55:35 +01:00
Adrian Gunnar Lauterer bc0f0444cc fixes
Co-authored-by: Daniel Løvbrøtte Olsen <danio@pvv.ntnu.no>
Co-authored-by: Eirik Witterso <eirikwit@pvv.ntnu.no>
2024-02-24 22:30:57 +01:00
Adrian Gunnar Lauterer c169b97a00 fixed game creation to match server code.
Signed-off-by: Adrian Gunnar Lauterer <adriangl@pvv.ntnu.no>
2024-02-14 20:25:36 +01:00
Daniel Lovbrotte Olsen 583e941b6c fix 2024-02-11 02:31:38 +01:00
Daniel Lovbrotte Olsen 5a954d1c9a lowercase colors 2024-02-11 01:45:01 +01:00
Daniel Lovbrotte Olsen bc8572caaa fill game when all players are ready
Co-authored-by: Eirik Witterso <eirikwit@pvv.ntnu.no>
2024-02-11 01:10:07 +01:00
Daniel Lovbrotte Olsen 20c3108389 Make player number a name, hook up creating premade games
Order is decided by a vector of names

Co-authored-by: Eirik Witterso <eirikwit@pvv.ntnu.no>
2024-02-11 00:01:05 +01:00
Daniel Lovbrotte Olsen 1368c97ab3 http: make_move demo 2024-01-30 21:03:38 +01:00
Daniel Lovbrotte Olsen f5820656c3 http: new_game and get_game demo 2024-01-30 07:06:30 +01:00
Daniel Lovbrotte Olsen a0edf8f87e azul: fix add_color 2024-01-30 03:14:20 +01:00
Daniel Lovbrotte Olsen 75447b6176 readme: add todo list 2024-01-30 02:06:06 +01:00
Daniel Lovbrotte Olsen 14a8cc1316 azul: implement complete game iteration 2024-01-30 01:49:59 +01:00
Daniel Lovbrotte Olsen 14f268649a azul: implement doing a move 2024-01-30 00:35:20 +01:00
Daniel Lovbrotte Olsen 4470f87654 azul: move bonus score function to player 2024-01-29 19:48:27 +01:00
Daniel Lovbrotte Olsen 9f38d6612e azul: implement main structs, scoring, bonus and initializing game object 2024-01-29 19:26:24 +01:00
Adrian Gunnar Lauterer 9005fe9984 Update openapi.yaml 2024-01-28 00:57:40 +01:00
Eirik Witterso 6676e1cdff Add initial API documentation 2024-01-27 23:06:56 +01:00
Daniel Lovbrotte Olsen fae6bc2a5e rocket 2024-01-27 22:21:59 +01:00
Daniel Lovbrotte Olsen ac7d997620 init 2024-01-27 21:35:09 +01:00