Skip to content

Pong written in Rust... ❤️ rust is super duper

Notifications You must be signed in to change notification settings

will-clarke/Pong

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pong https://travis-ci.org/will-clarke/pong.svg?branch=master

./pong-screenshot.png

Features:

  • Hours of endless gameplay
  • Top notch ASCII graphics
  • Unbeatably intelligent AI (wall will always return the ball)
  • All embedded in a real terminal!!1!

To install

  • Install rust and cargo (curl -sSf https://static.rust-lang.org/rustup.sh | sh)

cargo run

Dev TODO list:

Idea: use a second thread to detect input. That way, were don’t have to worry about hacking nurses to be non blocking.

Todo:

  • fix travis ¯\_(ツ)_/¯
  • separate thread for input
  • GUI
    • Add sdl or something.. make this properly graphical.
  • ? random blocks you can shoot or something ?
  • refactor - proper I/O
  • make proper binary
  • Add persistance for high scores
  • improve key-press cycle (include toggle)

Would be nice

  • benchmark different intersection algorithms to find the most efficient
  • play l_paddle automatically
  • menu

About

Pong written in Rust... ❤️ rust is super duper

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages