{"id":20374245,"url":"https://github.com/snwfdhmp/avalam-ai-game","last_synced_at":"2026-05-08T03:08:16.426Z","repository":{"id":98728924,"uuid":"84354182","full_name":"snwfdhmp/avalam-ai-game","owner":"snwfdhmp","description":"Board game enhanced with AI strategy","archived":false,"fork":false,"pushed_at":"2017-07-06T11:06:00.000Z","size":21830,"stargazers_count":2,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-11-29T19:50:01.436Z","etag":null,"topics":["avalam","board","c","centrale","cpp","game","ia","ig2i","lille","opengl","sdl"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/snwfdhmp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-08T18:40:43.000Z","updated_at":"2022-03-14T14:16:51.000Z","dependencies_parsed_at":"2023-05-25T01:00:18.019Z","dependency_job_id":null,"html_url":"https://github.com/snwfdhmp/avalam-ai-game","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/snwfdhmp/avalam-ai-game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snwfdhmp%2Favalam-ai-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snwfdhmp%2Favalam-ai-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snwfdhmp%2Favalam-ai-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snwfdhmp%2Favalam-ai-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snwfdhmp","download_url":"https://codeload.github.com/snwfdhmp/avalam-ai-game/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snwfdhmp%2Favalam-ai-game/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32764789,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T02:36:36.067Z","status":"ssl_error","status_checked_at":"2026-05-08T02:36:07.210Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["avalam","board","c","centrale","cpp","game","ia","ig2i","lille","opengl","sdl"],"created_at":"2024-11-15T01:23:11.665Z","updated_at":"2026-05-08T03:08:16.407Z","avatar_url":"https://github.com/snwfdhmp.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Avalam - First year's project at Ecole Centrale de Lille\n\nThis game is our first year's project at Ecole Centrale de Lille (IG2I).\nWe decided to port Avalam's board game on computer.\nWe added some IA and are trying to get it as optimized as possible.\nIt's still under development.\n\n## Getting Started\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.\n\n### Prerequisites\n\nWhat things you need to install the software and how to install them\n\n```\nSDL2 -\u003e no tutorial for now\n```\n\n### Installing\n\nA step by step series of examples that tell you have to get a development env running\n\nFirst compile for your environment\n\n```\ng++ src/main.cpp src/classes/*/*.cpp -o avalam.exe\n```\n\nGive it rights\n\n```\nchmod +x avalam.exe\n```\n\nAnd execute\n\n```\n./avalam.exe\n```\n\nHere is an output-overview of what it currently does.\n\n```\nRunning build/release-0.1.2.exe...\n=========================\n======== BOARD ========\n=========================\n=    ==0== ==1== ==2== ==3== ==4== ==5== ==6== ==7== ==8==  =\n= 0:             (0:1) (0:1)                                =\n= 1:       (1:1) (1:1) (1:1) (1:1)                          =\n= 2:       (0:1) (0:1) (0:1) (0:1) (0:1) (0:1)              =\n= 3:       (1:1) (1:1) (1:1) (1:1) (1:1) (1:1) (1:1) (1:1)  =\n= 4: (0:1) (0:1) (0:1) (0:1)       (0:1) (0:1) (0:1) (0:1)  =\n= 5: (1:1) (1:1) (1:1) (1:1) (1:1) (1:1) (1:1) (1:1)        =\n= 6:             (0:1) (0:1) (0:1) (0:1) (0:1) (0:1)        =\n= 7:                         (1:1) (1:1) (1:1) (1:1)        =\n= 8:                               (0:1) (0:1)              =\n==== 0 : 24 | 1 : 24 ====\nBot John initialised ! (team : 0)\nDavid has joined the game ! (team : 1)\n=========================\n======== PLATEAU ========\n=========================\n=    ==0== ==1== ==2== ==3== ==4== ==5== ==6== ==7== ==8==  =\n= 0:             (0:1) (0:1)                                =\n= 1:       (1:1) (1:1) (1:1) (1:1)                          =\n= 2:       (0:1) (0:1) (0:1) (0:1) (0:1) (0:1)              =\n= 3:       (1:1) (1:1) (1:1) (1:1) (1:1) (1:1) (1:1) (1:1)  =\n= 4: (0:1) (0:1) (0:1) (0:1)       (0:1) (0:1) (0:1) (0:1)  =\n= 5: (1:1) (1:1) (1:1) (1:1) (1:1) (1:1) (1:1) (1:1)        =\n= 6:             (0:1) (0:1) (0:1) (0:1) (0:1) (0:1)        =\n= 7:                         (1:1) (1:1) (1:1) (1:1)        =\n= 8:                               (0:1) (0:1)              =\n==== 0 : 24 | 1 : 24 ====\n\n\n```\n\n## Built With\n\n* [C++](http://www.cplusplus.com/) - The language\n* [SDL2](https://www.libsdl.org/) - Simple DirectMedia Layer 2 Library\n\n## Contributing\n\nPlease feel free to share what you experienced with the game.\nWe're also very happy to hear your improvement ideas.\n\n## Versioning\n\nWe use our own algorithm about versioning (simple increment).\n\n## Authors\n\n* **Martin Joly** - *Student* - [snwfdhmp](https://github.com/snwfdhmp)\n\n* **Landry Monga** - *Student* - [lvndry](https://github.com/lvndry)\n\nSee also the list of [contributors](https://github.com/snwfdhmp/MPI/contributors) who participated in this project.\n\n## License\n\nThis project is not under any license yet.\n\n# Explication (French only)\n\n## Présentation du repo\n\nCe repo correspond au projet MPI (projet C de 1ère année à IG2I (Ecole Centrale de Lille)).\n\nLe principe du projet est de coder une version jeu vidéo du jeu de stratégie \"Avalam\".\n\n## Principe du jeu\n\nLes règles et principes du jeu sont exprimés dans cette vidéo par le créateur du jeu.\n\n[![https://www.youtube.com/watch?v=DbZIvQSyFvA](https://img.youtube.com/vi/DbZIvQSyFvA/0.jpg)](https://www.youtube.com/watch?v=DbZIvQSyFvA)\n\n## Principe de la version jeu vidéo\n\nLes règles du jeu restent les même. Néanmoins nous avons implémenté 3 différents modes de jeu :\n\n- Humain vs Humain :\n  2 joueurs humains s'affrontent au tour par tour, en déplaçant les pions à l'aide de la souris\n- Humain vs IA\n  1 joueur humain contre une intelligence artificielle s'affrontent. L'intelligence artificielle joue de manière automatisée le meilleur mouvement qu'elle peut prédire.\n- IA vs IA\n  2 IA s'affrontent. L'utilisateur voit de déroulement de la partie et peut l'arrêter, l'accélérer, la ralentir, pour pouvoir observer la manière de jouer de l'IA.\n  \n## Contraintes\n\nLangages :\n    - C\n    - C++\n   \nLibrairies :\n    - SDL2\n    \nCompilation :\n    - Unix (gcc/g++)\n  \n ## Organisation du projet\n \n [![OVERVIEW](https://preview.ibb.co/c9Y7vk/Capture_d_e_cran_2017_04_28_a_19_15_17.png)](https://github.com/snwfdhmp/avalam-ai-game/)\n \nLe projet est divisé en plusieurs répertoires :\n\n- [\u003ccode\u003ebuild\u003c/code\u003e](https://github.com/snwfdhmp/avalam-ai-game/tree/master/build)\n  Tous nos builds sont sauvegardés dans ce dossier comme tel :\n  \n  [![OVERVIEW](https://preview.ibb.co/eWkLFk/Capture_d_e_cran_2017_04_28_a_19_29_09.png)](https://github.com/snwfdhmp/avalam-ai-game/tree/master/build)\n  \n  Le versioning est géré par l'utilitaire [\u003ccode\u003ecompile\u003c/code\u003e](https://github.com/snwfdhmp/avalam-ai-game/tree/master/compile) que nous avons créé.\n  \n- [\u003ccode\u003econfig\u003c/code\u003e](https://github.com/snwfdhmp/avalam-ai-game/tree/master/config)\n  cat-variables pour le fichier \u003ccode\u003ecompile\u003c/code\u003e et peut-être pour d'autres choses plus tard\n  \n  [![OVERVIEW](https://preview.ibb.co/jsLnvk/Capture_d_e_cran_2017_04_28_a_19_28_53.png)](https://github.com/snwfdhmp/avalam-ai-game/tree/master/config)\n  \n- [\u003ccode\u003ejunk\u003c/code\u003e](https://github.com/snwfdhmp/avalam-ai-game/tree/master/junk)\n  Quelques scripts qui nous on servit et qu'on ne supprime pas pour le moment. Ils ne font pas partie du code source\n  \n  [![OVERVIEW](https://preview.ibb.co/d7e2T5/Capture_d_e_cran_2017_04_28_a_19_29_23.png)](https://github.com/snwfdhmp/avalam-ai-game/tree/master/junk)\n  \n- [\u003ccode\u003elogs\u003c/code\u003e](https://github.com/snwfdhmp/avalam-ai-game/tree/master/logs)\n  Logs de compilation fournis par \u003ccode\u003ecompile\u003c/code\u003e et surement d'autres par la suite.\n  \n  [![OVERVIEW](https://preview.ibb.co/dF8J1Q/Capture_d_e_cran_2017_04_28_a_19_29_40.png)](https://github.com/snwfdhmp/avalam-ai-game/tree/master/logs)\n  \n- [\u003ccode\u003esrc\u003c/code\u003e](https://github.com/snwfdhmp/avalam-ai-game/tree/master/src)\n  Répertoire des sources. Il est organisé comme tel :\n  \n  [![OVERVIEW](https://preview.ibb.co/fCQLFk/Capture_d_e_cran_2017_04_28_a_19_30_02.png)](https://github.com/snwfdhmp/avalam-ai-game/tree/master/src)\n  \n  - [\u003ccode\u003emain.cpp\u003c/code\u003e](https://github.com/snwfdhmp/avalam-ai-game/tree/master/src/main.cpp)\n    Fichier principal\n  - [\u003ccode\u003eclasses\u003c/code\u003e](https://github.com/snwfdhmp/avalam-ai-game/tree/master/src/classes)\n    Contient toutes les classes que nous avons codées pour le projet.\n    Chaque classe est représentée par un dossier à son nom contenant au moins\n      - \u003ccode\u003e*className*.class.cpp\u003c/code\u003e =\u003e contient les implémentations de fonctions de la classe\n      - \u003ccode\u003e*className*.class.cpp\u003c/code\u003e =\u003e contient le prototype de la classe\n      - \u003ccode\u003e*className*.test.cpp\u003c/code\u003e =\u003e tests unitaires pour la classe\n      \n    [![OVERVIEW](https://preview.ibb.co/mth0Fk/Capture_d_e_cran_2017_04_28_a_19_30_14.png)](https://github.com/snwfdhmp/avalam-ai-game/tree/master/src/classes/MovePlan)\n    \n- [\u003ccode\u003ecompile\u003c/code\u003e](https://github.com/snwfdhmp/avalam-ai-game/tree/master/compile)\n  Shell-script utilisé pour la compilation, les logs, le versioning, etc.\n\n- Compilation UNIX : \u003ccode\u003eg++ src/classes/\\*/\\*.class.cpp src/main.cpp -lSDL2\u003c/code\u003e\n- Compilation UNIX avec [duck](http://github.com/snwfdhmp/duck) : \u003ccode\u003educk compile dev sdl\u003c/code\u003e\n- Compilation windows : \u003ccode\u003eg++ -w -I.\\include -Lsrc\\lib src/classes/Display/Display.class.cpp  src/classes/Emplacement/Emplacement.class.cpp src/classes/GraphicComponent/GraphicComponent.class.cpp src/classes/Mouvement/Mouvement.class.cpp src/classes/MovePlan/MovePlan.class.cpp src/classes/Player/Player.class.cpp src/classes/Window/Window.class.cpp src/main.cpp -lSDL2 -lSDL2main -lSDL2.dll -lmingw32 -std=c++11 -static-libgcc -static-libstdc++\u003c/code\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnwfdhmp%2Favalam-ai-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnwfdhmp%2Favalam-ai-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnwfdhmp%2Favalam-ai-game/lists"}