Skip to content

yipinghuang1991/VBA-Tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 

Repository files navigation

I am writing a Tetris game using Excel and VBA. So that you have something to do if the IT policy in your company prevent you do install games. Feedbacks are welcome!

Demo

Demo

Screenshot

Screenshot

Requirement

  • Windows 10 64bit (Not tested on other platform)
  • 64bit Microsoft Excel from 2016 up (32bit not tested)
  • (Not required) Do not have other Excel running at the same time

How To Play

  1. Choose to enable macros when opening the file
  2. Press START buttom to start the game
  3. Press (and hold) Left arrow key to move left
  4. Press (and hold) Right arrow key to move right
  5. Press (and hold) Down arrow key to move downwards
  6. Press Space to hard drop
  7. Press Up arrow or X to rotate clockwise
  8. Press Control or Z to rotate counterclockwise
  9. Press Shift or C to hold piece
  10. Press P to pauss, R to resume, ESC to end game
  11. Press G to toggle gravity
  12. Press 1 to spawn I, 2 to spawn Z, 3 to spawn O, 4 to spawn T, 5 to spawn S, 6 to spawn L, 7 to spawn J. (Not numpad keys) The falling piece will be discarded.

What's Working

  • Hold piece
  • Hard drop
  • Pause/Resume
  • Ghost piece (performance hit)
  • SRS Kick
  • View 6 incoming shapes
  • 200 millisecond repeat delay
  • 35 millisecond repeat rate

To Do

  • Add hard drop lock delay
  • Add setting panel
  • Add custom keybinding
  • General performance improvement
  • Try to follow the Tetris Guideline

Download

My Github Repo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages