Commit Graph

48 Commits (abab37ca059402e3a7825568bb8569ec8371c487)

Author SHA1 Message Date
marouault 1a29afc70a Updated Game.c to set correctly rank and elminationTurn for player. Updated GameMain to make MenuEndGame work (a little fix will be made to resize but it's functionnal)
4 years ago
marouault a841982dc5 Modified GameCreationMenu to make it use PlayersColors (goal -> remove SDL_Colors from model (+easier for some functions))
4 years ago
marouault abdb6656e8 ViewGame functionnal, color for player modified, bug with 3 players due to bad allocation -> use valgrind to try to find it (we need to be more carefull when we allocate space)
4 years ago
marouault 930719ce7d End game modified but not totally fixed
4 years ago
marouault 9eb65816df New Drawing system in place -> going to test it on guacamole
4 years ago
Mathis RIBEMONT 42636bca6e modification newGame
4 years ago
marouault 5f783b5584 Modified Player struct
4 years ago
marouault 6f473cb794 Merge branch 'master' of https://gitlab.iut-clermont.uca.fr/maribemont/projet-tut
4 years ago
marouault 08f635a303 Completed interactible cases
4 years ago
Jacques THOMAS 057079b5bb Add a little modify in a commentary function
4 years ago
marouault d90840571e Documented some files
4 years ago
marouault b218a0eeb3 Added ArrayUtils to facilitate use of dynamic arrays. Tested some solutions to the InputHandler problem (The one which is commited mostly work)
4 years ago
marouault e13b538da0 Implemented some game feature (mainly the change between phase and player after actions), There are bugs but the game can be 'played'
4 years ago
marouault 6e1d28f252 Started to specify the placement rule for two players games, need to place Pieces (in newBoard or in newGame, I don't know)
4 years ago
marouault b81cba8d83 Documented newBoard in Board.h
4 years ago
marouault e786553e3b Documented functions in Game.h, renamed clickOnBoard
4 years ago
marouault c3b43c4f32 Documented Coord.h, completed and renamed coordValid
4 years ago
marouault e11fbb01b4 Corrected some coordinate transformation errors (we can clic to remove bridges if we set game's phase to RM_BRDIGE)
4 years ago
marouault d6ddd1e1ed Multiple modifications assited with gcc (principaly advenced in model/game)
4 years ago
Jacques THOMAS 6e0f6b05eb Resolve conflits
4 years ago
Jacques THOMAS c68f45a7c1 Game c : add getPieceFromIsland which allow you to get the piece from an island, and also add moveOnBoard which allows you to move piece from start position to end position
4 years ago
marouault 745ca533b2 Test more flexible
4 years ago
marouault cacb66ccf9 Merge
4 years ago
marouault 7b1d473ef2 IslandOrBridge modified and coordToBridge modified and tested
4 years ago
Jacques THOMAS ccc8f7ac0a Add a bridge struct (two islands) and modify of rmBridge due to this new struct
4 years ago
marouault 5bbba0da09 Prototype for functions moveOnBoard ->modify IslandOrBridge, create bridge structure
4 years ago
marouault 4528f15b36 New check for islands (to avoid us mistakes)
4 years ago
marouault 3b1cbf71ff Test and modify functions from model/Game + Modify documentation for checkBridge to match the semantics
4 years ago
marouault a67479f429 Modify the interface of some check function in game, mainly by splitting checkIsland in two\nBe carefull with Island -> they are temporary objects, they can't know if a player is on their position
4 years ago
marouault 563350f190 Correction d'include et faute de frappes -> je vais faire des tests sur le modele probablement
4 years ago
thmaillarb c0e7808048 Added rmBridge
4 years ago
thmaillarb ea4857750d Fixed and finished movement functions and related
4 years ago
marouault f39c5e0347 Modified Doxyfile and document engine Input
4 years ago
marouault 6fd58d28b6 Merge branch 'master' of https://gitlab.iut-clermont.uca.fr/maribemont/projet-tut
4 years ago
marouault 4c04ac8268 Partial merge of different Coord
4 years ago
Jacques THOMAS 364bd7f423 resolve conflicts
4 years ago
Jacques THOMAS 36f0bc4409 Add in game.c and game.h, the functions : movePiece and checkIsland, MUST BE tested git add *!
4 years ago
Allan POINT d88d842b0f Merge branch 'master' of https://gitlab.iut-clermont.uca.fr/maribemont/projet-tut
4 years ago
Allan POINT 6d63c6a402 Add CheckBridge
4 years ago
thmaillarb eeabdf3db2 Added Coord struct
4 years ago
thmaillarb e27357cadd Added IslandOrBridge + converter
4 years ago
marouault b5d542a146 Des const un peu partout et quelques modification de code + vidage partiel du fichier main
4 years ago
Martin ROUAULT a705266713 Make pass need to test on Windows
4 years ago
thmaillarb 2c3f27890c Merge branch 'master' of gitlab.iut-clermont.uca.fr:maribemont/projet-tut
4 years ago
thmaillarb 9b80275cbb Players are added to the game
4 years ago
Martin ROUAULT 43557fbd56 Ajout d'un fichier CMakeLists.txt
4 years ago
thmaillarb 471dab296b Added struct Board and function newPiece()
4 years ago
thmaillarb 8b0a7c6da3 Translated into English
4 years ago