Download the app on Google Play Store
A simple turn based strategy game aiming to clone the gameplay of Slay.
| Glossary | Explanation |
|---|---|
| Team | A player or computer |
| Territory | Two or more hexes of the same team connected together |
| Piece | A chip on a hex (for example capital, castle, or peasant) |
| Capital | The ruling piece of a territory, gives same protection as a peasant |
| Castle | A stationary piece that gives protection equal to a spearman |
| peasant | Least powerful movable piece, can only only take over unprotected land |
| spearman | Slightly more powerful movable piece, can only take over unprotected land, capitals, and kill peasants |
| knight | Even more powerful movable piece, can take over castles, and everything a spearman can do |
| baron | The most powerful piece in the game, can kill every piece (including other barons) |
| pine | A type of tree that grows when there are to adjacent pines |
| palm | A type of tree that grows along the coast |
| tree | Collective word for pine and palm |
Accurate as of version 2.7.0
usage: [-h] [-d] [-t] [-s] [-e] [--i-am-a-cheater] [--disable-island-loading]
[--draw-edges] [--stage-debug] [--update-previews]
[--update-saved-islands] [--load-all-islands] [--reset-all] [--ai-debug]
[--list-artb-improvements UPDATE_ARTB] [--validate-island-on-load]
[--scale SCALE] [--profile]
optional arguments:
-h, --help show this help message and exit
-d, --debug Enable debug logging
-t, --trace Enable even more logging
-s, --silent Do not print anything to stdout or
stderr
-e, --map-editor Start the program in map editor mode
--i-am-a-cheater Enable cheating
--disable-island-loading Don't load islands
--draw-edges Draw the edge hexagons to assists
with debugging
--stage-debug Enable debug overlay for UI
--update-previews Update pre-rendered previews of
islands from the initial island
metadata
--update-saved-islands Update the saved islands by saving
them again after loading them. Only
really useful when changing the save
format
--load-all-islands Load all islands at startup instead
of when first played
--reset-all Resetting settings and progress
--ai-debug Listen to the AI thinking
--list-artb-improvements UPDATE_ARTB List all islands where the Author
Round to Beat (ARtB) was beaten or
there was no ARtB set and it has now
been beaten by the user. Argument
UPDATE_ARTB (boolean) is used to
specify if the islands' progress
should be updated to reflect the new
ARtB values.App will exit after
listing the islands.
--validate-island-on-load Validate island when loading it,
useful with `--load-all-islands`
--scale SCALE Scale of UI, if <= 0 default scale
apply
--profile Enable GL profiling
- Launch the game with
--map-editorto be able to edit all maps, and even create new ones- Example launch command
java -jar Hex.jar --map-editor
- Example launch command
- If cheating try to press...
F10to re-move your moved piecesF11to make the AI surrenderF12to toggle cheating
- If launching with
--debugor--tracemode try to pressF12to enable cheating - There are more options available in the settings when launching with
--debugor--trace - Pressing space or backspace will unselect piece in hand if holding something or unselect selected territory if not
- Use
F1to buy a castle in the currently selected territory - Likewise,
F2will buy a spearman,F3a knight, andF4a baron - Undo and redo can be done with
Ctrl-ZandCtrl-Yrespectfully
The progress is exported as a xz compressed json file then base85 encoded to make it smaller. The uncompressed json is either an ongoing game or a completed game. When the game is ongoing a list of hexagons that have changed from the initial map is stored When the game is completed the winner is stored.
First bump the android version code!
In the Build > Generate Signed App Bundle or Apk choose Android App Bundle then (if not already done: import the hex.jks and get the password from the password manager) then
choose release.
It should be found here
Run gradle desktop:dist output jar should be here as desktop-<version>.jar
- Add minimap
- Add a proper tutorial, nobody likes to read
- Reimplement
DefaultHexagonDataStorageto useIntMapand where the key is a compacted key - Add fling support in the level select screen
- When clicking an island to play it, zoom into the sprite while loading the island
- Add support for ctrl-z and ctrl-y in the map editor
- Lag when un/redoing after a long game (not verified it still happens after 2.0.0)
- Hard to do since it's loading the previous version of the map. Have to look into why it takes longer late-game
- The reason for the lag is when there are a large amount of actions done there are lots of data
- Ideas to mitigate this issue
- Make the history contain a delta not the whole history