Skip to content
This repository has been archived by the owner on Sep 14, 2020. It is now read-only.
/ pnong Public archive

A really crappy, but networked, pong game demonstrating userial and usocket

Notifications You must be signed in to change notification settings

fisxoj/pnong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pnong

Pnong is a simple pong-clone that demonstrates usocket and userial. It's not too clever, but those libraries lack some good examples so I hope this helps in that sense.

Running the game

This runs the server:

(pnong:main)

Then, in another lisp instance, start the client:

(pnong::main nil usocket:*wildcard-host*)

Make sure to start them in that order.

What's happening?

The server sends batch updates to the client saying where everything is. The client sends delta updates to the server saying where its paddle is. The ball probably will slide off the screen because I didn't really care about the boundary conditions.

Enjoy!

About

A really crappy, but networked, pong game demonstrating userial and usocket

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published