Giter Club home page Giter Club logo

zoc's Introduction

Zone of Control

license_ loc_ travis-ci_ appveyor-ci_

The project is discontinued

Sorry, friends. ZoC is discontinued. See https://ozkriff.github.io/2017-08-17--devlog.html

Downloads

Precompiled binaries for linux, win and osx: https://github.com/ozkriff/zoc/releases

Overview

ZoC is a turn-based hexagonal strategy game written in Rust.

Core game features are:

  • advanced fog of war
  • slot system (single tile fits multiple units)
  • reaction fire (xcom-like)
  • morale and suppression

image

image

image

Player's objective is to capture and hold control zones for certain number of turns.

Terrain types:

  • Plain
  • Trees
  • Water
  • Road/Bridge
  • City

Unit types:

  • Infantry - weak, but can use terrain like Trees or City to get a defence bonus and hide from enemies; can be transported by trucks. Types:
    • rifleman - basic infantry type, 4 soldiers in a squad;
    • smg - more deadly on short distances, less deadly on full range, 3 soldiers in a squad;
    • scout - weak, but have advances visibility range and can better detect hidden enemies, 2 soldiers in a squad;
    • mortar - defenceless, but can shoot smokescreen rounds, slow;
    • field gun - effective against vehicles, slow and can't be transported inside of track, but can be _towed;
  • Vehicles - can't hide in terrain, can't occupy buildings. Can't see hidden infantry. Leave a wreck when destroyed. Can take in a tow vehicle or wrecks lighter than themselves. Types:
    • jeep - fast and effective against infantry and helicopters;
    • truck - can transport infantry;
    • light tank
    • light self-propelled gun - has an armor of a light tank, but a gun of medium tank;
    • medium tank
    • heavy tank
    • mammoth tank
  • Aircrafts - can fly above all terrain features; it's line of sight isn't blocked by terrain. Only one type was implemented:
    • Helicopter

Morale/Suppression system:

  • every unit initially have 100 morale points and restore 10 points every turn
  • morale is reduced by half a a damage chance (hit chance / armor protection) when a unit is attacked even if attack missed;
  • if a soldier of the squad is killed additional suppression is added
  • if a unit's morale falls below 50, then it's suppressed and can't attack anymore

Videos:

Assets

Basic game assets are stored in a separate repo: https://github.com/ozkriff/zoc_assets

Run make assets (or git clone https://github.com/ozkriff/zoc_assets assets) to download them.

Building

make or cargo build.

Running

make run or cargo run or ./target/zoc.

Android

For instructions on setting up your environment see https://github.com/tomaka/android-rs-glue#setting-up-your-environment.

Then just: make android_run - this will build .apk, install and run it.

License

ZoC is distributed under the terms of both the MIT license and the Apache License (Version 2.0).

See LICENSE-APACHE and LICENSE-MIT for details.

zoc's People

Contributors

beatgammit avatar dominikwin avatar gordon-f avatar llogiq avatar ozkriff avatar shmutalov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zoc's Issues

Fix hit_chance/damage math

  • дополнительная защита от местности (#34)
  • дополнительная защита при движении (#33)

shippable -> circle-ci

Раз я перебрался с битбакета на платный гитхаб, то стоит и CI сменить.

Шиппбл - я даже произнести это не могу. И интерфейс у него кривоват.

Было бы здорово переползти на тревис, но эта дрянь стоит больше ста баксов в месяц :( .

Круг и произносится проще, и сам сервис поприятнее выглядит. И тоже бесплатный для закрытого проекта.

Update stb-tt-rs

It compiles but i don't think that it meets cargo standards.

And it will be awesome to add some tests.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.