All Projects → bigOconstant → RustTetris

bigOconstant / RustTetris

Licence: MIT license
Tetris Made in Rust and SDL2

Programming Languages

rust
11053 projects
shell
77523 projects
CMake
9771 projects

Projects that are alternatives of or similar to RustTetris

combatris
A "perfect" implementation of an old classic
Stars: ✭ 20 (+11.11%)
Mutual labels:  tetris, sdl2
Fairtris
Clone of the official classic Tetris® game for the NES console, intended for Windows and Linux systems. It implements the original mechanics and includes many regional versions and several RNGs (all in one executable).
Stars: ✭ 30 (+66.67%)
Mutual labels:  tetris, sdl2
galangua
2D shoot 'em up game, written in Rust
Stars: ✭ 33 (+83.33%)
Mutual labels:  sdl2
MinecraftC
A Raytraced Minecraft Classic 0.0.30a port to C
Stars: ✭ 250 (+1288.89%)
Mutual labels:  sdl2
SDL net
A simple, cross-platform wrapper over TCP/IP sockets.
Stars: ✭ 93 (+416.67%)
Mutual labels:  sdl2
brogue-android-port
Brogue Android Port
Stars: ✭ 47 (+161.11%)
Mutual labels:  sdl2
shiromino
A fast-paced puzzle game with roots in the arcade.
Stars: ✭ 28 (+55.56%)
Mutual labels:  sdl2
nox-decomp
Unofficial Nox (2000) port to Linux using decompiled code from https://playnox.xyz
Stars: ✭ 21 (+16.67%)
Mutual labels:  sdl2
teki
Touhou-style shoot'em up
Stars: ✭ 60 (+233.33%)
Mutual labels:  sdl2
tetris
Html5 tetris game, supports two players. 支持本地双人对战的html5俄罗斯方块游戏.
Stars: ✭ 13 (-27.78%)
Mutual labels:  tetris
sdl stb font
Renders text using STB_Truetype in pure SDL
Stars: ✭ 40 (+122.22%)
Mutual labels:  sdl2
TetrisAI
The old school Tetris game in addition with an AI that learns evolutionary how to play this game
Stars: ✭ 24 (+33.33%)
Mutual labels:  tetris
Wortuhr ESP8266
Wortuhr mit ESP8266 WeMos D1 mini und NeoPixel WS2812B LEDs mit mp3 Sounds, Animationen, Transitions, Events und Spiele
Stars: ✭ 33 (+83.33%)
Mutual labels:  tetris
gnuboy
latest version of original laguna source, with a handful fixes for modern compilers and systems
Stars: ✭ 70 (+288.89%)
Mutual labels:  sdl2
cubosphere-code
3D puzzle game restored from ashes (code base)
Stars: ✭ 17 (-5.56%)
Mutual labels:  sdl2
sh-tetris
The pure shell script (sh) that implements the Tetris game following the Tetris Guideline (2009).
Stars: ✭ 31 (+72.22%)
Mutual labels:  tetris
Python-Games
A collection of small python games made by me using pygame and tkinter libraries
Stars: ✭ 121 (+572.22%)
Mutual labels:  tetris
yafpgatetris
Yet Another Tetris on FPGA Implementation
Stars: ✭ 29 (+61.11%)
Mutual labels:  tetris
UnityTetris
Tetris clone written in C# and using Unity engine to render.
Stars: ✭ 131 (+627.78%)
Mutual labels:  tetris
openmom
A cross-platform open source port of Master of Magic game from Microprose
Stars: ✭ 90 (+400%)
Mutual labels:  sdl2

Demo

Rust Tetris

This app aims to be a complete low level Tetris clone written in Rust and SDL2. It should have Scoring and game play similar to the NES version of the game. The code is based off of the typescript Tetris prototype I've previously written.Only with better game logic more consistent with the nes version of the game. You can see that version here TypeScript Tetris

Download for Windows

Version 1.0 is now available for windows 10 64bit. You can download it here. or find it in the release section. Unzip the file rust-tetris-release-1.zip click into the folder and double click on rusttetris.exe

Getting Started

Currently Ubuntu 18.04 and Windows are supported. Because thats what I'm testing on.

Prerequisites

You will need the latest stable version of rust. You will also need sdl2 and sdl2-ttf development libraries if you are on ubuntu. which you can install with.

sudo apt-get install libsdl2-dev
sudo apt-get install libsdl2-ttf-dev
sudo apt-get install libsdl2-image-dev

Windows users may use the build.rs script in the main directory and the included sdl libraries.

Installing

To build and run the project, cd into the root directory and type

cargo run

Cargo will go out and gather the needed dependencies, build and launch tetris.

Controlls

Keyboard

Use the left, right, and down arrow keys for navigation. The up key rotates the piece. The space bar lands the piece at the bottom. The r key resets the board. Press enter to pause the game. Esc exits the game.

Gamepad

SDL Gamepad support. Most gamepads should work. The xbox buttons should be the following, a,b,up are change piece state. x and y are drop piece. up, down, left, right behave exactly as the keyboard does. Sholder buttons should move the piece either one space to the left or one space to the right.

Resolution and fullscreen

The default resolution is set to 720 windowed; However you may change this along with the fps in the src/assets/jata.json file.

Built With

  • Rust - Programming Language
  • Rust SDL - The Graphics Library wrapper written in rust
  • SDL2 - C library rust wrapper uses

Authors

Acknowledgments

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].