Set Sail for Adventure in the High Seas

Embark on a Journey Through Treacherous Waters

Pirates Gambit is a turn based RPG with open world exploration elements. It is developed entirely in C++ and SFML with no other external libraries or componenets. Everything is custom built including Effects, UI, Algorithms and logic.

Discover the Adventure

Game Features

Procedural Generation

The world map is divided into serparte chunks, which are responsible for generating distinctly unique Islands everytime you open the game. This is done by combining procedural algorithms based on Cellular Automata, Wave Function Collapse, Poisson Sampling, and custom fixes for Buidling generation.

Inventory System

The game utilises a Custom build, easily expandable inventory system to be used for in game trades, the use of ingame items and overall game logic. Each inventory is responsible for Adding, removing and combining items in an easy to understand and expansive way.

Enemy States

Each enemy is responsible for moving around the world to make the game feel alive. Each behaviour is seperated into States, each different so the enemy can look intelligent while traversing the waters, disembarking onto the islands, or chasing the player when they get too close.

Battle System

The turn based battle system utilises search and decision algorithms for the enemy computer player to intelligently move their army units, which are stored in a personal army similar to the inventory system.

Reputation System

A key feature of this game is the reputation system you have with other ships/factions, this determines how the enemies interact with you throughout the game. Ships that are postive towards you will not chase you and are open to hire, but ships with bad reputation with the player will try an eliminate you on sight.

Patterns & Technical

I tried my best to incorporate easy to use and understand patterns for my game. Some key patterns being Many Singleton classes, Fly weight objects, Factory classes and State machine/pattern.

About the Project

Pirates Gambit Concept Art

The Vision Behind Pirates Gambit

Some of my favourite games growing up were turn based games such as Dragon Quest, Pokemon and Heroes of Might and magic, I always found the system interesting and tactical so I decided to created a themed game around that battle system. But that alone wasn't enough to tackle technical achievement. So I looked at other games for inspiration.

The concept of intelligent procedural generation has always interested me and I wanted to see if I could accurately create dynamic chunks with islands, inspired my Minecraft. I studied up on many algorithms to decide which ones were ideal for my game scenario and after alot of tweaks I altered many algortihms to suit the generation how I envisioned it.

To add more complexity around the systems of the game, everything you see if custom build without the uses of any external Libraries, some other key technical features are Enemy States and intelligence. Inventory / Army system, the Reputation system, Use of multi threading for scene loading and custom particle emmisions and overall world feel.