Giter VIP home page Giter VIP logo

cluesolver's Issues

Allow custom card sets in frontend

Idea is from @jason-costello - see details in #9.

Ideally this would be some kind of picker that would change the names that get displayed in the UI. I think we should be able to just change any code that reads from _EXTERNAL_NAMES in App.tsx.

Enable combining tabs "Game info" and "Simulation"

Feature suggestion:
Enable the user to combine the information of the "Game info" tab and "Simulation" tab into one tab. For those with wide screens, it will get rid of the need to switch between tabs and utilises the (wide) screen even more. Currently, the selections in Game info will reset when switching between them (which can be annoying) and this will presumably negate that.

i18n

Hello,

It will be great to provide i18n
https://github.com/danhper/python-i18n
can use simple YAML file for translation.

Kind regards

PS : I can help for french translation

fr:
  suspect: suspect
  ProfessorPlum: ProfesseurViolet
  ColonelMustard: ColonelMoutarde
  MrGreen: DocteurOlive
  MissScarlet: MademoiselleRose
  MsWhite: MadameLeblanc
  MrsPeacock: MadamePervenche

  weapon: arme
  Knife: Couteau
  Candlestick: Chandelier
  Revolver: Revolver
  LeadPipe: Matraque
  Rope: Corde
  Wrench: CléAnglaise

  room: lieu
  Hall: Hall
  Conservatory: Veranda
  DiningRoom: SalleAManger
  Kitchen: Cuisine
  Study: Bureau
  Library: Bibliothèque
  Ballroom: GrandSalon
  Lounge: PetitSalon
  BilliardRoom: SalleDeBillard

Mrs. White now Dr. Orchid

https://slate.com/human-interest/2016/07/clue-changes-out-mrs-white-a-housekeeper-for-dr-orchid-a-female-scientist.html

Easy initial fix, but thinking about adding custom card sets for various editions of clue.
https://www.ultraboardgames.com/clue/editions.php

They all seem to follow (the few I spot checked) six suspects, six weapons, and nine locations. I'm a Go dev, never touched rust so I might be off base. Thinking that there could be an conf file that gets read at startup and defines the card sets and cards in each set. yaml, toml, json, etc...

Editions:

  • standard_mrs_white:
    locations:
    - ball_room
    - study
    - hall
    - lounge
    - dining_room
    - kitchen
    - conservatory
    - billiard_room
    - library
    weapons:
    - knife
    - candlestick
    - recvolver
    - rpe
    - lead_pipe
    - wrench
    suspects:
    - col_mustard
    - prof_plumb
    - mr_green
    - miss_scarlet
    - miss_white
  • standard_dr_orchid:
    locations:
    - ball_room
    - study
    - hall
    - lounge
    - dining_room
    - kitchen
    - conservatory
    - billiard_room
    - library
    weapons:
    - knife
    - candlestick
    - recvolver
    - rpe
    - lead_pipe
    - wrench
    suspects:
    - col_mustard
    - prof_plumb
    - mr_green
    - miss_scarlet
    - dr_orchid

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.