Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instructions

Build

go get example.com/ponGo
go build
./ponGo

or

go get example.com/ponGo
go run .

Play

Player1: Q UP/ A Down
Player2: O UP/ L Down

Key controls can be changed in controls.go.
Other game settings (ball speed, etc.) can be changed in main.go in the Game struct initialization

  1                                                             0  
-------------------------------------------------------------------
                                                                   
                                                                   
                                                                   
                                                                   
                                                                   
                                                                   
%                                                                 %
%                                                               O %
%                                                                 %
                                                                   
                                                                   
                                                                   
                                                                   
                                                                   
                                                                   
-------------------------------------------------------------------

About

play pong in the terminal, written in Go

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages