Giter Site home page Giter Site logo

jakezatecky / civ-drafter Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 0.0 7.86 MB

A modern, mobile-friendly drafting tool for Sid Meier's Civilization VI.

Home Page: https://civilizationdrafter.com

License: GNU General Public License v3.0

HTML 10.15% JavaScript 74.16% SCSS 15.69%
civ-drafter civilization civilization-6 civilization-vi

civ-drafter's Introduction

Civilization Drafter

Build Status GitHub license

A modern, mobile-friendly drafting tool for Sid Meier's Civilization VI.

About

Civilization Drafter is a web application that allows users to draft from a random set of civilizations for multiplayer play. It supports all Civilization VI leaders, up to the Leader Pass DLC, and is freely available under the GPLv3 license.

Features

  • Ban specific leaders
  • Copy results to the clipboard as an image (requires Chromium or Webkit browser)
  • Remembers draft settings when returning to the site
  • Restrict DLC leaders to certain players
  • Change the names of players
  • Options to allow duplicate civilizations and leaders
  • Light and dark themes (defaults to system setting)
  • Clean, accessible, and mobile-friendly design
  • Installable as a Progressive Web App

Support the Project

Web hosting is not free, and development takes time and passion. If you found this application useful, please consider making a donation or becoming a supporter.

Deployment

The following assumes you have Git, Node.js, and Yarn installed.

Local Deployment

yarn install
npm run dev-server

Remote Deployment

This application is a static website and is thus ideal for deployment to Cloudflare, S3, and other hosts. Whatever provider you are using, make sure to run the following command to build the production version of the application:

npm run release-prod

civ-drafter's People

Contributors

dependabot[bot] avatar jakezatecky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

civ-drafter's Issues

Dark theme

Have a dark theme, with the ability to switch between light and dark. Save settings in localStorage.

Allow "Duplicate Civilizations" and "Duplicate Leaders" as options for draft

Hi! I love this drafter, its the best one I've seen so far. I just used it for a game I'm starting up.

It appears that by default the drafter does not implicitly allow Duplicate Civilizations with different leaders when it draws the leaders for everyone. I would recommend allowing that as a an optional check box.

My group plays with duplicate civilizations allowed, but everyone plays a unique leader. So, supporting this in the draft would be ideal, as it's a possible game setting. Along the same lines, duplicate leaders are allowed as a game setting, so I would recommend implementing that at the same time.

I noticed this when trying to create a game with 10 players, where player 9 and 10 only had the two expansions, and the rest of us had all the DLC. (We have a banlist of 8 leaders that have won prior games) It gave me a warning that not enough options were available. I marked those players as having all the dlc, then noticed the final draft had no duplicate civs.

Thanks again, and hope that makes sense! Happy to answer any questions.

Old script version is cached and no longer exists with update

Today I tried to come back to the page to find it a loading spinner that stayed on the screen. Looking at the console I saw that the .js file failed to load. Deleting static file cache fixed the issue, and the new version of /assets/js/app-6b682681d8c5ff0f001f.js was retrieved.

Without dev tools users would have to delete their whole cache, deleting their saved settings. I am on firefox 121.

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.