-
Notifications
You must be signed in to change notification settings - Fork 202
Contribution
- Contributing Guidelines
- Contributing to the Site
- Contributing to the Wiki
- Discord Development Channel and GitHub Issues Page
- Contributor Role Recognition
- Developers
- Collaborators
- List of the current Contributors
Hello and thanks for considering contributing to this project. Your contribution(s), if significant, may be rewarded with a special contributor status and a special color; more info here. If you're new to programming in general and want to get started, I would recommend the visual studio code editor (not visual studio) and I like my setup which you can find here: https://github.com/cozuya/visual-studio-code-settings-and-snippets
I only have the following guidelines:
-
Before working on a feature, a) make sure it's an open, not "suggested" issue on the github issue page and b) it is unassigned. If you start working on something non-trivial, ask in discord dev channel to have it assigned to you.
-
Your code should pass lint.
-
Your editor should use prettierjs.
-
Functions that either a) return a value or b) have arguments (non-anonymous/lambda) that aren't obvious i.e. not i/index/event should use JSDoc comments to explain the types and return types of that function.
-
If you make a feature, please commit to supporting it. If there's problems on an issue you've completed, please make sure you can take care of it.
- Follow the step-by-step instructions more specifically detailed in the Read Me.
-
In order to make games and test new features faster in them, we provide default Dev Helper accounts across the top of the /game page easily ready for use.
-
Uther, Jaina, Rexxar, Malfurian, Thrall, Valeera, Anduin, aaa, bbb, ccc, ddd, eee, fff, ggg, hhh
-
There is a yarn script you may run once
server
ordev
yarn scripts are already running calledcreate-accounts
which will populate all of the helper accounts into the database.
yarn create-accounts
-
This allows you to log in to an account in one click.
-
To better use the Dev Helpers, you'll most likely need a browser extension such as Chrome's SessionBox to have multiple sessions on the same browser.
-
No, incognito will not work.
In order to better test all functions of the site in a local development environment it is useful to assign an admin account.
This is done for you through the secret-hitler/scripts/assignLocalMod.js
file courtesy of contributor Hexicube.
After running the create-accounts
script you will have the helper accounts populated into the database.
Running the next line below will then assign Uther
to the admin
staffRole to better test all site functions in testing.
yarn assign-local-mod
Upon seeing the end result in the terminal of Assigned.
you will know it worked. Just refresh your localhost:8080 page at this point and then you will have a local mod to test additional functions of the site with in a development mode environment.
To clone this wiki locally, run the following command line in your terminal:
git clone https://github.com/cozuya/secret-hitler.wiki.git
We appreciate any helpful contributions to help improve this wiki to be most useful to the Secret Hitler.io Community.
- As a contributor it is also recommended and encouraged to help participate in discussion of bugs, enhancements, and new community policies on the discord development channel as well as on the GitHub issues page.
Contributors are recognized for their significant contributions to either the site's code, discord, or wiki, and are rewarded with special roles on the game site, discord, and github.
- On site, Contributor's usernames will be rewarded with a special color.
- On GitHub, you will notice a new tag next to your name anytime you post here on GitHub with the text: "Contributor".
- On Discord, Contributors have their own private channel and are also provided 5 different color roles in addition to the default contributor color role. Just speak to Moira or Vig when you decide what color is right for you. There is no limit to how many times you may have your color changed.
Discord Contributor roles are as follows:
- @💙Contributor - Default Contributor
- @💜Contributor - Purple
- @💗Contributor - Pink
- @💛Contributor - Yellow
- @💚Contributor - Green
- @🖤Contributor - Black
- The Developer role is given to the trusted Contributors who actively work to improve the project. Unlike Contributor, the Developer title may be removed if a Contributor is not present to help out, or is deemed untrustworthy.
- On Discord, Developers have a separate role given to them. This role can be pinged to inform developers of urgent bugs or crashes. Developers also have access to a channel where they can privately discuss the future features, or any confidential problems that may arise.
- Collaborators are given special increased access to GitHub functions such as merging Pull Requests into the master branch as well as editing the wiki directly within the application using the Editing mode.
- Collaborators are trusted by the Owner to remain above reproach in their presence on the game site, discord, and on GitHub.
- Collaborator is a role similar to 📛Administrator in that it will not be normally assigned to just any helpful player. 🌀Moderators and 💙Contributors are very respected for the work they do, however, I hold my Administrators and Collaborators to much higher standards and the level of depth of trust and relationship between us must be great, as these roles have much more power than their alternatives.
- Very Actively Dependable Contributors are the most likely to be asked to help collaborate on this Project on GitHub.
- 📛coz
- 📛💙Vig
- Anji
- Max
- 📛🌀💙moira
- 💙nth
- 📛💙Vig
- 📛💙Vig
- 💙ArtiePendrag
- 💙Auengun
- 💙Aurune
- 💙banc
- 💙boot
- 💙bot/nth
- 💙cbell
- 💙conundrum
- 💙deweyredman
- 💙DFinn
- 💙djdairy
- 💙Gambo
- 💙goonbee
- 💙gw12346
- 💙Hexicube
- 💙Iconic
- 💙Idrissa
- 💙intra
- 💙iounpaladin
- 💙jbasari
- 💙JerMej1s
- 💙JohnCena
- 💙jules
- 💙Kvon
- 💙LordVader
- 💙LoveOken
- 💙smashMineGame
- 📛🌀💙moira
- 💙OuchYouHitMe
- 💙PeeOnBus
- 💙Petey
- 💙rifleman
- 💙Royal2000H
- 💙RPYoshi1
- 🌀💙SadNixon
- 💙sethe
- 💙Skyrra
- 💙Spyro
- 💙stevengao
- 💙straightleft
- 💙Syr1nge
- 💙TheJustStopO
- 💙themeeman
- 💙ThePenguinCo
- 💙veggiemanz
- 📛💙Vig
- 💙voldemort
- 💙Wi1son
- 💙0x696c4f
- Home page for wiki.
- How to play and basic strategies.
- Guide contributed by gw12346.
The Comprehensive Secret Hitler Guide
- Guide contributed by Iconic.
- Guide contributed by djderie.
- Secret Hitler IO's Terms of Use.
- About the game and site.
- Want to request an emote?
- Moderation guidelines.
- Development read me info.
- Contribution guidelines.