A downloadable game for Windows and Linux

About

Trails and Towers (or simply Trails) is a mathematical game for two players. The player's objective is to take as many towers as possible by making trails on a square field with certain rules.

This is the first cross-platfrom implementation of that game. You can explore source code of the game on GitHub.

Notice that since the project is open-source, it has been remain minimalistic as possible. The purpose of this is to make source code easily readable and modifiable. Thus, it may not provide some advanced features as key mapping or multiplayer. But you can code any of that features by your own!

Controls

Use arrow or WASD keys to choose move direction, or click on the target cell with mouse (click on a general move direction will also work). Possible cells to move to will be shown as a green ones. Use Escape to quit the game and R to restart the game.

Rules

Classic version of Trails and Towers has three towers on diagonal distance of one and 11x11 field. As being said, player's objective is to take as many towers as possible. Therefore, first player which takes more than a half of towers, wins. Player loses if none move can be done in player's turn.

Each player have colored base in opposite corners of the field. Usually, base color is blue for player one and red for player two and blue base is located in upper left corner when red base is located in bottom right corner. Towers are placed from field center at specified distance and on the diagonal which connects free cells in corners of the field. Cell where the tower is placed does not count as free.

From the bases players making moves (player one goes first) in one of possible directions: up, down, left or right. If cell in chosen direction is free, player can occupy it. Cell which is already occupied by current player or by opponent cannot be occupied again.

By moving at the same direction as last turn player will accumulate boost, which means that every turn player will move further by one cell. When player changes moving direction, boost is gone. With boost player can jump over occupied cells, if target cell is free or a tower is in there. When player jumps over, every free cell between last occupied cell and target cell becomes occupied.

If player has boost and target cell is "over" the bound, player occupies every free cell in chosen direction up to bound, but only if cell next to the bound is free too. Lastly, player can take (occupy) tower only with boost and only when tower cell is target.

StatusReleased
PlatformsWindows, Linux
Release date Apr 07, 2022
AuthorSo-called Games!
GenrePuzzle
TagsMath, Minimalist, Open Source, Two Player
Code licenseMIT License
Asset licenseCreative Commons Zero v1.0 Universal
Average sessionA few minutes
LanguagesEnglish
InputsKeyboard, Mouse
AccessibilityHigh-contrast, Textless
MultiplayerLocal multiplayer
Player count1 - 2
LinksSource code

Download

Download
Windows 64-bit executable 229 kB
Download
Windows 32-bit executable 208 kB
Download
Linux executable 353 kB

Install instructions

If you're Linux user

If you're downloading Linux version of the game you may face with some issues while trying to run the executable due to some missing libraries. In case of this try to install following libraries (names were taken from Ubuntu Packages Center and may vary for different Linux distributions):

  • mesa-common-dev
  • freeglut3-dev
  • libxrandr-dev
  • libxinerama-dev
  • libxi-dev

Leave a comment

Log in with itch.io to leave a comment.