Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

A Tetris game written in Go using the faiface/pixel 2D game engine.

NotificationsYou must be signed in to change notification settings

zkry/golang-tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is my first experience writing games in Golang. I stumbled upon the 2D game library atgithub.com/faiface/pixel and wanted to try it out. After using it for this game, I have to admit that the library is very well designed and easy to use. Anyone interested in creating games should definitely check it out.

This is a typical Tetris clone. I tried to make the gameplay experience as smooth as possible though the game is lacking bells and whistles like a title-screen. Here are some screen shots of the game:

A sample example of the programA sample example of the program

Running the Game

Having Go installed, you can rungo run . from the root directory to play the game.

Controls

  • Left/Right arrow - Move piece
  • Up arrow - Rotate piece
  • Down arrow - Fast fall
  • Space - Instant drop

Todo

  • Menus (Opening, game-over, pause)
  • Animation for row clearing
  • Music and sound effects

About

A Tetris game written in Go using the faiface/pixel 2D game engine.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp