Coder Social home page Coder Social logo

codenames's Introduction

vue-app

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Customize configuration

See Configuration Reference.

codenames's People

Contributors

amj311 avatar dependabot[bot] avatar

Watchers

James Cloos avatar

codenames's Issues

Game Over Screen

If a player is disconnected and then reconnects when the game is on the "Game over" screen, showing all of the tiles flipped over, the reconnected player does not see the game over screen, but rather sees all of the cards as they would be otherwise.

I believe this is because the "game over" screen is triggered on the view layer by the "gameWon" event, but it not necessarily determined by the game state itself. So when the player reconnects it shows all the curreent game data but is not aware that the game has ended.

The most straightforward solution would be to make the view determine the Game Over screen compltely through the game state data. I propose to go further and solve this problem entirely to avoid future issues.

ALL view states should rely on the game data to know what to display, instead of certain events that may or may not have been caught.

Codemaster Leaving Room

When a codemaster voluntarily leaves the room they are not removed from the codemaster list.

Custom Word Packs

Use various APIs and settings to allow a game to be played with a particular set of words.

This will let the game go beyond just "BOM", but also be customizeable

Instructions

Make play instructions page/modal which is available from anywhere in app

Mobile Codemaster Disconnect

When a user is playing as codemaster on a mobile phone and the phone goes to sleep, it is disconnected from the server. When the user turns their phone back on and reconnects to the room, they get the correct room data EXCEPT that they are no longer codemasters.

The game breaks because there is no way to change the codemaster and without the codemaster there is no way to flip 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.