Giter Site home page Giter Site logo

loveletters's People

Contributors

joakikr avatar sigurdsvela avatar thachkp avatar

Watchers

 avatar  avatar  avatar  avatar

loveletters's Issues

Rethink logical structure

With the current structure one can't let the game flow.

Not possible to call methods in a loop because there is now
good way of waiting for input.

Need to implement action listeners and act accordingly.

BotPlayer

Need some way of hiding what the card effects for Bots do. For instance if a Bot plays priest, when one in priest.run() says cardOwner.getGame().getView().setInformation(card.toString()) when showing the card, this card also get shown to the local player.

As a temporary fix I've added an abstract method in player: setInformation(String msg);
Which in the BotPlayer class is remains empty while in LocalPlayer class calls getGame().getView....

By doing this one can in priest call: cardOwner.setInformation(...) upon showing a card.

Ideas?

The View MouseAdapter is fairly buggy

When using mouseEntered and mouseExited, mouse exited will only trigger if the mouse exits the View, but does not exit that views parent. If it does, only the parent of the first view will receive the mouseExited event. This causes some major buggyness.

Buggy drawing

The drawing mechanism sometimes overflows on resize of the window.
resource_-loveletters_src_game_state_localgame_java-eclipse_sdk-__users_sigurdbergsvela_documents_projects_java

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.