Giter Club home page Giter Club logo

Comments (8)

devinlynch avatar devinlynch commented on August 22, 2024

Why do Rack and Game Piece have owner attributes when they're both pointing to player anyways?
A: by owner it means player, I know thats not correct UML style

Why does Hex Tile have a type attribute, point a Hex Tile type class AND point to a terrain class?
A: Ya we added Terrain in at the end and never removed hex tile type, Hex Tile Type is no longer needed

I think Board Location is a confusing term, maybe Board Container?
A: Sure

Why so many classes with only one attribute? Example Creature points to a terrain class but the terrain class only has a name attribute, wouldn't we just want to give Creature an attribute called Terrain?
A: Terrain is shared by 3 different classes. It makes more sense to encapsulate the terrain in its own class since there will most likely be logic surrounding different terrains which can be shared among the classes.

from kings-n-things-server.

GTLives avatar GTLives commented on August 22, 2024

Updated UML any other changes necessary ?
updateduml

-adding java code for this in my branch

from kings-n-things-server.

devinlynch avatar devinlynch commented on August 22, 2024

Game piece has an id and all the subclasses do as well, the id would just be inherited, no need for each to have one set explicitly.

from kings-n-things-server.

JohnMarsh avatar JohnMarsh commented on August 22, 2024

What's a counter?

from kings-n-things-server.

GTLives avatar GTLives commented on August 22, 2024

new dia uml version Jpeg here
comp3004uml
dia file will be included in the repo

from kings-n-things-server.

JohnMarsh avatar JohnMarsh commented on August 22, 2024

Did you mean to have game piece point to player or should it be the other way around?

On Sun, Jan 19, 2014 at 12:55 AM, GTLives [email protected]
wrote:

new dia uml version Jpeg here
comp3004uml

dia file will be included in the repo

Reply to this email directly or view it on GitHub:
#7 (comment)

from kings-n-things-server.

GTLives avatar GTLives commented on August 22, 2024

We only showed 1 to 1 relationships for now , we didn't include sets. Player does have many pieces but all we showed was that player has piece

from kings-n-things-server.

devinlynch avatar devinlynch commented on August 22, 2024

John, can you post the updated diagram?

from kings-n-things-server.

Related Issues (8)

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.