Code Monkey home page Code Monkey logo

candyland-cronenberg's People

Contributors

15mikesmith avatar benanders0n avatar j-halloran avatar joshrodstein avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

joshrodstein

candyland-cronenberg's Issues

Player Names

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

new game button does not resest tokens to beginning of board

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?

Outcome

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

Deck of cards

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)

skip turn cards

As a player, I want the deck to have 5 skip turn cards, so that the game is more interesting.

story pt.s 2

Game Window

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

Special space cards Match Special Spaces

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

Interaction

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

Card types

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 graphical board tests

refactor the graphical board tests. some of the logical tests should get converted into unit tests for GameBoard.

Story pt.s 1

Go to special space cards

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

Shuffle Discards

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

US Unit Tests

Unit testing for Sprint 1 deliverables and User Stories

Story Points: 3

Past Card

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

Load Previous Game

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

middle square

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

Board Background

As a user, I want a colorful background, so that the board isn't ugly.

Story Points: 2

Board Exist

As a player I want the board to be visible so I can see where I am in the game.
Story Points: 2 Points

Computer Player

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

Starting

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.

Pause Button

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

End of Game

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

5 special squares

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

Running Timer

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

Postgame

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

Save game state

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

Visible Avatar

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

Board Colors

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

Avatar Movement

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

Incorruptible file

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

go to middle cards

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

refactor board into model and view

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.

Turn Indicator

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

Dad Cheat

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

Grandma Space Changes

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.