boring-game-0.1.0.1: An educational game

Copyright(c) Truong Dung 2017
LicenseGPL-3
Maintainercheckraiser11@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Animation

Description

 

Synopsis

Documentation

moveBall Source #

Arguments

:: Float

The number of seconds since last update

-> PongGame

The initial game state

-> PongGame

A new game state with an updated ball position

Update the ball position using its current velocity.