Giter Club home page Giter Club logo

set's Introduction

set

Multi-client set game.

Running

cd node/
npm install
node app.js

set's People

Contributors

jasonkatz avatar jgreens avatar akshaynavada avatar calvinhzy avatar

Stargazers

 avatar

Watchers

 avatar  avatar

set's Issues

Bring newly connected client to login page

This is all set up in the backend. React should listen for CLIENT CONNECT ACK and then switch to the login page IF they're not already there (we don't want an infinite loop).

Have set-related feed items show card icons

Changed backend feed message logic so that the data field returns null when the message isn't a valid or invalid set. When it is set-related, it contains an array of cards that should show up as small icons next to the message

Java server crashes on reconnect

The Java server crashes occasionally when a logged in client reconnects and then tries to log back in. This is probably due to client disconnect not actually "logging out" a user on the Java side.
Update: This seems to happen on the LOBBY LIST message from the client.

React state not updating after set submission

Submitting a set successfully does not allow any other cards to be selected. This seems like it has something to do with the number of selected cards not getting updated in the submitSet callback.

Game join button hangs on load state

When the GAME JOIN command fails, the join button doesn't ever leave the loading state. Seems like this should happen on GAME JOIN ACK, false.

Node server crashes (unexpected token)

There is an issue in node where it gets a message from the java and randomly crash because of a JSON.parse issue (unexpected token {). This is rampant and keeps happening, which is keeping us from testing thoroughly.

Feed styling

Have different styles for each message type (colors, fonts, etc). Also change the style of the username.

Concurrent Modification Exception on CLIENT DISCONNECT

There are instances of the system where disconnected a client throws a Concurrent Modification Exception on CLIENT DISCONNECT. This seems to be happening in the games HashMap in Lobby.java. This issue occurred when dealing with game deletion with multiple users in the lobby (exact circumstances unclear).

No front end handling for invalid sets

There is no condition in React that checks whether a set is successful or not. It just logs a message. There should be some sort of indicator (just to the submitting user) that things worked (other than just the score update).

Card Logic

When there's no set on the board, extra cards are added (15, 18). The board size needs to go back down once there's a set available in just 12 cards.

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.