Code Monkey home page Code Monkey logo

fleohsis's People

Contributors

serin-delaunay avatar

Stargazers

 avatar

Watchers

 avatar  avatar

fleohsis's Issues

Set up executable packaging

Using py2exe, PyInstaller, cx_freeze, or similar.

  • Standalone package for Windows
  • Standalone package for OSX?
  • Standalone package for Linux shouldn't really be necessary; some sort of requirements.txt could be helpful, though.

Update for Python 3.6.1

FLEOHSIS makes heavy use of type hints in function signatures, and of namedtuple through typing.NamedTuple. NamedTuple doesn't support default attribute values until Python 3.6.1, which isn't released until after the 7DRL challenge ends. Until then, the only way to have both type hints and default values seems to be to use old-style NamedTuple declarations, and assign to the class's __new__.__defaults__. This workaround is not compatible with mypy.

Once Python 3.6.1 is released, the syntax used in these cases can be greatly simplified (and all variables can be given type hints).

The game is intended to be packaged as standalone executables for Windows and hopefully Mac (#4), so backwards compatibility is not really a concern. Linux users can just keep their Python version up to date.

HealthPoint common abilities into third list

Currently a HealthPoint has two lists of abilities: one when healthy and one when damaged. These are used to generate description text. If the same ability is in both lists, it will add needless length to HealthPoint description text.

  • Add a third list for common abilities.
  • Move all common abilities there.
  • Alter description generator.

Development plan

  • Health tableau which reacts to being damaged. Display results on screen.
  • Advance state on keypress.
  • Separate displays for:
    • Event log.
    • Health.
  • Defense abilities on health points affecting how damage is processed.
  • Attack abilities on health points affecting the damage signals sent to the health tableau.
  • Two health tableaux hitting each other, still automatic.
  • Mouse over health points to see detailed information about abilities.
  • Option to manually reorganise order of cards (with mouse) in health tableau before advancing state. Accept/cancel button.
  • Deck of cards with health points. New health points dealt from deck, option to take one and replace a healthy point with it.
  • Pending...

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.