packages feed

ansi-terminal-game 1.9.1.1 → 1.9.1.2

raw patch · 4 files changed

+15/−9 lines, 4 filesdep ~ansi-terminaldep ~hspecPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: ansi-terminal, hspec

API changes (from Hackage documentation)

Files

NEWS view
@@ -1,3 +1,11 @@+1.9.1.2+-------++- Bump ansi-terminal, fix hspec bounds.+- Minor documentation fixes.+- Released dom 14 mag 2023, 12:13:07.++ 1.9.1.1 ------- 
README view
@@ -21,7 +21,7 @@ - run the basic example with `cabal new-run -f examples alone`; - check the source in `examples/Alone.hs`; - open the 'Terminal.Game' haddock documentation (start reading from-  `Data.Game`).+  `data Game`).  A full game can be found at: 
ansi-terminal-game.cabal view
@@ -1,5 +1,5 @@ name:                ansi-terminal-game-version:             1.9.1.1+version:             1.9.1.2 synopsis:            cross-platform library for terminal games description:         Library which aims to replicate standard 2d game                      functions (blit, ticks, timers, etc.) in a terminal@@ -53,7 +53,7 @@                        Terminal.Game.Random,                        Terminal.Game.Timer   build-depends:       base == 4.*,-                       ansi-terminal == 0.11.*,+                       ansi-terminal >= 0.11 && < 1.1,                        array == 0.5.*,                        bytestring >= 0.10 && < 0.12,                        cereal == 0.5.*,@@ -107,7 +107,7 @@                        Terminal.Game.Random,                        Terminal.Game.RandomSpec   build-depends:       base == 4.*,-                       ansi-terminal == 0.11.*,+                       ansi-terminal >= 0.11 && < 1.1,                        array == 0.5.*,                        bytestring >= 0.10 && < 0.12,                        cereal == 0.5.*,@@ -125,7 +125,7 @@                        timers-tick > 0.5 && < 0.6,                        colour >= 2.3.6 && < 2.4                        -- the above plus hspec-                       , hspec+                       , hspec >= 2.10.1 && < 2.11   build-tool-depends:  hspec-discover:hspec-discover   type:                exitcode-stdio-1.0   ghc-options:         -Wall
example/Balls.hs view
@@ -13,14 +13,12 @@    There are three things I will showcase in this example:     1. ** How you can display current FPS. **-      This is done using `Game` to create your game rather than-      `simpleGame`. `Game` is a bit more complex but you gain-      additional infos to manipulate/blit, like FPS.+      This is done using information passed via `GEnv` (eFPS).     2. ** How your game can gracefully handle screen resize. **       Notice how if you resize the terminal, balls will still       fill the entire screen. This is again possible using `Game`-      and the information passed via GameEnv (in this case, terminal+      and the information passed via GEnv (in this case, terminal       dimensions).     3. ** That — while FPS can change  — game speed does not. **