Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Rendez/rust_columns
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.1.1
Choose a base ref
...
head repository: Rendez/rust_columns
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 2 commits
  • 4 files changed
  • 2 contributors

Commits on Mar 13, 2023

  1. chore(version): 0.1.1

    Rendez committed Mar 13, 2023
    Copy the full SHA
    7f6aa0c View commit details

Commits on Mar 14, 2023

  1. Copy the full SHA
    4867811 View commit details
Showing with 35 additions and 10 deletions.
  1. +4 −7 .github/workflows/release.yml
  2. +6 −0 CHANGELOG.md
  3. +1 −1 Cargo.toml
  4. +24 −2 README.md
11 changes: 4 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -31,25 +31,22 @@ jobs:
cog check --from-latest-tag
- name: Bump Package Version
run: |
cog bump --auto || exit 0
- name: Update Cargo.toml Version
id: versioning
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
run: |
cog bump --auto || exit 0
version=$(git describe --tags "$(git rev-list --tags --max-count=1)")
echo "version=$version" >> "$GITHUB_OUTPUT"
sed -ri "s/version = \"(([0-9]+\.)*[0-9]+)\"/version = \"$version\"/" Cargo.toml
git add Cargo.toml
git commit --amend --no-edit
- name: Push
run: |
git push origin --tags
git push origin
- name: Release
uses: softprops/action-gh-release@v1
if: steps.versioning.outputs.version
with:
body_path: CHANGELOG.md
draft: false
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -2,6 +2,12 @@
All notable changes to this project will be documented in this file. See [conventional commits](https://www.conventionalcommits.org/) for commit guidelines.

- - -
## [0.1.1](https://github.com/rendez/rust_columns/compare/0.1.0..0.1.1) - 2023-03-13
#### Bug Fixes
- github CI workflows for release and PR checks (#2) - ([c3b858c](https://github.com/rendez/rust_columns/commit/c3b858ccb7d9344b5b1269acd95b6f55cd2cc773)) - [@rendez](https://github.com/rendez)

- - -

## [v0.1.0](https://github.com/rendez/rust_columns/compare/1bff133139b33329ad6dea46aa9e572c619d1a56..v0.1.0) - 2023-03-13
#### Bug Fixes
- tagging to follow conventional commit spec - ([570c03c](https://github.com/rendez/rust_columns/commit/570c03c2d22e8b157ad12a38926bc5284d055618)) - [@rendez](https://github.com/rendez)
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rust_columns"
version = "0.1.0"
version = "0.1.1"
authors = [ "Luis Merino <mail@luismerino.name> "]
edition = "2021"
description = "Open source terminal arcade game with audio - based off of the classic Sega 'Columns'"
26 changes: 24 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -2,14 +2,33 @@

`rust_columns` is a fun and easy to play game for the terminal, written in Rust. It is a work in progress game, that I use to learn several concepts of the Rust programming language, while doing so on a fun project.

### Run the game
### Implemented behaviors

You can run the game simply with:
- [x] Matching blocks on all cardinal axes
- [x] Scoring points
- [x] Losing game

### Planned improvements

- [ ] Ranking
- [ ] Menu
- [ ] Speed optimizations for falling blocks
- [ ] Levels
- [ ] Sounds
- [ ] Resizing (2x)

### Compile the game

You can run compile and run the game simply with:

```shell
$ cargo run
```

### Using the binaries

If you wish to just play the game without compiling, head to the release page and find [artifacts for multiple targets](https://github.com/Rendez/rust_columns/releases).

[![asciicast](https://asciinema.org/a/SaKyJdXfD3jKZh67SBC4mrrAe.svg)](https://asciinema.org/a/SaKyJdXfD3jKZh67SBC4mrrAe)

### Working terminals
@@ -25,6 +44,9 @@ Under the hood, all this library is using is the crate `crossterm`, therefore th
- Ubuntu 17.10
- (Arch, Manjaro) KDE Konsole
- Linux Mint
- Terminal.app
- Alacritty
- iTerm and more!

## License