Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Yet another Pong clone written in Haskell using SDL.
Haskell
branch: master
Failed to load latest commit information.
data last git repository got currupted thanks to eclipse, recreating YACPo…
Collision.hs last git repository got currupted thanks to eclipse, recreating YACPo…
Consts.hs Finished first version of YACPong, made hackage dist package.
Draw.hs Finished first version of YACPong, made hackage dist package.
GameEnv.hs refactored code into seperate modules, added new leksah project.
GameState.hs Finished first version of YACPong, made hackage dist package.
LICENSE Finished first version of YACPong, made hackage dist package.
Labels.hs last git repository got currupted thanks to eclipse, recreating YACPo…
README Finished first version of YACPong, made hackage dist package.
Setup.hs last git repository got currupted thanks to eclipse, recreating YACPo…
Sound.hs refactored, added support to exit via escape key, better paddle direc…
Surface.hs last git repository got currupted thanks to eclipse, recreating YACPo…
Timer.hs last git repository got currupted thanks to eclipse, recreating YACPo…
Vector2.hs last git repository got currupted thanks to eclipse, recreating YACPo…
YACPong.cabal Added github link to cabal file homepage entry.
YACPong.hs Finished first version of YACPong, made hackage dist package.
YACPong.lkshs Added github link to cabal file homepage entry.
YACPong.lkshw refactored code into seperate modules, added new leksah project.

README

YACPong.
======
Author: Korcan Hussein

Install
-------

cabal configure
cabal build
cabal install

Or:

runhaskell Setup.hs configure --user
runhaskell Setup.hs build
runhaskell Setup.hs install

Keys
-------

W/S      - to move the paddle up/down
P          - Pauses the game. 
ESCAPE - exit the game. 

Known Issues.
-----------------

In this version collision with the side of the paddle is detected but there is no proper response so sometimes the ball can not continue moving.
Something went wrong with that request. Please try again.