Giter Club home page Giter Club logo

dicegame's People

Contributors

davebrochill17 avatar dlukacs avatar jambo-bwana avatar kerchedj avatar mattlyons0 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dicegame's Issues

Decide on Use Case Diagram Software

Decide how we want to create a use case diagram. What did you guys use for that assignment.

I used Draw.io. Its not super great, but not awful. Basically a rich editor to draw lines and stuff which can create a pdf we can put in the repo.

Week 2-3

  • 50% of backlog should be complete
  • Update Docs to reflect code changes
  • Create Docs for how to Build and Play
  • Create Unit Tests
  • Create Instructions for Functional GUI Tests (This would be a check list of what a QA team would need to do to ensure the GUI elements are working as expected.)

Missing Features

Game

  • A way to 'hitTheBall' for a player
  • A method to determine which player's turn it is (currently 2 methods, both don't work)
  • Method to go to the next hole
  • Getter for the current hole number
  • A way to get each players distance from hole
  • A way to get strokes of individual players

Stats

  • Store hits per player per hole
  • Store stats and players persistently (load them on startup, save them on close)
  • Store wins per hole per person (and make a getter for david)

Housekeeping

  • Update Javadocs / Create Javadocs
  • Make code meet coding standards
  • Update Unit Tests / Create Unit Tests

Game Flow

This is how the game will be played:

Launch App
Create Players (You can't start without creating at least one)
Click Play Button
Choose Number of Holes (anything > 1)
Each hole will be a random distance
Each player will take turns (furthest away goes soonest)
Once each player scores there will be a next hole button
Upon finishing all holes a sort of scorecard will be displayed. Bare minimum this must display total number of hits and who won. It would be nice (and not hard) to be able to display a scorecard thing that would show how many hits it took each player on each turn see generic golf scorecard (Of course we wouldn't have a par)
Thats it.

What this would entail from the logic:

Either set the number of holes or dynamically expand the statistics data once a method is called to go to the next hole
Calling the method to go to a hole should create a randomly distanced hole
There should be a method to determine who's turn it is
Taking a turn should either assume it is the person's turn who the method above specifies or take in the index of the person

Additionally for the players:
There must be a way to add players
There must be a way to store player names
There could be a way to store player colors (I'll do this if I feel like it)
There must be a way to get the player names
Player names must be stored on the disk and loaded upon startup.

For the scorecard:
There needs to be a way to get all of the data which would be on the scorecard.
This all needs to be stored and loaded upon startup.

Additionally

EVERYTHING NEEDS TO BE TESTED, JUNIT TESTED MAKING A MAIN METHOD DOESNT COUNT!!

NO 1 LETTER VARIABLES

NO BREAKS/RETURNS IN LOOPS, NO RETURNS BEFORE THE END OF THE FUNCTION (I'm slightly guilty of this too, I'll need to revise my code a bit)

DOCUMENTATION!!

Sprint 3

  • 100% of backlog should be complete
  • Project Description's features should be implemented
  • There should be thorough unit test coverage
  • All docs should be up to date

Week 1

  • Come up with idea for what we are doing
  • Create Backlog
  • User Stories
  • Use Case Diagram
  • Everyone makes 1 commit to this repo

getCurrentPlayer() always returns [0,0]

This is when calling currentPlayer() after it. Related to the fact that roll() and hitTheBall() aren't player specific and probably don't modify the correct data structures.

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.