View Code? Open in Web Editor
NEW
Werewolves Assistant Web is a Vue web app using the Werewolves Assistant API. Thanks to this app, be the game master of the Werewolves game is so easy ! Try it out now with live demos below.
Home Page: https://werewolves-assistant.antoinezanardi.fr/
License: MIT License
JavaScript 19.48%
Shell 0.15%
HTML 0.16%
Vue 78.02%
CSS 0.33%
SCSS 1.86%
werewolves-assistant-web's People
Contributors
Watchers
werewolves-assistant-web's Issues
Travis displays several warnings that needs to be fixed:
root: deprecated key sudo (The key sudo has no effect anymore.)
deploy: deprecated key skip_cleanup (not supported in dpl v2, use cleanup)
deploy: deprecated key skip_cleanup (not supported in dpl v2, use cleanup)
root: missing dist, using the default xenial
root: missing os, using the default linux
When all are voting, a mark must be displayed on the player who has the most votes against him.
The double vote sheriff must be taken into account and also the raven mark.
For example, there's a game with 3 players left: the hunter, the witch and a werewolf.
During the night, the werewolf eats the witch and the witch poisoned the hunter.
When sun rises, hunter must shoot but only werewolf is alive.
The case of a game with no winners must be handled in GameWinners and GameSummary.
Alerts from sweetalert2
affect page height when displayed.
Check on production.
In order to keep track of user moves and useful navigation data, Google Analytics plugin needs to be implemented.
When a role is already picked but chosen anyway, traductions are not set.
The two live demos on README file need to open a new tab when clicking on one of them. Same for Werewolves Assistant API link.
Uses VueJS
badge.
Link for CHANGELOG.
ESLint Section with number of rules and link to file.
Better installation instructions for contributing.
Contributors section.
Implement Big Bad Wolf Role with:
Role in Role Picker with description.
GamePlayField for choosing who to eat (1 target).
Actions in game history.
The condition for starting a game must be always displayed above the start button.
Next to the condition, an icon with popover regrouping ALL conditions (checked or not) for starting a game.
For each role play field, a button which trigger a tour with explanations.
About page with sections:
What is this site ?
Can I contribute ?
About the creator
[...]
When going back to page Game with a canceled game, display a message that game is canceled.
Implement Dog-Wolf Role with:
Role in Role Picker with description.
GamePlayField for choosing a side werewolves
or villagers
.
Special event for the chosen side.
Action in game history.
Implement Two Sisters Role with:
Role in Role Picker with description and condition for starting the game (they must be at least two if one is chosen).
GamePlayField for meeting each other (no target).
Action in game history.
Responsive design on:
Phones
Tablets (portrait and landscape)
Computer screens
Some text events (in french) have some typography errors.
In README.md
file, add Tables of Contents, Roles available, License, and Contributor list.
Installation section needs to be improved by specifying required or optional .env variables.
Role Picker must now be a big modal.
It must display all available roles, a random button, info of the chosen role, etc.
Modal needs to be big, appear nearly instantly and dark.
In about page, add all roles available with role name, card and explanation.
Make a Not Available
Page when the API is down or when the service needs to be shut down.
If player name is too long, text is overflowing. Need to ellipsis it.
Overflowing on:
Player card name
VSelect option
Event monitor
GamePlayFieldContent
Change SubmitButton
text property to a template for better code readability.
The user needs to be properly redirected if he tries to load an unknown game.
When it is witch's turn, user can't select the werewolves victim to drink death potion.
If no targets are available because of that, display message "No targets available".
When a game is finished or canceled, user can review it.
A review is:
a rate (0.5 to 5 stars).
an optional comment.
a checkbox to specify if a dysfunction was met.
User can update his game review as much as he wants.
Implement Three Brothers Role with:
Role in Role Picker with description and condition for starting the game (they must be at least three if one is chosen).
GamePlayField for meeting each other (no target).
Action in game history.
Implement Cupid Role with:
Role in Role Picker with description.
GamePlayField for choosing targets (2).
Special die event if lover dies from charm.
Possibility for lovers to win the game.
Action in game history.
Enable left and right arrows keys for navigating through event texts
Lots of bugs on webkit engine on multiple pages.
Implement the Villager-villager role with:
Role card and traductions.
Implement Wild Child Role with:
Role in Role Picker with description.
GamePlayField for choosing a model (1 target).
Action (and possibly its transformation) in game history.
The Werewolves Assistant API now hosts all roles image. Front-end must load them instead of storing each one in the project irself.
404 Page for redirecting lost users to home page.
User has to provide email address and password for registering and logging in.
All inputs must be limited to 50 characters length.
Connect Travis and Slack to be notified on build and deploy steps.
Custom events name must be all in kebab-case, as stated in the official Vue documentation.
Bad anchor link for contributors
in README.md
file.
Add an animation on menu showing and hiding in the top right corner.
For better code maintainability, add vue-plugin ESLint rules
In game lobby, player name input must be:
Limited in length (30 characters max.)
Sanitized because of untrusted HTML (to prevent XSS). Use xss
npm package.
The UX can be improved by:
Showing a tooltip with explanations on hover.
Aligning it right.
">>" icon instead.
Implement the Little Girl role with:
Role card and traductions.
In game history, specify when the guard didn't protect the little girl from the werewolves.
Restart or cancel game when game is playing.
Add CONTRIBUTING.md file for guiding people to contribute to this project.
A tutorial on the game lobby page for guiding new users.
When there is a tie in votes during sheriff election, if the user validates, it displays a red message, ew.
Tooltip can be the solution ?
In game lobby, when assigning a role to a player which already reached the max in the game composition, the confirm pop-up doesn't show up anymore to confirm the choice.