- 02 Jan, 2014 1 commit
-
-
Duncan White authored
-
- 19 Dec, 2013 1 commit
-
-
Duncan White authored
integrated Pieces functions into Board, independently spotted and fixed one bug in testmove where target 'o' changed to '*' a while back, there was one 'o' left unchanged
-
- 18 Dec, 2013 20 commits
-
-
Duncan White authored
-
Duncan White authored
Gui: split FONTFAM into two font families MAINFFAM and GRIDFFAM, added $gridfont; g.s: set GRIDFFAM to a nice fixed width font family (dejavu sans mono)
-
Duncan White authored
-
Duncan White authored
-
Duncan White authored
-
Duncan White authored
-
Duncan White authored
split out ansi colour codes from Piece into new AnsiColour; added backgrounds too, and find() function, used it in Board and Piece; in Piece->as_string, added optional fg and bg colour override and got that working..
-
Duncan White authored
-
Duncan White authored
-
Duncan White authored
-
Duncan White authored
-
Duncan White authored
-
Duncan White authored
-
Duncan White authored
minor changes: removed unused gamestate{RESULT} and {PREVBOARD}, used (x,y) tuple assignments in 3 functions for clarity
-
Duncan White authored
-
Duncan White authored
-
Duncan White authored
renamed pushUnicode/popUnicode (and underlying stack) to pushFancy/popFancy cos it enables Unicode and **COLOUR** together
-
Duncan White authored
-
Duncan White authored
-
Duncan White authored
-
- 17 Dec, 2013 18 commits
-
-
Duncan White authored
centralised all esc-code knowledge in Piece.. Board uses Piece::black and Piece::whitebg (new in Piece, was in Board) now
-
Duncan White authored
ok, changed Piece's %unicode and %piece2colour from my our, removed 2nd copy from graphicalsnowman, accessed %Piece::unicode and ..piece2colour.. saved approx 40 lines
-
Duncan White authored
initial work to extract common piece2colour and unicode hashes from Piece.pm and graphicalsnowman.. made both identical in both files..
-
Duncan White authored
-
Duncan White authored
hmm.. need utf8 now to enable the ansi corner and side codes, after switching to \N unicode char names in Piece.pm.. not quite sure why
-
Duncan White authored
-
Duncan White authored
-
Duncan White authored
preparatory changes (splitting out colours and unicode sequences) before realising that Piece.pm and graphicalsnowman have common (colour and unicode) lookup tables..
-
Duncan White authored
-
Duncan White authored
-
Duncan White authored
split out the colour path logic (redid as a nice class) and modified graphical snowman; will use the colour path stuff in snowman soon..
-
Duncan White authored
-
Duncan White authored
-
Duncan White authored
-
Duncan White authored
-
Duncan White authored
-
Duncan White authored
-
Duncan White authored
-