Skip to content

kaleabAlemayehu/pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pong

One day at night, I was watching Johnathan Blow's Video, and I heard him saying, "Stop doing web programming". 😔 we all know we do web cause we kinda have to. So, I decided the next day to make a simple thing, a "Pong" game with Raylib. So I made a one-person Pong game, and then I thought, "What good is pong if you don't play it with your friends?" So I tried to make it playable by LAN, and here it is.

Prerequisite

How to run?

Make sure you are on the same LAN ( WLAN ) as your friend. and make sure you install all the dependencies by running the following command.

go mod tidy

To host a game

Run the following

go run main.go --host

and then it will log your <SERVER_IP>

To join

run the following command by replacing <SERVER_IP> with your logged server IP. ( don't include the port )

go run main.go --join <SERVER_IP>

How to play?

You will use HJKL to move your pads. If you know Vim motion, you know what I mean. but if you need further.

             ^
             k             
       < h       l >               
             j                    
             v

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published