GeBoP 1.7.3 → 1.7.4
raw patch · 6 files changed
+36/−19 lines, 6 filesdep ~arraydep ~basedep ~wx
Dependency ranges changed: array, base, wx, wxcore
Files
- GUI.hs +9/−3
- GeBoP.cabal +6/−6
- Hex.hs +1/−1
- Nim.hs +1/−1
- changelog.txt +9/−2
- readme.txt +10/−6
GUI.hs view
@@ -7,14 +7,20 @@ module GUI (gui, version) where import Game -- hiding (name)-import Graphics.UI.WX hiding (bitmap, children, click, selections, stop)-import Graphics.UI.WXCore+import Graphics.UI.WX hiding (bitmap, children, click, next, selections, stop)+import Graphics.UI.WXCore hiding (win) import Data.Char import Tools hiding (field) import Data.List +import Data.Version (versionBranch) +import qualified Paths_GeBoP as Paths -- (version) + + version :: String-version = "1.7.3" +version = a ++ "." ++ b ++ "." ++ c + where + (a : b : c : _) = map show $ versionBranch Paths.version ++ repeat 0 gui :: [GeneralGame] -> IO ()
GeBoP.cabal view
@@ -3,7 +3,7 @@ Description: The games: Ataxx, Bamp, Halma, Hez, Kram, Nim, Reversi, TicTacToe, and Zenix Homepage: http://www.haskell.org/haskellwiki/GeBoP-Version: 1.7.3+Version: 1.7.4 License: BSD3 License-file: LICENSE.txt Author: Maarten Löffler@@ -12,7 +12,7 @@ Cabal-Version: >= 1.2 Build-type: Simple Category: Game-Tested-with: GHC == 7.4.1, GHC == 7.4.2, GHC == 7.6.3+Tested-with: GHC == 7.6.3, GHC == 7.8.3 Extra-Source-Files: changelog.txt readme.txt,@@ -110,12 +110,12 @@ Executable gebop Build-Depends:- array >= 0.4 && < 0.5,- base >= 4.5 && < 4.7, + array >= 0.4 && < 0.6,+ base >= 4.5 && < 4.8, directory >= 1.1 && < 1.3, random >= 1.0 && < 1.1,- wx >= 0.11 && < 0.91,- wxcore >= 0.11 && < 0.91+ wx >= 0.11,+ wxcore >= 0.11 Main-Is: Main.hs GHC-Options: -Wall -optc-static-libgcc
Hex.hs view
@@ -12,7 +12,7 @@ import Game import Data.Array import Graphics.UI.WX hiding (border, point)-import Graphics.UI.WXCore hiding (point)+import Graphics.UI.WXCore hiding (point, win) import Tools data Hex = Hex (Array (Int, Int) (Maybe Player)) deriving (Eq, Show)
Nim.hs view
@@ -6,7 +6,7 @@ module Nim (Nim, nim) where import Game-import Graphics.UI.WX+import Graphics.UI.WX hiding (prev) -- import Graphics.UI.WXCore import Tools
changelog.txt view
@@ -1,4 +1,11 @@ +2014-08-13++Version 1.7.4+ - The version info is read from the .cabal file.+ - Removed upper limits for wx and wxcore version++ 2013-09-20 Version 1.7.3@@ -6,8 +13,8 @@ wxHaskell 0.90.1.0. Amongst others, hierarchical module system introduced. GUI.hs: staticBitmapCreate has now 0x00200000 (== wxBORDER_NONE) as style, as wxWidgets does not accept -1 as style- anymore. The clientsize of the ¨move now¨ button is not set anymore,- so the text fits. TicTacToe now repainted on resize+ anymore. The clientsize of the "move now" button is not set anymore,+ so the text fits. TicTacToe now repaints on resize 2010-10-20
readme.txt view
@@ -1,10 +1,10 @@------------------------+----------------------- -- GeBoP version 1.7 -- ----------------------- This is the readme.txt file that comes with the source code of GeBoP, version 1.7. This source consists of the following files: -* 15 Haskell source code files+* 16 Haskell source code files * 2 Icon files * This readme file * 52 Bitmap images in a directory called 'images'@@ -17,7 +17,7 @@ * Game GeBoP works with a class Game, which is defined in the module Game. This class describes the general properties a boardgame should have. The Game module also includes the concept of a game tree, and a general algorithm to traverse this tree in order to find sensible moves. -* Ataxx, Bamp, Halma, Hez, Kram, Nim, Reversi, TicTacToe, and Zenix+* Ataxx, Bamp, Halma, Hex, Kram, Nim, Reversi, TicTacToe, and Zenix These are the implemented games. Each of these modules contains an instance of the Game class. * GUI@@ -35,6 +35,10 @@ * Main Main just imports the games and starts the GUI. +* Setup+The program used by cabal-install to install GeBoP++ -------------------------- -- state of the program -- --------------------------@@ -47,9 +51,9 @@ -- me -- -------- -My name is Maarten Löffler. I am currently a student at Utrecht University. +My name is Maarten Löffler. I am currently a researcher at Utrecht University. I wrote GeBoP in my free time, because I like games and I like Haskell. When wxHaskell came to be, it became even more fun because of the nice graphical effects :) -website at www.students.cs.uu.nl/people/mloffler-email at mloffler@cs.uu.nl+website at http://www.staff.science.uu.nl/~loffl001+email at m.loffler<at>uu.nl