Advertisement

Hex based territory game

Started by September 18, 2019 12:55 AM
1 comment, last by Talvysh 5 years, 1 month ago

Hello all, just looking for some ideas on what kinds of things to include in my new game. It's just a prototype of a hex based territory game with mechanics based on income and points.

Currently 3 players (red, green, and blue) take turns placing a tile to claim part of a new territory. Each round consists of one turn, at the end of which score is calculated based on income.

A tile that is owned gives you 4 points income. An owned tile next to another owned tile grants you 2 bonus points income. For each border territory you influence you gain 1 additional point.

The idea is to place your tiles so that you get the most points and your enemies get the least.

Hover and LMB tile placement are all you need to play this game.

As an aside, I've looked at the freeware game Hex War and it's got combat. I was going to include something of the sort, based on your influence being the number of dice you can roll when attacking a neighboring territory. Top row is score, bottom row is income per round.

Fully static win32 exe can be found here :

https://github.com/EdgarReynaldo/EagleGUI/blob/master/distro/hex.7z

What are some ideas for developing this game further?

Source can be found under Hex.cpp and hexsrc\ here :

https://github.com/EdgarReynaldo/EagleGUI/tree/master/EagleTest

To build you need Eagle and Allegro5, CMake, and right now the Hex game builds with a CB project. Will change to cmake soon. I just found a couple minor scoring bugs, so keep tuned for an update.

Happy programming trails!

Edgar

 

 

 

Randomize non-placeable tiles to add some variety.

"... If fate is a millstone, then we are the grist. There is nothing we can do. So I wish for strength. If I cannot protect them from the wheel, then give me a strong blade, and enough strength... to shatter fate."

This topic is closed to new replies.

Advertisement