Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
Release 0.2.0 (#85)
Browse files Browse the repository at this point in the history
The second release extends the original prototype with a new game
mechanic: Airplanes and airports now have a color that must match to
land the airplane. The APIs of the game have been extended to provide
more information about the map and the different colors. And a public
website with preliminary documentation has been created.
  • Loading branch information
jdno authored Apr 16, 2022
1 parent b1ae64e commit 893bf94
Show file tree
Hide file tree
Showing 8 changed files with 50 additions and 13 deletions.
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,43 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.0](https://github.com/jdno/atc/releases/tag/v0.2.0)

### Added

- Create and add routing grid to the map by [@jdno](https://github.com/jdno) in [#37](https://github.com/jdno/auto-traffic-control/pull/37)
- Create API to query the map by [@jdno](https://github.com/jdno) in [#39](https://github.com/jdno/auto-traffic-control/pull/39)
- Add a game over screen by [@jdno](https://github.com/jdno) in [#41](https://github.com/jdno/auto-traffic-control/pull/41)
- Add routing grid to map data in API responses by [@jdno](https://github.com/jdno) in [#42](https://github.com/jdno/auto-traffic-control/pull/42)
- Add tags to airplanes and airports by [@jdno](https://github.com/jdno) in [#44](https://github.com/jdno/auto-traffic-control/pull/44)
- Add flag to nodes to indicate whether they are accessible by [@jdno](https://github.com/jdno) in [#45](https://github.com/jdno/auto-traffic-control/pull/45)
- Add second airport to the map by [@jdno](https://github.com/jdno) in [#46](https://github.com/jdno/auto-traffic-control/pull/46)
- Add width and height to map message type by [@jdno](https://github.com/jdno) in [#47](https://github.com/jdno/auto-traffic-control/pull/47)
- Prototype path finding in Rust bot by [@jdno](https://github.com/jdno) in [#48](https://github.com/jdno/auto-traffic-control/pull/48)
- Prototype graphics by [@jdno](https://github.com/jdno) in [#50](https://github.com/jdno/auto-traffic-control/pull/50)
- Write getting started guide by [@jdno](https://github.com/jdno) in [#71](https://github.com/jdno/auto-traffic-control/pull/71)
- Document API by [@jdno](https://github.com/jdno) in [#72](https://github.com/jdno/auto-traffic-control/pull/72)
- Document the game rules by [@jdno](https://github.com/jdno) in [#73](https://github.com/jdno/auto-traffic-control/pull/73)
- Publish Rust client by [@jdno](https://github.com/jdno) in [#74](https://github.com/jdno/auto-traffic-control/pull/74)
- Document project status and API versioning by [@jdno](https://github.com/jdno) in [#78](https://github.com/jdno/auto-traffic-control/pull/78)
- Document coordinate systems by [@jdno](https://github.com/jdno) in [#83](https://github.com/jdno/auto-traffic-control/pull/83)

### Changed

- Refactor store to manage all shared state by [@jdno](https://github.com/jdno) in [#38](https://github.com/jdno/auto-traffic-control/pull/38)
- Refactor airplane lifecycle by [@jdno](https://github.com/jdno) in [#40](https://github.com/jdno/auto-traffic-control/pull/40)
- Create type for airports and add it to the map by [@jdno](https://github.com/jdno) in [#43](https://github.com/jdno/auto-traffic-control/pull/43)
- Rename validation errors by [@jdno](https://github.com/jdno) in [#55](https://github.com/jdno/auto-traffic-control/pull/55)
- Relicense project under MIT or Apache-2.0 by [@jdno](https://github.com/jdno) in [#59](https://github.com/jdno/auto-traffic-control/pull/59)
- Add high-res spritesheets by [@jdno](https://github.com/jdno) in [#69](https://github.com/jdno/auto-traffic-control/pull/69)
- Restyle the main screen by [@jdno](https://github.com/jdno) in [#70](https://github.com/jdno/auto-traffic-control/pull/70)

### Fixed

- Normalize speed when flying diagonally by [@jdno](https://github.com/jdno) in [#51](https://github.com/jdno/auto-traffic-control/pull/51)

**Full Changelog**: <https://github.com/jdno/auto-traffic-control/compare/v0.1.0...v0.2.0>

## [0.1.0](https://github.com/jdno/atc/releases/tag/v0.1.0)

### Added
Expand Down
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bin/prepare-release
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ done
echo "Updating changelog..."

vim -c "%s/^\* /- /g" -c "wq" "${root_directory}/CHANGELOG.md"
vim -c "%s!https://github\.com/jdno/atc/pull/\(\d\+\)![#\1](https://github.com/jdno/atc/pull/\1)!g" -c "wq" "${root_directory}/CHANGELOG.md"
vim -c "%s!https://github\.com/jdno/auto-traffic-control/pull/\(\d\+\)![#\1](https://github.com/jdno/auto-traffic-control/pull/\1)!g" -c "wq" "${root_directory}/CHANGELOG.md"
vim -c "%s!@\(\w\+\)![@\1](https://github.com/\1)!g" -c "wq" "${root_directory}/CHANGELOG.md"

# Commit changes
Expand Down
4 changes: 2 additions & 2 deletions examples/starter-rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "starter-rust"
license = "MIT OR Apache-2.0"
version = "0.1.0"
version = "0.2.0"
edition = "2021"

description = "A starter bot for the video game Auto Traffic Control"
Expand All @@ -16,7 +16,7 @@ publish = false
# https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
auto-traffic-control = { path = "../../sdk/rust", version = "0.1.0", features = ["server"] }
auto-traffic-control = { path = "../../sdk/rust", version = "0.2.0", features = ["server"] }

pathfinding = "3.0.12"
tokio = { version = "1.17.0", features = ["macros", "rt-multi-thread"] }
Expand Down
4 changes: 2 additions & 2 deletions game/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "auto-traffic-control-game"
license = "MIT OR Apache-2.0"
version = "0.1.0"
version = "0.2.0"
edition = "2021"

rust-version = "1.60"
Expand Down Expand Up @@ -31,7 +31,7 @@ copyright = "Copyright (c) 2022 Jan David Nose"
category = "public.app-category.games"

[dependencies]
auto-traffic-control = { path = "../sdk/rust", version = "0.1.0", features = ["server"] }
auto-traffic-control = { path = "../sdk/rust", version = "0.2.0", features = ["server"] }

bevy = "0.6.1"
dashmap = "5.2.0"
Expand Down
2 changes: 1 addition & 1 deletion sdk/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "auto-traffic-control"
license = "MIT OR Apache-2.0"
version = "0.1.0"
version = "0.2.0"
edition = "2021"

rust-version = "1.56"
Expand Down
2 changes: 1 addition & 1 deletion sdk/rust/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ First, add `auto-traffic-control` as a new dependency to your `Cargo.toml`.

```toml
[dependencies]
auto-traffic-control = "0.1.0"
auto-traffic-control = "0.2.0"
```

You also need to add [`tonic`](https://crates.io/crates/tonic), the Rust
Expand Down
4 changes: 2 additions & 2 deletions utilities/debug-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "debug-client"
license = "MIT OR Apache-2.0"
version = "0.1.0"
version = "0.2.0"
edition = "2021"

rust-version = "1.56"
Expand All @@ -18,7 +18,7 @@ publish = false
# https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
auto-traffic-control = { path = "../../sdk/rust", version = "0.1.0", features = ["server"] }
auto-traffic-control = { path = "../../sdk/rust", version = "0.2.0", features = ["server"] }

tokio = { version = "1.17.0", features = ["macros", "rt-multi-thread"] }
tokio-stream = { version = "0.1.8" }

0 comments on commit 893bf94

Please sign in to comment.