Apache License 2.0

项目介绍

ozkriff/zoc 是一个托管在 GitHub 上的开源项目,主要使用 Rust 编写,采用 Apache License 2.0 许可证,目前获得 393 个 Star、32 次 Fork。

仓库全名
ozkriff/zoc
开源许可证
Apache License 2.0
Star 数
393
Fork 数
32
未关闭 Issue
80

README 摘要

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…

完整内容见 GitHub 原始 README 或本页 。

常见问题

zoc 用什么语言开发?

主要使用 Rust 编写,采用 Apache License 2.0 许可证,目前有 393 个 Star。

zoc 可以免费商用吗?

仓库采用 Apache License 2.0 许可证,可免费使用与修改,商业使用请遵守许可证条款(例如保留版权声明与许可声明)。

如何获取 zoc 的源码?

可以直接克隆仓库:git clone https://github.com/ozkriff/zoc.git,默认分支为 master;安装与运行步骤见仓库 README。

zoc 最近还在维护吗?

仓库最近一次更新为 2019年11月12日,当前有 80 个未关闭 Issue;Star 数为 393,可作为社区活跃度的参考。

关于

⬡ Zone of Control is a hexagonal turn-based strategy game written in Rust. [DISCONTINUED]

描述取自 GitHub 官方 API,中文内容由 GitRead 中文社区 编辑团队整理。

简要分析

热度分
475
价值分
243
活跃状态
活跃

语言占比

Makefile
Rust

Release

README

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:: http://i.imgur.com/TYoAVj6.png

… image:: http://i.imgur.com/DxfBok2.png

… image:: http://i.imgur.com/V4ZPCrT.png

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.

… |license| image:: https://img.shields.io/badge/license-MIT_or_Apache_2.0-blue.svg … |loc| image:: https://tokei.rs/b1/github/ozkriff/zoc … |travis-ci| image:: https://travis-ci.org/ozkriff/zoc.svg?branch=master … |appveyor-ci| image:: https://ci.appveyor.com/api/projects/status/49kqaol7dlt2xrec/branch/master?svg=true … _This Month in ZoC: https://users.rust-lang.org/t/this-month-in-zone-of-control/6993 … _Rust: https://rust-lang.org … _LICENSE-MIT: LICENSE-MIT … _LICENSE-APACHE: LICENSE-APACHE … _loc: https://github.com/Aaronepower/tokei … _travis-ci: https://travis-ci.org/ozkriff/zoc … _appveyor-ci: https://ci.appveyor.com/project/ozkriff/zoc

评论

暂无评论