{"id":13616680,"url":"https://github.com/marmelab/pentago-symfony","last_synced_at":"2025-07-13T05:38:19.366Z","repository":{"id":54430339,"uuid":"334864950","full_name":"marmelab/pentago-symfony","owner":"marmelab","description":null,"archived":false,"fork":false,"pushed_at":"2021-02-24T16:20:35.000Z","size":3827,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-02-17T02:53:25.749Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marmelab.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}},"created_at":"2021-02-01T07:24:23.000Z","updated_at":"2022-03-22T08:11:01.000Z","dependencies_parsed_at":"2022-08-13T15:30:39.459Z","dependency_job_id":null,"html_url":"https://github.com/marmelab/pentago-symfony","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marmelab%2Fpentago-symfony","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marmelab%2Fpentago-symfony/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marmelab%2Fpentago-symfony/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marmelab%2Fpentago-symfony/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marmelab","download_url":"https://codeload.github.com/marmelab/pentago-symfony/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240434233,"owners_count":19800548,"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","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":[],"created_at":"2024-08-01T20:01:31.849Z","updated_at":"2025-02-24T06:43:46.351Z","avatar_url":"https://github.com/marmelab.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# pentago-symfony\n\n[Pentago](https://en.wikipedia.org/wiki/Pentago) game implementation in **Symfony 5**.\n\n\nDefinition and rules from Wikipedia :\n\n\u003e Pentago is a two-player abstract strategy game invented by Tomas Flodén. The Swedish company Mindtwister has the rights of developing and commercializing the product. The game is played on a 6×6 board divided into four 3×3 sub-boards (or quadrants). Taking turns, the two players place a marble of their color (either black or white) onto an unoccupied space on the board, and then rotate one of the sub-boards by 90 degrees either clockwise or anti-clockwise. A player wins by getting five of their marbles in a vertical, horizontal or diagonal row (either before or after the sub-board rotation in their move). If all 36 spaces on the board are occupied without a row of five being formed then the game is a draw.\"\n\n\n## Prerequisite\n\n- [Docker](https://www.docker.com/) \u0026 [docker-compose](https://docs.docker.com/compose/) are installed on your machine.\n\n## Installation\n\n- Clone this repo\n- Run `make install` to install dependencies. It will also create a `.env.local` file.\n- Fill `.env.local` file with your credentials.\n- Run `make start` to start the server\n- Run `make create-db` to create \u0026 initialize the database\n- Run `make migrate` to run migrations\n- Play on [localhost:8080](http://localhost:8080)\n  \n\u003e Type `make help` to list all commands available\n\n## Database persistance\n\nWe are using a postgres image to run locally our database.\nYou can access to Adminer on [localhost:8081](http://localhost:8081) and entering credentials from the `.env.local` file.\n\n\u003e Do not using .env to store your personal credentials because it's git tracked.\n\n### Migrations\n\n- `make create-migration` for creating a doctrine migration if entities has been changed.\n- `make migrate` to run pending migrations.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarmelab%2Fpentago-symfony","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarmelab%2Fpentago-symfony","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarmelab%2Fpentago-symfony/lists"}