Skip to content

Latest commit

 

History

History
16 lines (14 loc) · 586 Bytes

README.md

File metadata and controls

16 lines (14 loc) · 586 Bytes

Block Fall Down Game

This is a simple block fall down game clone written in Go. The entirety of the code was generated by Cursor AI by refining the prompt as issues were encountered. I specifically asked it to generate a game only using the standard library.

How to run

  1. brew install go
  2. go get golang.org/x/sys
  3. go get golang.org/x/term
  4. go run tetris.go

How to play

  • Left/Right arrows: Move piece left/right
  • Down arrow: Move piece down faster
  • Up arrow: Hard drop piece
  • 'a': Rotate piece counterclockwise
  • 'd': Rotate piece clockwise
  • 'q': Quit game