From 58a994717e24a01101d8b31b15e52d30062a5bac Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Thu, 22 Jan 2015 17:31:32 +0900 Subject: [PATCH] Updating readme --- README.md | 16 ++++++++++++++++ index/tetrys.png | Bin 0 -> 7650 bytes 2 files changed, 16 insertions(+) create mode 100644 README.md create mode 100644 index/tetrys.png diff --git a/README.md b/README.md new file mode 100644 index 0000000..ed12b28 --- /dev/null +++ b/README.md @@ -0,0 +1,16 @@ +# Tetrys + +Tetrys is a minimalist [Tetris](http://en.wikipedia.org/wiki/Tetris) clone written using +[Pygame](http://www.pygame.org/). I started it as a project to teach my girlfriend the basics of game development in +what I think is the easiest language for programming newbies: Python. It is cross-platform compatible and has basic +gamepad support (there is no way to configure what the buttons do; that is an exercise left to the reader). + +Upon running the application you can press `N` to start a new game, and then use the `Left` and `Right` keys to move the +current tetrad around the screen. The `Down` key accelerates the descent of the current piece, and `Space` drops it to +the bottom of the well instantly. A small "shadow tetrad" at the bottom of the well indicates where the current tetrad +will fall if left where it is. + +The full [source code](https://github.com/FooSoft/tetrys/) can be accessed on my GitHub page (it is only one file). +Below is a screenshot of what the game looks like running in Linux: + +![](index/tetrys.png) diff --git a/index/tetrys.png b/index/tetrys.png new file mode 100644 index 0000000000000000000000000000000000000000..4a9086fb5d4d0a27c65aca6004f9ea668d83ed61 GIT binary patch literal 7650 zcmc&&2T+sQ+76(iu%c0}NOxfo5P?N{(XbFeX%>`T6bzvV2mwMb%OV}FtMo1lft^pM1e5Nh&&uzUZz|IFQ)-T7zSZ|0<&@0>a3yybbG_oQ60HajdJ zCIA9~4qv(my#@mD5J4c`w1WqL9@FjjHNe+Cgwdtz2Z1N*;O%7Kzi6S5Z<|x4I!y12O5akRCxPEe^-bS#(C%xv4DyyTZo&sMU_!MlR;)J@IIs2lU8S?43yI;yM+ z-QC?~^h%;WclW$Z;HTao+hAE*I&5FB`C+cSy}@ zEh^5u2Ot4}s>|5(P!NmPTqTYFk_Ny9k8+!XTe#cc))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