GithubHelp home page GithubHelp logo

catan-node-server's People

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

catan-node-server's Issues

Can join with the same color

  • does not update the color picker once you open it
  • also, when you rejoin with another color, other players still see you in your previous color in the players panel in the bottom left

Discard (probably) issues

  • Sometimes hangs on next player, most likely after discard
  • when all 4 players discard gets stuck in discard phase

SendChat throws an error

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at client.communication.LogComponent.draw(LogComponent.java:92)
at client.communication.LogComponent.getPreferredHeight(LogComponent.java:65)
at client.communication.LogComponent.updateSize(LogComponent.java:55)
at client.communication.LogComponent.setEntries(LogComponent.java:49)
at client.communication.ChatView.setEntries(ChatView.java:79)
at client.communication.ChatController.initFromModel(ChatController.java:61)
at client.communication.ChatController.update(ChatController.java:68)
at java.util.Observable.notifyObservers(Observable.java:159)
at client.model.Populator.populateModel(Populator.java:83)
at client.communication.ChatController.sendMessage(ChatController.java:41)
at client.communication.ChatView.sendMessage(ChatView.java:88)
at client.communication.ChatView.access$1(ChatView.java:85)

Sometimes the bought dev card only available in 2 turns

Sometimes after buying a dev card, I see it correctly on the next turn. Sometimes, on the next turn the byuDevCard icon is still enabled, but the devCards icon not. If you buy it again, it's available correctly next turn.

Does not advance to initial turn

Join the game with 4 players. When the 4th player joins, the map shows up in his game and it says "waiting for other players", but for 3 other players the map never shows up and the game never starts.

There is workaround for now: for the player whose turn it is, stop the client and restart it. It advances to starting a game

Soldier card issues

  • Does not increase the army size
  • Does not make anyone discard (not sure that it should)

Does not change player's color

Join the game with one color, turn off the client, re-join with another color. The first color still shows as player's color

The initial map needs some fixing

First, the ports' directions were not set. For now, I set all ports to NW just to make it not throw an error (ines 67, 70 games.controller.helper). I am not sure on which edges they should be.

Second, I am no expert on map, but the port locations look a little weird to me. This is the randomized map:
screen shot 2015-03-30 at 11 37 15 pm

The trade offer appears when the game starts

When the game starts, the first player gets a trade offer. That probably happens because we set tradeOffer to {offer: } in the JSON, and somehow serializer populates the fields with some bogus data.

Can build road next to each other on initial turns?

We are enforcing not building roads next to each other in the server, but not in the client. I am not sure which one is correct, but we should either enforce it in client, or not enforce it in server, cause it's causing an error

Join game doesn't advance to the waiting module

The client throws an error about the game cookie on join game.
Error output:
Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string: ""
...
at client.network.ServerProxy.doPost(ServerProxy.java:134)
at client.network.ServerProxy.joinGame(ServerProxy.java:340)
at client.join.JoinGameController.joinGame(JoinGameController.java:232)
...

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.