Giter Site home page Giter Site logo

forkfront-android's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

forkfront-android's Issues

Update for Android 11

The "installation" procedure doesn't work on Android 11 causing the game to crash on startup.

Enter key in commands

I think it would be convenient to be able to define commands with Enter key. Consider this:

E-Elbereth[Enter] - Engrave dust Elbereth in one click
DX[Enter].[Enter] - Drop all BUC-unknown items on altar

and so on.

However, there's some quirks. First, it's /possible/ to define such commands in run-time by entering a line-break (because add-command input is multiline). However, because this option is whitespace-separated, when NetHack is restarted, such commands break (and panel is reloaded incorrectly afterwards).

Second, newlines in commands make their buttons look weird (they're lower on panel). This could be solved by custom single-line label.

Third, above example don't quite work. E.g. command

DX

Would work (Select X in drop dialog and go next). However, this:

DX
.

Won't work, not sure why. Dot should be equal to "select all". However something like this:

DX
()[]*%!/?

To select all item classes and drop them would work. I guess it's some ForkFront implementation issue.

Being able to input Enter from panel commands could greatly help in automating tedious tasks, such as listed above and even more.

(AM)OLED Power Saving mode

Currently, NetHack for Android displays area outside map in gray. But OLED screens have an advantage - they don't waste power to display true black pixels (#000000). It would be great if Android NetHack port could make use of this advantage to squeeze extra battery life from such devices. It would work great with ASCII mode, because in this mode, it could keep around 70-80% of screen completely blacked and could lead to a huge battery life boost. I think in this mode, a border could be drawn around the map area to separate it from black background. If it's possible to invert colors of buttons on panel (black buttons with white labels and outlines) it could help even further.

Sign github release APKs

Currently, updating to an APK from the github releases is the only way to get the latest version of some of the ports. However, because they are unsigned (or so I believe), they clash with the Play Store release. This causes two problems:

  1. Updating via github requires uninstalling the Play Store version (losing your data in the process)
  2. Play Store sees its version as later, so will overwrite the unsigned APK from github if you accidentally update

My understanding is that signing the releases with the same key would allow updating without uninstalling, but that might be impossible if Play Store releases have a special signing process.
However, even signing with a different key should block play store from overwriting the installed version, so would still be worth doing.

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.