j-halloran / candyland-cronenberg Goto Github PK
View Code? Open in Web Editor NEWCS1530 Group Croenberg
License: MIT License
CS1530 Group Croenberg
License: MIT License
As a player, I want to be able to enter my name, so it will be easier to keep track of player's turns and I will not forget who I am.
Story Point: 2
I can click through a game, have a player win, click new game, and the tokens don't get reset, so on the first card draw, someone wins.
also, I got this non fatal stack trace:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at org.CandyLand.view.GamePathSpace.removeToken(GamePathSpace.java:51)
at org.CandyLand.view.GraphicalBoard.resetTokens(GraphicalBoard.java:200)
at org.CandyLand.view.MainFrame.reInitBoard(MainFrame.java:102)
at org.CandyLand.view.MainFrame.drawCard(MainFrame.java:82)
at org.CandyLand.view.GraphicalCard.lambda$new$0(GraphicalCard.java:22)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6533)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6298)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4889)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2746)
at java.awt.Component.dispatchEvent(Component.java:4711)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
the trace seems to point to one of the token spaces being null for some reason.
@j-Halloran mentioned something about making grandma's space a different type, do you think this has something to do with that?
As a user, I would like to know whether or not I won, so that I can know whether or not I can brag to my opponents.
Story points: 1
As a user I would like there to be a deck of cards, so that my token may move through board.
Story Points: 4 Points (2 For card deck and 2 for back end card structure)
As a player, I want the deck to have 5 skip turn cards, so that the game is more interesting.
story pt.s 2
As a player I want the window the game runs in to exist and be visible so I can see and play the game.
Story Points: 1 Points
As a user I would like the look of the special cards to match the spaces they send me to, so that my need for aesthetic homogeneity is satisfied
Story Points: 1
As a player I want to be able to click on the cards when it is my turn so that I can play the game and not just watch it happen in front of me.
Story Points: 2
As a player, I would like the the deck of cards to contain randomly ordered cards of the 5 colors of the board, 10 "single" cards of each color and 2 "double cards" of each color, so that my players movement through the board is interesting and random.
Story Points: 2
refactor the graphical board tests. some of the logical tests should get converted into unit tests for GameBoard.
Story pt.s 1
As a user I want the deck to have 5 go to special square cards that teleport tokens to 5 special typed squares throughout the game path respectively, so that the game is more exciting.
story pt.s 2
As a player I would like to be able to click the discard pile to reshuffle the cards into the playing deck if the playing deck is empty so the game doesn't end without a winner.
Story Points: 1
Unit testing for Sprint 1 deliverables and User Stories
Story Points: 3
As a player I want there to be a visible discard area so I can see what the last move was.
Story Points: 2 Points
as a user I want to be able to load a previously saved game, so that I may continue where I left off.
Story Points: 2
As a player, I would like the square at the ceiling of (number of path squares / 2) to be visually distinct, so that I can easily identify the halfway point of the board.
story pt.s 1
As a user, I want a colorful background, so that the board isn't ugly.
Story Points: 2
As a player I want the board to be visible so I can see where I am in the game.
Story Points: 2 Points
As a user, I want the option for the computer to "play" for a player to still play the game if I am alone. All choices made by the computer should be random.
Story Points: 2
As a user, I would like to be able to start the game and set the number of players so that I can play the game.
Story pt.s 4
this is going straight to the backlog, as functionality is priority 1, but if we ever have time and someone is looking to increase our velocity, this is here.
from now on, all unit tests should be in the test class that corresponds to the class under test. This issue is just to clean up the old stuff.
As a user, I would like a "pause" button, that stops the game timer, so that i may take a break from the excitement.
Story Point: 2
As a player I would like the game to end when a player reaches grandma's house so the game doesn't continue forever.
Story Points: 2
As a user, I would like the ability to choose a mode at the beginning of the game (Classic or Strategic), to spice things up a bit. .
See https://github.com/laboon/CS1530_Fall2017/blob/master/deliverables/4/deliverable4.md for more details
Story Point: 2
As a player, I would like the 5 special typed squares throughout the game path to be visually distinct, so that I can easily identify the special squares on the board.
story pt.s 1
As a user, I would like to know how much time has elapsed since starting the game, so that I know how much of my life I will never get back.
Story Points: 2
As a player after viewing the outcome of the game I would like to be able to choose to play again, rematch, or close the game so I can either have more fun or move on with my life.
Story Points: 2
As a player, I would like a strategic mode of play, to spice things up a bit.
Strategic mode needs to include 3 "boomerangs" given to each player at the start of the game. See https://github.com/laboon/CS1530_Fall2017/blob/master/deliverables/4/deliverable4.md for more details
Story Points: 2
As a user, I would like my game progress to be saved when paused, so that I may resume the game at a later date.
Story Points: 2
As a player, I would like to be able to see my avatar/token, so that I am able to see my progressions and position on the board.
Story Points: 2 Points
As a player I want the board to have proper colors so I can see what color I am on and see what colors remain between me and the end.
Story Points: 4 Points
As a player I would like my avatar to move along the board to match what is on the new card I drew on my turn so that I can get closer to winning the game.
Story Points: 4
As a player, I would like to include a mechanism when saving a game file to prevent people from modifying it. Possibilities include a simple cipher or checksum. If file has been modified by someone else, game should refuse to load it.
Story Point: 2
As a user I want the deck to have 3 go to middle cards that teleport tokens to the ceiling of (squares on the path / 2) square, so that the game is more exciting.
story pt.s 2
right now all of the boards functionality is in the view. if we separated the board into model and view, we could greatly improve our ability to test.
we could easily test the game logic with unit tests for the model and we could easily write a test script that makes certain actions occur on the board and we could have a checklist to verify what should have happened.
this would keep us from having to do hackish tests for the graphical board. right now I know that at least me and Josh have made parts of the graphical board, that should be private, protected or public solely for the purpose of testing.
story pt.s 4
this is at least 4 story pt.s, I know it is going to be a pain to decouple these.
this goes straight to backlog, as functionality is priority 1.
As I user I would like to know who's turn it is, so that I know when to draw the next card from the deck.
Story Points: 2
As a user, I want to be able enter "dad" as a name so the game will cheat against me. Every time it is the Dad player's turn, they should receive the worst possible card.(Can there be more than 1 dad?)
Story Point: 2
As a player I want grandma's space to support tokens and have a rainbow back ground and label so I can easily make out where I am going in the game.
Story Points: 2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.