Skip to content

James-Bartulis/Tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris

Example 1 Example 2 Example 3

FAQ

  • What is Tetris?(Ctrl + click) the link
  • Does this work on Linux?
    • Sadly no, due to libraries used in the code.
  • Does this work on Windows
    • Yes, below instructions are provided.

Install for windows

  1. Download zip to Downloads
  2. Unzip Tetris-master
    • right-click & extract here
  3. gcc/g++ Compilers (used to compile and play)(Ctrl + click) the link
    • run & install
    • Video on how to install the compilers Compiler Installation Tutorial(Ctrl + click) the link
    • If you have installed them once, you don't need to again
  4. Press together: Win + R
  5. type & enter: cmd
  6. type & enter: cd Downloads to change directory to your Downloads
  7. type & enter: cd Tetris-master
  8. type & enter: g++ main.cpp -o run
  9. Read How to play before playing
  10. type & enter: run

How to play

  1. Movement:
    • There are two sets of movement controls
      • w,a,s,d: pause, left, down, right
      • r: rotate
      • (space) or q: instant place/drop
    • and
      • (up arrorw): rotate
      • (left arrow): left
      • (down arrow): down
      • (right arrow): right
  2. Extra Stuff
    • t: save/swap pieces
    • T: toggle extra pieces
  3. Cheats
    • W: clear board
    • F: move all individual blocks down if nothing below them
  4. More info
    • There are two extra pieces
      • Smile
      • X

About

Home made Tetris

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages