Skip to content

Latest commit

 

History

History
104 lines (81 loc) · 6.82 KB

Changelog.md

File metadata and controls

104 lines (81 loc) · 6.82 KB

Changelog

14.12.2020.

14.08.2019.

  • This is the last update to the calculator. There comes a time in life where building yourself and your immediate surroundings almost becomes your sole focus, and you somehow become unwilling to do other things you did a lot of before. I've been gaming almost my whole life, but lately I've been noticing that I've been opening games less and less, sometimes going on for weeks without playing - and when I did, usually it was just for a couple of hours. I believe it's time to leave that behind, and I'm sure this inevitably happens to everyone. Well, to most of us at least. I'm sure you understand.

  • What does this mean for the calculator itself? You can still run it, play with the numbers, test custom units, everything as before. However, as future updates drop, it will become more outdated with each one. If anyone is interested in developing it further - the code is publicly available, and you are free to do so. Just don't contact me about it, as it is now in the past for me.

  • Best of luck to you as a player, and in all of your personal and professional endeavors. Farewell!

18.07.2019.

  • Added a +2 HP heal button in Multi mode. When active, press on any number of units any number of times to heal them.
  • Minor fixes.

16.06.2019.

  • Added support for Polaris units and applied other balance changes. In Multi mode you can opt to freeze defenders by pressing on a unit three times repeatedly. You can unfreeze units in the same way. Ice archers automatically freeze their targets when they attack.

17.02.2019.

  • UI update.
  • Added a shortened version of the calculator. It can be activated by adding ?short to the end of the calculator's browser URL. More details in the FAQ - under the How to use the calculator? question.
  • Added a hidden refresh shortcut for current unit HP. Tap or click the text above the current HP input field twice in consecution to activate the refresh (Attacker/Defender current HP:).
  • Modified how the maximum number of entries in the battle history is changed. Simply set Attacker current HP to 123 and Defender current HP to the number of entries you want to keep. These entries last for the duration of the current session.
  • Tapping or clicking on a number field automatically clears it for faster input. A reminder that shows the previous value will appear next to the corresponding text above. If the new value isn't provided, the previous value is reinstated upon leaving the field. When using the shortened version, the reminder will also contain the max HP info.
  • Made the top and bottom margins of paragraphs smaller to provide more space for other elements.
  • Removed Select Attacker/Select Defender from the template list and made the calculator start with warriors selected immediately.
  • Removed the Clear button as it was unnecessary.
  • Changed the look of checkboxes, buttons and text input fields. They are all styled in CSS now and should look more appealing on mobile devices.
  • Max ship HP is now chosen via buttons instead of the template list.
  • Create Attacker/Create Defender in Multi mode is now a single button instead of a two-options list. Added a small margin below it to reduce chance of pressing it unwittingly.
  • Optimized pixel and font sizes so the calculator looks better on a wider variety of devices.
  • All valid clicks or taps now have visible feedback.
  • Changed the FAQ accordingly.
  • Bugs are possible due to the use of new methods. Old version is available at: https://frothfrenzy.github.io/polytopiacalculator/oldindex2.html

26.11.2018.

  • Added a question to the FAQ.
  • Corrected minor bugs.

07.11.2018.

  • Added an option to refresh all unavailable attackers. Tap or click the "Attackers:" text three times repeatedly to activate the refresh.
  • Added two links to the FAQ.
  • QoL improvements.

27.10.2018.

  • Reorganized the FAQ into collapsable elements so it no longer appears as a giant wall of text. Also added two more questions to it.

24.10.2018.

  • Added a note that appears when Javascript is disabled.

19.10.2018.

  • Added the Delete Units button.
  • Some QoL improvements.

13.10.2018.

  • Additional code optimizations.
  • Made the buttons, text fields and selection inputs appear bigger on mobile devices.

11.10.2018.

  • Bug fixes.
  • Code optimizations.
  • Made the unit containers bigger.
  • Added an option to change the default behavior of the No retaliation prompt. Tap or click the "Defenders:" text once to change defaults.

09.10.2018.

  • Massive code update. Added the Multi mode which allows you to create a virtual battlefield and try out different approaches to solve a battle puzzle. Details on how to use it are in the FAQ.

16.06.2018.

  • Because of availability problems on the previous web host, moved the entire site to GitHub.

08.06.2018.

  • Updated the FAQ with instructions on how to use the calculator offline.
  • Added details regarding veterancy status and variable ship HP to complement unit templates.
  • You can now click or tap the text next to any checkbox to activate the corresponding checkbox.
  • Added error messages as a fallback due to Safari not reporting errors for invalid input.
  • Added a battle history. Tap or click three times on "Result:" or any text below it to activate the history. It can be deactivated in the same way. Read the FAQ for more details.

24.05.2018.

  • Added support for the Elyrion tribe.
  • Updated the FAQ with an explanation on the fire dragon's splash damage.
  • Made the site more share-friendly via social outlets (used the Open Graph protocol). This should make the link show more information when you're sharing the calculator over e.g. Discord or Whatsapp. A small introductory message now also appears in Google results.
  • Created the swords favicon that appears in the browser tab bar and serves as a visual identifier when you bookmark the calculator on iOS. The icon also appears as a part of OG metadata.

23.02.2018.

  • Added several lines of code that help when you're using the calculator on mobile.
  • Made the current defender HP go down automatically after each attack.
  • Changed the crab attack value from 3 to 4.
  • Added a note that appears whenever an amphibian, tridention or crab is defending from a city.
  • Added a note that appears whenever a nature bunny is defending from any defensive position.
  • Added a note that appears whenever any ship is defending from behind a wall.
  • Added a FAQ, answering all the questions I got so far concerning the calculations and some other things. The FAQ also contains links to useful guides and videos.

22.12.2017.

  • Added unit templates to make the input easier.
  • Some code optimizations.

03.11.2017.

  • Changed the attack variable from integer to float. Apparently I forgot that knights had 3.5 attack.

12.10.2017.

  • Calculator online!