All Projects → da-x → tetris-demo

da-x / tetris-demo

Licence: MIT license
A Tetris example written in Rust using Piston in under 500 lines of code

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to tetris-demo

yafpgatetris
Yet Another Tetris on FPGA Implementation
Stars: ✭ 29 (-72.64%)
Mutual labels:  tetris
mobx-react-tetris
No description or website provided.
Stars: ✭ 30 (-71.7%)
Mutual labels:  tetris
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 (-71.7%)
Mutual labels:  tetris
tetris
Html5 tetris game, supports two players. 支持本地双人对战的html5俄罗斯方块游戏.
Stars: ✭ 13 (-87.74%)
Mutual labels:  tetris
nelua-tetris
Tetris game clone made in Nelua with Raylib
Stars: ✭ 16 (-84.91%)
Mutual labels:  tetris
python-tetris
Tetris game with AI made by pygame, inspired by react-tetris
Stars: ✭ 19 (-82.08%)
Mutual labels:  tetris
Python-Games
A collection of small python games made by me using pygame and tkinter libraries
Stars: ✭ 121 (+14.15%)
Mutual labels:  tetris
godot entt example
A simple example on how to use entt (https://github.com/skypjack/entt) within godot
Stars: ✭ 36 (-66.04%)
Mutual labels:  example
RustTetris
Tetris Made in Rust and SDL2
Stars: ✭ 18 (-83.02%)
Mutual labels:  tetris
JavaFX-Tetris-Clone
JavaFX Tetris game clone written in Java 8
Stars: ✭ 39 (-63.21%)
Mutual labels:  tetris
UnityTetris
Tetris clone written in C# and using Unity engine to render.
Stars: ✭ 131 (+23.58%)
Mutual labels:  tetris
sh-tetris
The pure shell script (sh) that implements the Tetris game following the Tetris Guideline (2009).
Stars: ✭ 31 (-70.75%)
Mutual labels:  tetris
gym-tetris
An OpenAI Gym interface to Tetris on the NES.
Stars: ✭ 33 (-68.87%)
Mutual labels:  tetris
TetrisAI
The old school Tetris game in addition with an AI that learns evolutionary how to play this game
Stars: ✭ 24 (-77.36%)
Mutual labels:  tetris
line-example-bot-tiny-php
Line Bot 基礎範例程式碼教學 (PHP) - 輕量版 LINEBotTiny.php
Stars: ✭ 58 (-45.28%)
Mutual labels:  example
Wortuhr ESP8266
Wortuhr mit ESP8266 WeMos D1 mini und NeoPixel WS2812B LEDs mit mp3 Sounds, Animationen, Transitions, Events und Spiele
Stars: ✭ 33 (-68.87%)
Mutual labels:  tetris
Tetromino
One of my favorite games implemented for iOS, macOS + CLI
Stars: ✭ 17 (-83.96%)
Mutual labels:  tetris
lifequote
React port of a life insurance quick quoting application
Stars: ✭ 36 (-66.04%)
Mutual labels:  example
go-learning
My Golang training material for testing smaller Go concepts and ideas.
Stars: ✭ 27 (-74.53%)
Mutual labels:  example
tetris
Micro Tetris™, based on the 1989 IOCCC Obfuscated Tetris by John Tromp
Stars: ✭ 98 (-7.55%)
Mutual labels:  tetris

Tetris Example in Rust, v2

A Tetris example written in Rust using Piston.

  • For demoing basic Rust coding
  • 414 lines of code
  • A clear Git history that iterates on added features. See: git log --reverse -p 855e7fddd..HEAD
  • The completed lines are flashing
  • No scoring
  • No 'next piece view'
  • No automatic restart after 'game over'
  • No change in falling piece speed
  1. Install Rust from main site.
  2. Perform the following:
git clone https://github.com/da-x/tetris-demo
cd tetris-demo
cargo run

Changes from v1

  • Simplified the handling of the game state.
  • Using a HashMap instead of a Vec<Vec<_>> for board and pieces.
  • Less lines, same functionality.
  • A clear Git history that iterates on added features.
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].