Bug 129791 - blocks and squares modes
Summary: blocks and squares modes
Status: CONFIRMED
Alias: None
Product: klines
Classification: Applications
Component: general (show other bugs)
Version: 1.1
Platform: unspecified FreeBSD
: NOR wishlist
Target Milestone: ---
Assignee: Dmitry Suzdalev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-25 16:19 UTC by Kyryll A Mirnenko aka Mirya
Modified: 2020-01-08 12:55 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Patch to this and some more improvements (19.22 KB, patch)
2011-06-21 20:25 UTC, Tautvydas Andrikys
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kyryll A Mirnenko aka Mirya 2006-06-25 16:19:49 UTC
Version:           1.1 (using KDE 3.5.3, compiled sources)
Compiler:          gcc version 3.4.4 [FreeBSD] 20050518
OS:                FreeBSD (i386) release 6.1-RELEASE-p1

in one of lines game clones "lines98" (long time ago i saw it in win98 box) there were 2 additional balls removing modes implemented (klines has only one: remove when >=5 in line):

- remove when same-color balls form a connected block (two balls are connected if have common vertial/horizontal cell side) - 7 balls in block AFAIR
- remove when same-color balls form a square (or maybe rectangle)

would be nice to have such features in klines too
Comment 1 Tautvydas Andrikys 2011-06-21 20:25:59 UTC
Created attachment 61218 [details]
Patch to this and some more improvements

I have added theese improvements with this patch:
+ New game mode where lines might be not straight, game mode is enabled in settings dialog of the game
+ Game animation speed setting in settings dialog
+ End game(in Game menu)
+ Fixed KScoreDialog deprecation warning
Comment 2 Christoph Feck 2011-07-21 12:09:39 UTC
Thanks for the patch, Tautvydas!

It looks fine, but I only checked quickly. I suggest to create a review request for group "kdegames" at https://svn.reviewboard.kde.org/
Comment 3 Laurent Montel 2020-01-08 12:55:48 UTC
Git commit 182f73187c681d069cab33c260c820a8d0af8296 by Laurent Montel.
Committed on 08/01/2020 at 12:36.
Pushed by mlaurent into branch 'master'.

Add endgame support.

Patch from Kyryll A Mirnenko aka Mirya (2011)

M  +1    -0    klines.cpp
M  +6    -0    scene.cpp
M  +4    -0    scene.h

https://commits.kde.org/klines/182f73187c681d069cab33c260c820a8d0af8296