Combine 

Combine is a small Tetris-like math puzzle game written in Rust. It uses Bevy Engine and was originally submitted to https://itch.io/jam/bevy-jam-2

Gameplay

The basic gameplay should be familiar to anyone who has ever played Tetris. Use Arrow Keys to move the dropping block around and try to land it next to same colored blocks to manipulate their numbers. The target is to *combine* numbers in way that they result to tens (0, 10, 20, 30, etc). Oh, and you can switch the color of the dropping block using shift key (see full keymap below).

You will get points based on the value that the block has before it breaks. As the maximum value of a block is 99 the highest score you can get from single block is 99.


Keymap

  • Left / Right: Move the block left/right
  • Down: Speed up the dropping block
  • Shift: Switch the color of the dropping block
  • Q: Switch the color to Blue
  • W: Switch the color to Red
  • E: Switch the color to Yellow
  • R: Switch the color to Green
  • 1: Background music track #1
  • 2: Background music track #2
  • 3: Background music track #3
  • M: Mute background music

Source Code

The code is open source as requested in Bevy Jam rules. However, if you're here to learn about Bevy, keep in mind that I'm a total n00b in Rust and Bevy, and this code is written in just a few days :)

https://github.com/jkallio/combine

License

Check the LICENSE file in GitHub

https://github.com/jkallio/combine/blob/main/LICENSE

Credits

Gamplay design and coding by Jussi Kallio

Music by Eric Matyas (www.soundimage.org)

Leave a comment

Log in with itch.io to leave a comment.