Giter VIP home page Giter VIP logo

twilight's People

Contributors

kingcoyote avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

twilight's Issues

Card Labeling Issues

Just a couple more issues I spotted while looking at the tracker-

  1. Special Relationship and Cambridge Five are incorrectly marked as removed after played. They should just go into the discard pile.

  2. South East Asia Scoring can technically go into the discard pile, with the use of Five Year Plan, Ask Not, and a few other cards. There should be an option to discard SEA scoring instead of just sending it to the removed pile.

  3. Clicking on a Scoring Card to open the dropdown in Slim mode, then clicking again to close it, causes the card title to become invisible.

Add group by region support

Add a button near the sorting options to allow group by region. This would rearrange the deck/discard/removed piles to show what cards affect certain regions. The top level grouping would be region (Europe, Africa, etc) and contain sub groupings for countries. Some cards (like Suez Canal Crisis, OPEC, or The Iron Lady) affect multiple countries and would be shown multiple times.

Optional cards are always enabled

There is no way to start a game with the 7 optional cards turned off. The only way to get rid of them is to manually move them to the Removed stack after starting a game.

Add ability to flag a card as "seen"

When your opponent plays a card like CIA Created, Lone Gunman or Aldritch Ames remixed, they see your hand. The Cambridge Five shows scoring cards, and turns 3 and 7 deal the last cards in the deck, allowing you and your opponent to know some cards dealt.

Knowing what cards your opponent has seen can be useful for planning. There could be some ability to flag a card as seen so you can remember which cards your opponent should know about.

Add cloud storage support

Right now, the data is stored to localStorage on the browser. This has inconsistent persistance and can't be moved across browsers. If a player wants to look at their hand from more than one computer, they can't. Cloud storage could solve this. There are APIs for Dropbox, Google Drive, OneDrive, etc. that allow an app to authenticate to someone's storage account and gain access to a folder. Moving the save game data into that folder would allow a user to share data between computers and create a more permanent storage solution.

Allow global and game notes

Add a feature that supports two kinds of notes per card - global and per game. The global notes persist for the user across all games, while the per game notes only exist within the current game.

Add dark mode style

Using the prefers-color-scheme media query, the entire theme can be changed into dark mode to respect users who want dark mode.

Add group by side

Just like the ability to group by region or effect, it should be possible to group by side to see neutral, USA and USSR cards separated in the deck.

Improve display on scoring cards

Some scoring cards have no text, some cards have the text as just an unbroken line. The cards should render text as a table, similar to how the actual cards look.

Add multi game support

Add a few things to support multi game mode:

  • When pressing new game, prompt for the name of the game.
  • Add a load game button that shows a list of existing games.
  • In the list of existing games, add a delete button to clear a game.

When selecting a game from the load game menu, that game will be loaded. This allows a player to maintain multiple open games at the same time.

Long card names break title bar into multiple lines

A few cards, like "How I Learned to Stop Worrying..." and "Portuguese Empire Crumbles" are long enough to cause the card title to break into multiple lines, which is unattractive. This happens occasionally with the 3 stacks on the bottom (Deck, Discard, Removed) but happens much more often with cards in the hand, since those are 4 across instead of 3 like the stacks, making them narrower.

Shuttle Diplomacy Played

On playdek, when Shuttle Diplomacy is played is does not go into discard or removed. Rather as the text says 'place in front of us player' it seems to go into a different section.

Functionally, it gets removed and then not counted in the card counts up top.

Add drag/drop support

Clicking buttons to move cards works, but dragging and dropping cards is more intuitive and user friendly.

Add filters to show cards that modify game stats directly

These filters could be things like:

  1. Modifies VP directly (like Kitchen Debates, Arms Race or OPEC)
  2. Modifies DEFCON directly (like SALT Negotiations, How I Learned to Stop Worrying... or Duck and Cover)
  3. Modifies Space Race directly (like Captured Nazi Scientist or One Small Step)
  4. Modifies MilOps directly (like Arab-Israeli War or Korean War)

These filters could be enabled through a dropdown menu to hide all cards that don't meet these filters, allowing a player to review what cards could, for instance, give their opponent MilOps without a coup (if DEFCON is 2 and no non-BGs contain opponent influence).

Upgrade from Vue2 to Vue3

With Vue 3 fully out of beta and Vue 2 reaching end of life in Sep 2023, this project should be migrated to Vue 3. This will require significant rewriting of all components to transition to the composition API using the <script setup> structure. Another big impact is dropping BootstrapVue and either using an alternate tool (like Elements Plus or Vuetify) or going to native Bootstrap 5.

Add sort by Playdek mode

The online game has a particular sort mode for the discard and removed piles. The sorting priority is:

  1. Scoring cards
  2. Side
  3. Size
  4. Alphabetical

Having an option to turn on this sort mode for the deck would help with quickly moving the cards from deck to discard/removed on turns 3/7 at the reshuffle.

Playdek sorting order

The playdek sorting order for discard and removed is different depending on who the player is.

For USSR it is: scoring, USSR, US, Neutral
For US it is: scoring, US, USSR, Neutral

Create slim UI mode

The current UI contains a lot of detail that is helpful for beginners and intermediate players who may not have every card memorized. More advanced players might prefer less detail so everything can fit on one screen. A slim UI mode that removes card text by default and reduces the padding/margins around card titles could accomplish this.

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.