ludo-dvamps's Introduction
ludo-dvamps's People
ludo-dvamps's Issues
Restrict Same color Coins in Unsafe Cell
As a player
I want to place each and every coin in different cells
So that I may differentiate between them
Acceptance Criteria
- Criteria 1
- Given an unsafe cell with a coin in it
- When another coin of the same color tries to enter the cell
- Then the coin shouldn't be allowed to move into that cell
Remove Popup
Acceptance Criteria
- Criteria 1
- Remove Popups
restrict player
Acceptance Criteria
-
Criteria 1
- When player joins the game
- Then player shouldn't be able to join again
-
Criteria 2
- When a player wants to go to another page without joining
- Then shouldnot be able to go there
Highlighting movable coins
[#14]
activity log
As a player
I want to be informed what is happening inside the game
So that I may analys the game at any given time
Additional Details
Activity log should contain
- playerName's turn
- playerName got move
- playerName moved his coin
- playerName's coin got killed
Acceptance Criteria
- Criteria 1
- When it's player's turn
- Then the corresponding message should be displayed
- Criteria 2
- When a player rolled the dice
- Then the message should be displayed in the about the move
- Criteria 3
- When a player moved his coin
- Then the message should be displayed along with the coin name
Restrict Moving Coin More Than Once
As a player
I want to move one coin for each move
So that I may wait for my turn to move coins again
Additional Details
Use this section if you have any additional things to say that don't fit the As a ..., I want to ... format
Acceptance Criteria
-
Criteria 1
- When current player tried to move a movable coin more than once
- Then the coin should move only once
-
Criteria 2
- When current player moved a coin and tried to move another coin
- Then the coin shouldn't move_
Roll Dice After Moving A Coin
As a Player
I want to roll dice again after moving a coin for the last move
So that I may move my coin again
Additional Details
- once a player rolls the dice and gets a chance to roll it again, they have to move the coin for that move to roll the dice again.
**Dependencies
- Move Coin
Acceptance Criteria
- Criteria 1
- When a player got another chance to roll the dice
- Then they aren't allowed to roll the dice again until they move a coin
waiting for other players to join
As a player
I want to be informed to wait for other players to join the game
So that I may know how many players have joined/yet to join
Acceptance Criteria
-
Criteria 1
- When player is on waiting page
- Then he/she should be informed how many players have joined yet with awaiting message
-
Criteria 2
- When a new player joins
- Then the current player should be informed of awaiting message
-
Criteria 3
- When 4 players join the game
- Then the current player should be informed about game start
-
Criteria 4
- When no players in the game
- Then the game should be closed
refactor
Changes In Board Page
Acceptance Criteria
- Criteria 1
- Given player
- When when kills a coin
- Then that action should be represented differently in activity log
- Criteria 2
- Given player
- When shown board page
- Then he should be able to see the game name so that they can know which game they are playing
- Criteria 3
- Given player
- When tries to roll the dice
- Then the dice should roll if and only if he clicks on dice
Opponent's color
As a player
I want to be informed what the opponents color is
So that I can identify opponents coins
Additional Details
dependancies
the game should be created and all four players should be joined at this stage
Acceptance Criteria
- Criteria 1
- When asked for game status
- Then the player should be informed which opponent is playing which color
release plan
yet to done
Create cells
Additional Information
Different kinds of cells
- Cell
- Safe Cell
- Unsafe Cell
- Destination
distribute color randomly
Acceptance Criteria
-
Criteria 1
- When player joins
- Then players can get a random color(red, blue, yellow, green) for playing
-
Criteria 1
- When player joins
- Then four players' colors should be unique
Game Name
Acceptance Criteria
- Criteria 1
- Game Name Should Take Space & Symbol
board page
As a player
I want to know where to play
So that I may know what to do
Acceptance Criteria
- Criteria 1
- When game starts
- Then player should be able to see all(board, dice, activity log space
decide players' turn
As a player
I want to be informed while my turn comes
So that I may roll the dice and play my turn
Additional Details
the player will be informed by highlighting his/her home
Acceptance Criteria
-
Criteria 1
- When player's turn comes
- Then player's room should be highligthed
-
Criteria 2
- When player chances is 0
- Then turn should update the current player to the next player
-
Criteria 3
- When player got 6
- Then turn chance should be increased by 1
-
Criteria 4
- When player doesn't have any movable coins
- Then turn should go to the next player immediately
show movable coins
As a player
I want to be informed which are the movable coins
So that I may select one of them
Additional Details
whichever coins are movable should get highlighted
Dependencies
should have rolled the dice
Acceptance Criteria
-
Criteria 1
- When a player roll the dice
- Then he/she should know which coin can be moved
-
Criteria 2
- Given _current player rolls the dice
- When players coin is home & moves less than 6
- Then coin shouldn't be shown as movable
-
Criteria 3
- When he/she is not the current player
- Then should not know which coins are movable for current player
Changes In Board
Acceptance Criteria
- Criteria 1
- All The Coins Should Be Positioned To Center In Each and Every Cell.
- Criteria 2
- Movable Coins Should Be Highlighted Differently
- Criteria 3
- Colors Used For Showing Player Names Should Be Clear and Readable.
- Criteria 4
- Coins Shouldn't Overlap With Each Other In Safe Cells
Changes About Dice
Acceptance Criteria
- Criteria 1
- All Players Except Current Player Shouldn't Be Able To See The Dice If It's Not Their Turn.
- Criteria 2
- All the Faces Of the Dice Should have Same Colors.
start game
As a player
I want to be notified when the game starts
So that I may wait for my turn
Additional Details
the board will contain four homes with the corresponding player's name, path, and destinations.
dependancies
before starting the game the player should know about opponent's colors , player's coins and opponents coins
Acceptance Criteria
- Criteria 1
- When the game starts
- Then _the player should be informed by the board _
show player own color before starting game
As a player
I want to be informed which color I'll play
So that I may know my turn and my coins
dependencies
- opponents color
Acceptance Criteria
- Criteria 1
- When all players join the game and the game is about to start
- Then player should be informed only with his/her own color
Player's coins
As a player
I want to be informed where my coins and the opponent's coins are
So that I may move my coins accordingly
Additional Details
dependancies
the game should be created and all four players should be joined at this stage
Acceptance Criteria
- Criteria 1
- When game starts
- Then the player should be informed where his/her coins are
- Criteria 2
- When game starts
- Then the player should be informed where the opponent's coins are
Handle three 6's
As a player
I want to move my coins for two sixes when I get 3 6's
So that I may get a fair chance to play ludo
Acceptance Criteria
- Criteria 1
- Given player
- When gets three 6's
- Then he Should move for two sixes and the turn should change and other players movable coins shouldn't be showed
Placement of Coins in A Single Cell
As a Player
I want to See coins Well Placed
So that I may Know About Each and Every Coin
Acceptance Criteria
- Criteria 1
- Given player
- When sees the board
- Then all coins should be well placed and every color coin should be shown in that particular cell
deploy game
As a system administrator
I want to deploy the game on Heroku server
So that game may access globally
Acceptance Criteria
- Criteria 1
- Given Heroku link
- When tried access
- Then the game should be accessible
- Criteria 2
- When a person travels through the game
- Then all the features and all the functionalities should work fine
play a new game
As a player
I want to play a new game
So that I may pass time
Acceptance Criteria
-
Criteria 1
- Given a button
- When player click on the button
- Then player should be redirected to the landing page
-
Criteria 2
- Given a button
- When all players leave the game using play again button
- Then game history should also be deleted
Dice Shouldn't Blink
Acceptance Criteria
- Criteria 1
- Given player
- When gets their turn and dice is being shown
- Then dice shouldn't blink at first
Coin in destination
As a player
I want to be informed when my coin reached destination
So that I may get the chance to roll the dice again
Dependencies
- Kill Coin
Acceptance Criteria
-
Criteria 1
- When player's coin get exact move to reach destination
- Then that particular coin should go to destination
-
Criteria 2
- When player's coin reached the destination
- Then he/she should get another chance to roll the dice
join game
As a player
I want to join game
So that I may play with those particular players in that game
Additional Details
the player has to join in a particular game and enter his/her name
Acceptance Criteria
- Criteria 1
- Given a unique name
- When join
- Then player should be informed about joining in that particular game
- Criteria 2
- Given an existing player name
- When join
- Then should be informed to join with a unique name
Bugs
- It is taking empty fields from curl
- Joining page is not showing latest data
board page
As a player
I want to know where to play
So that I may know what to do
Acceptance Criteria
- Criteria 1
- When game is not started
- Then player should not be able to see the board, dice, activity log space
Prevent making multiple
Acceptance Criteria
- Criteria 1
- When a player create a game
- Then before leaving the game player shouldn't be able to go for another one
Players route
As a player
I want to know about my path
So that I may move my coins in that way
Acceptance Criteria
- Criteria 1
- When the player's turn comes
- Then the player should be able to know his/her next move
Coin's status
As a player
I want to be _informed about other coin's positions
So that I may plan accordingly
Additional Details
all coin positions
dice status
Acceptance Criteria
- Criteria 1
- When any player ask for current coin's status
- Then _player should be informed about position of all coin's _
players can leave the game before started
Acceptance Criteria
-
Criteria 1
- When a player clicks on the button
- Then game shouldn't hold that player's information
-
Criteria 1
- When a player leave a game before game start
- Then other players should be able to join the game
Move coin
As a player
I want to select a coin
So that I may move that coin
Additional Details
dependency
before moving a coin player should roll dice
Acceptance Criteria
-
Criteria 1
- Given for the current player on the board
- When clicked on a movable coin
- The coin should move
-
Criteria 2
- Given for the current player on the board
- When clicked on an unmovable coin
- The coin shouldn't move
-
Criteria 3
- Given for the current player on the board
- When another player selects a movable coin
- The coin shouldn't move
-
Criteria 4
- When a player selects a movable coin
- The coin should move exactly how many moves it has
-
Criteria 5
- When player move coins
- Then turn chance should be decreased by 1
-
Criteria 6
- When someone not player of that game request for moving game
- Then should be informed with forbidden zone
Kill coin
As a player
I want to be informed when my coin is killed
So that I may know my current status
dependencies
the player should move a coin to kill another coin
Acceptance Criteria
-
Criteria 1
- Given a coin gets next position which is unsafe and occupied by other players coin
- When _current player select that particular coin to move
- The current coin should go to that place
-
Criteria 2
- When a current player's coin kills another players' coin
- Then current player should get one more chance to roll the dice
-
Criteria 3
- When a player's coin is killed
- Then the corresponding message should be displayed along with the killed coin name and killed by coin name
Time Zone Management
Additional information
- Use moment.js library
Acceptance Criteria
- Criteria 1
- Users should be able to see time in activity log according to their Timezone.
roll dice
As a player
I want to roll the dice
So that I may know my move to go further
Additional Details
players will be informed by the dice number
Dependencies
it will be dependent on the other players of the game, current player's turn and move coin
Acceptance Criteria
-
Criteria 1
- When the current player roll the dice
- Then players should be informed of the exact move he/she gets
-
Criteria 2
- When player roll the dice
- Then dice should give a move only from 1,2,3,4,5,6
-
Criteria 3
- When player(not current) roll the dice
- Then dice shouldn't move for that player and inform only that player about it
-
Criteria 4
- When player rolls the dice
- Then all the players should be notified of the move current player got
-
Criteria 5
- When someone not playing a game asked for roll dice
- Then should be send forbidden zone response
-
Criteria 6
- When a player asked for rolling dice before game started
- Then he/she should be informed of appropriate error message
Game Completed
As a Player
I want Game To Be Stopped When a Player Wins
So that I may Play a New Game
Dependencies
- Coin in Destination
- Winning Condition
Acceptance Criteria
-
Criteria 1
- When a player wins
- Then the gameplay should be stopped
-
Criteria 2
- When a player wins the game
- Then the game should be deleted
Killing other players coin
As a player
I want to be informed if I killed a coin
So that I may roll the dice again
Acceptance Criteria
- Criteria 1
- When a coin is killed
- The current player will get a chance to roll the dice again
player name character limit
Additional Details
- create a game/join a game - while taking name give a short note (*maximum 8 characters)
Acceptance Criteria
-
Criteria 1
- Given a player's name while creating a new game
- When player name characters exceed 8 or game name characters exceed 15
- Then game shouldn't be created and player should be on the create page only
-
Criteria 2
- Given a player's name while joining the game
- When name characters exceed 8 charcters
- Then player should not be added to the game and player should be on the join page
Acitivity Log Changes
Additional details
- When player rolls the dice, and until he moves the coin, the turn change message shouldn't be displayed
- When player gets another turn, then turn message should come after Coin move message
Acceptance Criteria
- Criteria 1
- The Activity Log Should Be wider
- Criteria 2
- Maintain Grammer Throughout the activity log
- Criteria 3
- Add Color Field in Activity Log, For each Action
- Criteria 4
- Remove AutoScroll From The activity Log
- Criteria 5
- prepend Actions To Activity Log, Instead Of Reloading Again.
Opponent's coins
As a player
I want to be informed where my opponent's coins are
So that I may plan accordingly
Additional Details
dependancies
the game should be created and all four players should be joined at this stage
Acceptance Criteria
- Criteria 1
- When game starts
- Then the player should be informed where the opponent's coins are
create a new game
As a player
I want to create a new game
So that I may play with other players
Additional Details
the player should be able to create a game with entering a game and a player name
Acceptance Criteria
-
Criteria 1
- Given a unique game name
- When submit
- Then he/she should be informed about creating or joining
-
Criteria 2
- Given an existing game name
- When submit
- Then he/she should be informed to create new game with unique name
Bugs
- Not showing messages for invalid input
- Input is taking different input in case of % and & followed by any number
- Input is taking spaces instead of +
Blinking Dice
Acceptance Criteria
- Criteria 1
- dice Shouldn't blink at first on a players turn
Winning condition
As a player
I want to be informed when a player won the game
So that I may play a new game
Additional Details
- Winning message <PLAYER'S NAME> has won
Dependencies
- coin in destination
Acceptance Criteria
-
Criteria 1
- When a player's all 4 coins reach destination
- Then all should be informed with a winning message
-
Criteria 2
- When a player wins the game
- Then the game should be on winning stage until player leaves
Coin's Next Position
As a player
I want to be informed about the next position of my coins
So that I may decide which coin I'll move
Dependencies
- Movable coins
- move coin
Acceptance Criteria
-
Criteria 1
- Given current player with movable coins
- When player clicked on a movable coin
- Then the next position of that coin should be highlighted
-
Criteria 2
- Given current player has clicked on a movable coin but hasn't moved
- When player clicks on another movable coin
- Then only second coin should be selected for moving
-
Criteria 3
- Given current player has clicked on a movable coin but hasn't moved
- When player clicks on the same coin again
- Then that coin should be placed in its next position
Changes In Css
Acceptance Criteria
- Criteria 1
- Decrease Font Size of Actions in Activity Log
- Criteria 2
- Change Cursor Pointer on Dice
- Criteria 3
- Decrease Animation Time For Player Names
- Criteria 4
- Don't Mention Height For Player Names
- Criteria 5
- Reduce Size Of One On Dice Face
- Criteria 6
- Board Page Should not go out of the screen
Animate Dice
Acceptance Criteria
- Criteria 1
- if Player( current player ) rolls the dice then before showing the dice face, dice should animate
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.