A downloadable game

ABOUT

Simple Wars is a project I made from scratch using C++ and SFML. Main focus in developing the game was on systems to allow things like maps, units and faction details can be recorded in external files and processed in runtime rather than be hard-coded.

The game itself can be played by 2-players (hot-swap) or against a (simple) AI. Units available to are the infantry, tank and artillery units. Where you place your units is also important, as different terrains affect different units in different ways. A house tile, for example, gives infantry a large boost in defence and attack while giving tanks a penalty in movement and defence.There are a 3 factions set up, but there is currently no way to select factions.

Starting a game involves:

  1. Selecting the game mode.
  2. Placing your units in the tiles highlighted with a lime green overlay.
  3. Move/Attack with all your units. You do either in any order.
  4. End Turn, wait for your turn.
  5. Repeat till either you or your enemy is wiped out.

Other Info

  • Unit stats:
    • HP - Health Points
    • MOV -Movement points
    • RGE -Range
    • DMG -Damage dealt
  • Terrain has additional effects which can include extra movement cost, damage multiplier, damage taken multiplier, range modifier.
  • When in move mode, text near the cursor indicates additional move cost if moving to the terrain under the mouse. It does not indicate if the unit can move into it.
  • Side panel has 2 sections that display terrain effect. The left refers to the terrain the current selected unit is on. The right refers to the terrain affecting the unit under the mouse, if any.
  • When in attack/move mode, click any empty space in the side panel to unselect the current unit and also exit that mode.
  • When in attack/move mode, click any other unit to switch to that unit.
  • Units can only move to one adjacent tile at a time, no diagonal movement. Unit cannot move to a tile if doing so brings it's MOV points to less than 0.
  • Top 2 sections in the side panel display the selected units faction emblem and the faction stat bonuses. Unit factions are hardcoded to Blue-> Graysong Talons and Red->Lowvale Lynxes.
  • Talon units will have less HP for more range while Lynx units will have more damage but less range
  • The third faction( Coldfield Ursine ) would have more HP but less movement.
  • Debug window changes the stats of the selected unit in realtime.

Known Issues

  • When switching between units with attack selected, overlay sometimes does not appear.
  • When attacking, overlay sometimes stops reverting back to the green movement overlay.
  • enemy units sometimes look like they are in between grid.
  • Factions buffs are implemented but only 2 factions are accessible. No way to select the factions at the start.
  • Wins are only recorded when a game ends, not when the game closed midway.

CREDITS

Elite Command Art Units by Chris Vincent

Smoke particle pack by Kenney Vleugels

Download

Download
Simple Wars - Release.zip 11 MB

Install instructions

  1. Extract the files to a location of your choice.
  2. Run SimpleWars.exe at the location you extracted to