Giter Site home page Giter Site logo

distortia / d2-crucible-roulette Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 546 KB

A fun Crucible roulette app to make your games entertaining

Home Page: https://d2crucibleroulette.fly.dev/

Elixir 85.02% CSS 0.31% JavaScript 1.56% HTML 11.70% Dockerfile 1.25% Shell 0.10% Batchfile 0.06%

d2-crucible-roulette's Introduction

D2CrucibleRoulette

Destiny 2 Crucible Roulette is a take on Strat Roulette that you may find in other games. The focus is to remain relatively simple so we can focus on having fun!

Visit https://d2crucibleroulette.fly.dev/ to see it in action

Getting Started

  1. Clone the repo
  2. Install dependencies with mix deps.get
  3. Create and migrate your database with mix ecto.setup - This will populate your database using strats.csv
  4. Start Phoenix endpoint with mix phx.server or inside IEx with iex -S mix phx.server

Now you can visit localhost:4000 from your browser.

If you want to run tests you can either run mix test or mix test.interactive

Contributing

We are always open to contributions, no matter how small.

If you wish to contribute please do the following:

  1. Fork the project
  2. Create a new branch based off of master
  3. Add your contributions
  4. Write some tests! - make sure they pass ๐Ÿ˜„
  5. Run the formatter - mix format
  6. Write some docs! - not always necessary but can be helpful
  7. Add yourself to the Contributors section in the README.md
  8. Write helpful commit messages
  9. Push your branch - git push origin my-branch-name
  10. Submit a PR
  • Write a relevant title and description
  • Link to the relevant issue

Contributors

d2-crucible-roulette's People

Contributors

distortia avatar dependabot[bot] avatar

Watchers

 avatar

d2-crucible-roulette's Issues

Refactor undo actions

Currently, it is difficult to understand and work with the unlike, undislike events. Not only are they hard to read, they are just weird to look at(and say out loud). Could we refactor this to just have an undo action that uses a like/dislike modifier with undo?

Add SEO

To assist in generating traffic and usage, we should add some SEO to the site to assist crawlers.

Setup swoosh for local dev

When a user submits a strat, it does not go anywhere. We need to configure local dev to at least get a basic email before moving forward.

List all strats

Setup a new route + controller action to display all the strats with their relevant info

Strat Management

Admins should be able to add a strat without having to directly insert into the database.

Idea: Cache Strats

Since we do not have a bunch of strats, we could keep a cache of all the strats to speed up calls and reduce the number of database calls.

Add SEO

Add some basic SEO so when someone searches things like destiny 2 strat roulette we pop up

Consolidate common liveview functions

Currently, the main page and strats page contain the same functionality with the only difference being where/how we send update to the component.

Can we combine them to call the same thing so we do not have duplicate calls?

Maintain session history

Switching between pages, the main page loses all of the history and current strat you are on.

We could dump the info into a session and populate everything from the session.

Setup CI

We can use github actions to spin up containers, migrate the db and run tests

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.