{"id":25002282,"url":"https://github.com/pprattis/chromosome-last-random-nucleotide-game","last_synced_at":"2025-08-18T10:04:33.994Z","repository":{"id":194621949,"uuid":"223400734","full_name":"pprattis/chromosome-last-random-nucleotide-game","owner":"pprattis","description":"A Python script that implements a two player strategic game with two sequences of length n and m nucleotides respectively. At each Round of the game a player can remove a random number of nucleotides from one sequence or the same number of nucleotides from both sequences. The player who removes the last nucleotide wins.","archived":false,"fork":false,"pushed_at":"2019-11-22T13:56:58.000Z","size":42,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-31T18:34:33.247Z","etag":null,"topics":["arrays","bioinformatics","chromosomes","computer-science","fasta","game","loop","nucleotides","program","python","student"],"latest_commit_sha":null,"homepage":null,"language":"Python","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/pprattis.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}},"created_at":"2019-11-22T12:41:45.000Z","updated_at":"2020-10-07T10:42:56.000Z","dependencies_parsed_at":"2023-09-14T10:27:26.867Z","dependency_job_id":null,"html_url":"https://github.com/pprattis/chromosome-last-random-nucleotide-game","commit_stats":null,"previous_names":["peteprattis/chromosome-last-random-nucleotide-game","pprattis/chromosome-last-random-nucleotide-game"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pprattis/chromosome-last-random-nucleotide-game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pprattis%2Fchromosome-last-random-nucleotide-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pprattis%2Fchromosome-last-random-nucleotide-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pprattis%2Fchromosome-last-random-nucleotide-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pprattis%2Fchromosome-last-random-nucleotide-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pprattis","download_url":"https://codeload.github.com/pprattis/chromosome-last-random-nucleotide-game/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pprattis%2Fchromosome-last-random-nucleotide-game/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270975251,"owners_count":24678270,"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-08-18T02:00:08.743Z","response_time":89,"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":["arrays","bioinformatics","chromosomes","computer-science","fasta","game","loop","nucleotides","program","python","student"],"created_at":"2025-02-04T21:41:14.868Z","updated_at":"2025-08-18T10:04:33.964Z","avatar_url":"https://github.com/pprattis.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A Python Program / Project\n\n**This is a Python project from my early days as a Computer Science student**\n\n_This programm was created for the sixth semester class Bioinformatics\nand is one of the final projects for the class_\n\n\u003e #### Description of project\n\u003e\n\u003e\u003eA Python script that implements a two player strategic game with two sequences of length n and m nucleotides respectively. At each Round of the game a player can remove a random number of nucleotides from one sequence or the same number of nucleotides from both sequences. The player who removes the last nucleotide wins.\n\n\n\u003e #### Strategy explanation\n\u003e\n\u003eA player, in order to be able to win the game described in this exercise, must find himself in 2 cases:\n\u003e 1. Case 1\n\u003e\u003eEqual length on both chromosomes.\n\u003e 2. Case 2\n\u003e\u003eAt least one chromosome shall have a length of 0. \u003cbr\u003e\n\u003e\n\u003eTherefore, every time we play, we try to find ourselves in the above situations in order to defeat our opponent. \n\n\u003e #### About this project\n\u003e\n\u003e - The comments to make the code understandable, are within the .py archive\n\u003e - This project was written in IDLE, Python’s Integrated Development and Learning Environment.\n\u003e - Biological data used from https://www.ncbi.nlm.nih.gov/gene/ (genes 5836, 5834)\n\u003e - This program runs for Python version 2.7\n\u003e - This repository was created to show the variety of the work I did and experience I gained as a student\n\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpprattis%2Fchromosome-last-random-nucleotide-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpprattis%2Fchromosome-last-random-nucleotide-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpprattis%2Fchromosome-last-random-nucleotide-game/lists"}