https://knbanderson.github.io/werewolf-clone/ A game played through the webpage, in which players are randomly assigned good or bad roles, and work together to determine who the evil players are.
Behavior | Input | Output |
---|---|---|
The program should create player objects and assigns roles | 4 players | "4 player Game Start" |
The program should tell players roles in secret | :tap: show role button | "player 1 is the Bug" |
The program asks player for an action before they pass device | Bug chooses a Dev to corrupt | Next player OR round ends |
Corrupted Dev is revealed and removed from game | Player is removed | Day round and discussion timer begins |
The program completes the timer and begins voting process | Player 2 votes for Player 4 | Majority winner of vote is removed |
The program loops back to behavior 3 and repeats | Bug chooses a Dev to corrupt | Next player OR round ends |
The program ends game | 2 players, 1 is bug | Game over bug won |
- Run in browser
None
No support offered
JS
Copyright <2019> <Colton, Justin, Kaya & Katlin>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.