{"id":28181099,"url":"https://github.com/arsalan-dev-engineer/bede-simplified-slot-machine-python","last_synced_at":"2025-05-16T03:12:12.160Z","repository":{"id":172990647,"uuid":"563217378","full_name":"arsalan-dev-engineer/Bede-Simplified-Slot-Machine-Python","owner":"arsalan-dev-engineer","description":"A simplified slot machine game using Python.","archived":false,"fork":false,"pushed_at":"2022-11-08T07:28:09.000Z","size":112,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-08-20T11:23:52.929Z","etag":null,"topics":["challenge","coding-challenge","education","educational","fun","game","prettytable","project","projects","python","python3","random","slot","slot-machine"],"latest_commit_sha":null,"homepage":"","language":"Python","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/arsalan-dev-engineer.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":"2022-11-08T06:32:03.000Z","updated_at":"2024-08-20T11:23:55.168Z","dependencies_parsed_at":null,"dependency_job_id":"0e407262-40d5-4334-9162-0998f8b66619","html_url":"https://github.com/arsalan-dev-engineer/Bede-Simplified-Slot-Machine-Python","commit_stats":null,"previous_names":["azzy001/bede-simplified-slot-machine-python","arsalan-dev-engineer/bede-simplified-slot-machine-python"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arsalan-dev-engineer%2FBede-Simplified-Slot-Machine-Python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arsalan-dev-engineer%2FBede-Simplified-Slot-Machine-Python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arsalan-dev-engineer%2FBede-Simplified-Slot-Machine-Python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arsalan-dev-engineer%2FBede-Simplified-Slot-Machine-Python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arsalan-dev-engineer","download_url":"https://codeload.github.com/arsalan-dev-engineer/Bede-Simplified-Slot-Machine-Python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254459083,"owners_count":22074606,"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":["challenge","coding-challenge","education","educational","fun","game","prettytable","project","projects","python","python3","random","slot","slot-machine"],"created_at":"2025-05-16T03:12:10.047Z","updated_at":"2025-05-16T03:12:12.155Z","avatar_url":"https://github.com/arsalan-dev-engineer.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bede Slot Machine Game\n\n### What is it?\nThis is a simple slot machine game :trophy: \n\n### The rules:\n\n* At the start of the game the player should enter the deposit amount (e.g. the initial money\nbalance).\n* After that, for each spin, the player is asked how much money he wants to stake.\n* A table with the results of each spin is displayed to the player.\n* The win amount should be displayed together with the total balance at the current stage.\nAfter the first spin the total balance will be equal to:\n({deposit amount} - {stake amount}) + {win amount}.\n* Game ends when the player balance hits 0\n\n\u003cbr\u003e\n\n| Symbol | Coefficient | Probability to appear on a cell |\n| :---         |     :---:      |          ---: |\n| Apple (A)    | 0.4     | 45%    |\n| Banana (B)      | 0.6       | 35%      |\n| Pineapple (P)       | 0.8       | 15%      |\n| Wildcard (*)       | 0       | 5%      |\n\n\u003cbr\u003e\n\n* The symbols are placed randomly respecting the probability of each item. For example: there\nis 5% chance that a Wildcard will be placed in a cell and there is 45% chance for an Apple.\n* The player will win only if one or more horizontal lines contain 3 matching symbols. Wildcard\n(*) is a symbol that matches any other symbol (A, B or P).\n* The won amount should be the sum of the coefficients of the symbols on the winning line(s),\nmultiplied by the stake amount\n\n\u003cbr\u003e\n\n## Flowchart of the game\n\n![:trophy:](https://github.com/Azzy001/Bede-Simplified-Slot-Machine-Python/blob/master/Bede-Machine/Bede-Gaming-Flowchart.drawio.png)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farsalan-dev-engineer%2Fbede-simplified-slot-machine-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farsalan-dev-engineer%2Fbede-simplified-slot-machine-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farsalan-dev-engineer%2Fbede-simplified-slot-machine-python/lists"}