Giter Club home page Giter Club logo

Comments (4)

blorente avatar blorente commented on August 21, 2024

Supongo que me lo pido, a no ser que alguien mas lo quiera.

from custopoly.

blorente avatar blorente commented on August 21, 2024

A ver, hay varios problemas:

  1. Controller tiene elementos de Swing, con lo cual tiene elementos de I/O que no deberian estar ahí. Lo que haré será meter todo eso en las actividades correspondientes, para que hagan de I/O a la vez, es decir, de view y controller a la vez.

  2. Esta es mas chunga de solucionar. El código usa el patrón command, y esos command tienen partes importantes de funcionalidad interna (modelo), y parte importante de I/O. El problema está en si meterlos en model o en view/controller. Por ahora voy a adaptar todas las partes de Swing a su equivalente en Android, pero eso no soluciona el problema.
    Alguna idea?

from custopoly.

blorente avatar blorente commented on August 21, 2024

Solo falta deshacer el controller y completar la gamefachade, para lo cual necesito saber donde tengo que meter qué, asi que los de la view dirán :)
Esto marcha.

from custopoly.

franloza avatar franloza commented on August 21, 2024
  1. El controller está ya casi completamente integrado en la vista, principalmente en la actividad PreGameActivity.
  2. GameFacade la he establecido como una interfaz implementada por la clase Game

from custopoly.

Related Issues (20)

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.