Repository navigation
Add a Coin Flip game #1
Copy link
Copy link
Open
Labels
difficulty: beginnerNo prior knowledge of the codebase neededNo prior knowledge of the codebase neededdomain: os-devxOpen Source & Developer ExperienceOpen Source & Developer ExperienceenhancementNew feature or requestNew feature or requestgood first issueGreat for your very first pull requestGreat for your very first pull requesthacktoberfestCounts toward Hacktoberfest 2026Counts toward Hacktoberfest 2026status: claimedAssigned to a contributor — do not start work on thisAssigned to a contributor — do not start work on this
Description
Activity
- addedenhancementNew feature or requestNew feature or requestgood first issueGreat for your very first pull requestGreat for your very first pull requesthacktoberfestCounts toward Hacktoberfest 2026Counts toward Hacktoberfest 2026difficulty: beginnerNo prior knowledge of the codebase neededNo prior knowledge of the codebase neededdomain: os-devxOpen Source & Developer ExperienceOpen Source & Developer Experience
on Oct 1, 2026 Welcome to GITHUB Community GITAM, and thanks for opening your first issue here.
A maintainer will get to this within 48 hours. In the meantime:
- Read CONTRIBUTING.md
- Want to work on something? Find an issue labelled
good first issueand comment/claimon it - Stuck on setup? Comment on the issue saying what you have tried. Asking is not failing
/claim
- addedstatus: claimedAssigned to a contributor — do not start work on thisAssigned to a contributor — do not start work on this
on Oct 5, 2026 Assigned to @PranayVelamala. It is yours.
Next steps
- Fork this repo and clone your fork
git checkout -b fix/short-description- Make the change, commit, push
- Open a PR with
Closes #1in the description
If you get stuck, comment here saying what you have tried. If you change your mind, comment
/unclaim— no hard feelings, that is genuinely fine.
Metadata
Metadata
Assignees
Labels
difficulty: beginnerNo prior knowledge of the codebase neededNo prior knowledge of the codebase neededdomain: os-devxOpen Source & Developer ExperienceOpen Source & Developer ExperienceenhancementNew feature or requestNew feature or requestgood first issueGreat for your very first pull requestGreat for your very first pull requesthacktoberfestCounts toward Hacktoberfest 2026Counts toward Hacktoberfest 2026status: claimedAssigned to a contributor — do not start work on thisAssigned to a contributor — do not start work on this
Context
The arcade has four games. Adding a fifth is the easiest way to contribute here,
because you write a brand new file instead of working out how someone else's code
fits together. Nothing you write can break an existing game.
What to change
Create:
arcade/games/coinflip.pyEdit:
arcade/main.py— add your module to the import line and to theGAMESlistThe game: the player calls heads or tails, three times in a row. Get one wrong
and the round ends.
Your file needs exactly three things:
NAME— the title shown in the menuDESCRIPTION— one line under the titleplay()— runs the game and returns a score (higher is better, 0 for a loss)docs/how-to-add-a-game.md contains a complete
working Coin Flip you can copy and adapt. Use it.
Acceptance criteria
arcade/games/coinflip.pyexists withNAME,DESCRIPTION, andplay()python3 -m arcadeask_choicefromarcade.input_utils, not bareinput()arcade.artfor colour, not raw escape codestests/test_coinflip.pyexists with at least one testpython3 -m pytestpassesHow to verify locally
Difficulty
Beginner. No prior knowledge of the codebase needed.
New here? Comment
/claimon this issue and a bot will assign it to you. Then read CONTRIBUTING.md.Stuck at any point? Comment here saying what you have tried, or come to a PR Debug Clinic (Oct 12 or Oct 21). Getting stuck is the normal experience of learning this, not a sign you are doing it wrong.