/ACNH-flower

Best way to get hybrid flowers in Animal Crossing New Horizons

Primary LanguagePython

Hybrid flower optimisation program

Computes best way to obtain specific flower colors in Animal Crossing: New Horizons.

Installation and usage

Python 3.8 and above.

$ python --version
Python 3.8.0
  • (Optional) Create a virtual environment

    python -m venv .venv
    .venv/Scripts/activate
  • Install require libraries

    python -m pip install requirements.txt
  • Use the tool tool

    $ python flower/main.py -t roses -c blue -s
    Namespace(code=None, color='Blue', island=False, seed=True, test=True, type='__ROSES__')
    args=Namespace(code=None, color='Blue', island=False, seed=True, test=True, type='__ROSES__')
    tgt_flowers=[(__ROSES__ RR YY ww ss Blue (2, 2, 2, 0) False)]
    {'A': {'A': {'code': 'rr YY WW ss', 'color': 'Yellow'},
        'B': {'A': {'code': 'RR yy WW Ss', 'color': 'Red'},
                'B': {'A': {'code': 'rr yy Ww ss', 'color': 'White'},
                    'B': None,
                    'code': 'rr yy ww ss',
                    'color': 'Purple',
                    'prob': '0.25',
                    'test': None,
                    'total_prob': '0.25'},
                'code': 'Rr yy Ww ss',
                'color': 'Red',
                'prob': '0.5',
                'test': None,
                'total_prob': '0.125'},
        'code': 'Rr Yy Ww ss',
        'color': 'Red',
        'prob': '0.25',
        'test': None,
        'total_prob': '0.0312'},
    'B': None,
    'code': 'RR YY ww ss',
    'color': 'Blue',
    'prob': '0.0156',
    'test': None,
    'total_prob': '0.000122'}
  • Contribute / report issues

Backlog next

  • FEAT001: Implement color test in graph exploration.

  • FEAT002: Compute flower Graph and display it.

  • FEAT003: Add tag & attribute for island flowers

  • FEAT004: Fix code nomenclatura for windflowers

  • FEAT005: Speedup hybrid test runs

  • FEAT006: command line interface with argparse

  • FEAT007: Web interface

  • FEAT008: No test for last flower right color

  • FEAT009: Add hover on svg nodes to table items

  • FEAT010: Dynamic color and type options

  • FEAT011: Pretty error result page

  • FEAT012: Explanation page

  • FEAT013: Center position when node is alone

  • [ ]FEAT014: When selecting base flowers, add sub ticbox for each color