{"id":16597811,"url":"https://github.com/san089/soen_6441","last_synced_at":"2025-10-14T22:36:10.409Z","repository":{"id":100032076,"uuid":"208122833","full_name":"san089/SOEN_6441","owner":"san089","description":"A multiplayer board Risk Game.","archived":false,"fork":false,"pushed_at":"2020-10-13T16:13:51.000Z","size":39730,"stargazers_count":1,"open_issues_count":1,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-06T19:44:02.492Z","etag":null,"topics":["coding-standards","design-patterns","documentation","organizing","programming-game","risk-game","testing"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/san089.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2019-09-12T18:49:26.000Z","updated_at":"2022-11-29T17:33:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"f3cbc5ed-42b9-43ce-84ad-810412d9e2be","html_url":"https://github.com/san089/SOEN_6441","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/san089/SOEN_6441","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/san089%2FSOEN_6441","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/san089%2FSOEN_6441/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/san089%2FSOEN_6441/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/san089%2FSOEN_6441/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/san089","download_url":"https://codeload.github.com/san089/SOEN_6441/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/san089%2FSOEN_6441/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279021784,"owners_count":26087056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["coding-standards","design-patterns","documentation","organizing","programming-game","risk-game","testing"],"created_at":"2024-10-12T00:06:39.492Z","updated_at":"2025-10-14T22:36:10.395Z","avatar_url":"https://github.com/san089.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multiplayer Risk Board Game\n## Overview \nA Risk game consists of a connected graph map representing a world map, where each node is a country and each edge represents adjacency between countries. Two or more players can play by placing armies on countries they own, from which they can attack adjacent countries to conquer them. The objective of the game is to conquer all countries on the map.\n\n\n\n## Architecture Diagram\n![Architecture Diagram](https://github.com/san089/SOEN_6441/blob/master/Documents/ArchitectureDesign_Build2.png)\n![MVC Diagrame](http://assets.processon.com/chart_image/5da4e016e4b0ea86c2afe75d.png)\n\n\n\n\n# Game Commands\n\n## Map Editor Command\n\n    editcontinent -add continentname continentvalue -remove continentname\n\n    editcountry -add countryname continentname -remove countryname\n\n    editneighbor -add countryname neighborcountryname -remove countryname neighborcountryname\n\n    showmap (show all continents and countries and their neighbors)\n\n    savemap filename\n\n    editmap filename\n\n    validatemap\n\n## Game Play   \n\n     showmap\n\n## Startup Phase\n\n    loadmap filename\n\n    gameplayer -add playername -remove playername\n\n    populatecountries\n\n    placearmy countryname (by each player until all players have placed all their armies)\n\n    placeall (automatically randomly place all remaining unplaced armies for all players)\n\n\n## Reinforcement Phase\n\n\n    reinforce countryname num (until all reinforcement armies allocated to the player have been placed)\n\n    exchangecards num num num\n    exchangecards –none\n\n## Attack Phase\n\n    attack fromcountry tocountry numdice\n    attack fromcountry tocountry -allout\n    attack -noattack\n\ndo a single attack from **countrynamefrom** to **countynameto** using **numdice** number of dice. If **–allout** is specified, attack until no attack is possible using maximum number of dice to attack/defend. If **–noattack** is specified, stop attacking, ending the attack phase.)\n\n    defend numdice (after attack is declared, defender chooses number of dice to defend with)\n\n    attackmove num (After a country has been conquered, move num number of armies to this country from the attacking country.)\n\n\n## Fortification Phase\n\n    fortify fromcountry tocountry num\n    fortify –none\n    (move num number of armies from fromcountry to tocountry. If –none is specified, choose to not do a move during the fortification phase)\n    \n## Tournament Command\n\n    tournament -M D:\\SOEN_6441\\Maps\\Valid_Maps\\BigValidMap.map|D:\\SOEN_6441\\Maps\\Valid_Maps\\BigValidMap.map|D:\\SOEN_6441\\Maps\\Valid_Maps\\BigValidMap.map -P Random|Benevolent|Aggressive -G 4 -D 10\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsan089%2Fsoen_6441","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsan089%2Fsoen_6441","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsan089%2Fsoen_6441/lists"}