All Projects → lewisjb → tetran

lewisjb / tetran

Licence: AGPL-3.0 license
Tetris-style game written in FORTRAN-95

Programming Languages

fortran
972 projects
CMake
9771 projects

Projects that are alternatives of or similar to tetran

JavaFX-Tetris-Clone
JavaFX Tetris game clone written in Java 8
Stars: ✭ 39 (+105.26%)
Mutual labels:  tetris, tetris-game
terminal-tetris
tetris written in C for linux terminal, featuring top notch ASCII graphics based on the original tetris game
Stars: ✭ 15 (-21.05%)
Mutual labels:  tetris, tetris-game
tetriss
Tetris clone written in JavaScript 🎮 https://antonioolf.github.io/tetriss/
Stars: ✭ 14 (-26.32%)
Mutual labels:  tetris, tetris-game
UnityTetris
Tetris clone written in C# and using Unity engine to render.
Stars: ✭ 131 (+589.47%)
Mutual labels:  tetris, tetris-game
Tetris
Tetris game (Fork)
Stars: ✭ 21 (+10.53%)
Mutual labels:  tetris, tetris-game
tetris
Html5 tetris game, supports two players. 支持本地双人对战的html5俄罗斯方块游戏.
Stars: ✭ 13 (-31.58%)
Mutual labels:  tetris
python-tetris
Tetris game with AI made by pygame, inspired by react-tetris
Stars: ✭ 19 (+0%)
Mutual labels:  tetris
yafpgatetris
Yet Another Tetris on FPGA Implementation
Stars: ✭ 29 (+52.63%)
Mutual labels:  tetris
Tetromino
One of my favorite games implemented for iOS, macOS + CLI
Stars: ✭ 17 (-10.53%)
Mutual labels:  tetris
Python-Games
A collection of small python games made by me using pygame and tkinter libraries
Stars: ✭ 121 (+536.84%)
Mutual labels:  tetris
mobx-react-tetris
No description or website provided.
Stars: ✭ 30 (+57.89%)
Mutual labels:  tetris
RustTetris
Tetris Made in Rust and SDL2
Stars: ✭ 18 (-5.26%)
Mutual labels:  tetris
compose-tetris
🧱 A tetris game fully built using Jetpack Compose
Stars: ✭ 575 (+2926.32%)
Mutual labels:  tetris-game
TetrisAI
The old school Tetris game in addition with an AI that learns evolutionary how to play this game
Stars: ✭ 24 (+26.32%)
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 (+57.89%)
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 (+73.68%)
Mutual labels:  tetris
tetris
Micro Tetris™, based on the 1989 IOCCC Obfuscated Tetris by John Tromp
Stars: ✭ 98 (+415.79%)
Mutual labels:  tetris
nelua-tetris
Tetris game clone made in Nelua with Raylib
Stars: ✭ 16 (-15.79%)
Mutual labels:  tetris
sh-tetris
The pure shell script (sh) that implements the Tetris game following the Tetris Guideline (2009).
Stars: ✭ 31 (+63.16%)
Mutual labels:  tetris
tetris-grid
◼️Lightweight and simple CSS grid
Stars: ✭ 16 (-15.79%)
Mutual labels:  tetris
https://travis-ci.org/lewisjb/tetran.svg?branch=master

Tetran

author:Lewis Bobbermen, Michael Hirsch Ph.D.

Basic tetris-style game written in Modern Fortran.

  • Currently only one level, play until pieces overflow
  • Fortran 2008 syntax
  • play details given at game over and logged to tetran.log
  • Ncurses used for display, called directly from Fortran code.

Tetran Prereq

Tetran works on Mac, Linux, Cygwin and Windows Subsystem for Linux.

Linux / WSL

sudo apt install gfortran libncurses-dev

Mac

brew install gcc ncurses

Cygwin

setup-x86_64.exe -P libncurses-devel cmake make gcc-gfortran

Compile Tetran

cd bin
cmake ..
make

You can optionally specify a compiler by setting FC=. For example, to use the Intel Fortran compiler:

FC=ifort cmake ..
make

Play

./tetran

The difficulty level may be set (rate of falling blocks higher) by:

./tetran 10

The first number sets the difficulty level (higher number more difficult; positive integers only. This integer number is used to divide the wait time period by

Controls

Key Effect
W Rotate piece
A/D Left and right respectively
S Move down faster
Q Exit the game

References

Standard Tetris Specifications

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].