TicTacToe From Hell Plasmoid

Plasma 4 Widgets

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
5.0
Description:

A plasmoid for KDE4 featuring the TicTacToe game with animated graphics simulating hand drawing and many game variants.
Obviously there is also a 4 levels AI.
Last changelog:

9 years ago

3.2 - Now considering all diagonals for winning
3.2 - Quick game rules(grid+win sizes) setup from new session interface and game area
3.2 - Several AI improvements on bigger grids with every winning size
3.2 - Corrected winning sign geometry
3.2 - Max grid size up to 9x9
3.2 - Optimizations for animation speed
3.2 - Match's logic introduction
3.2 - Who plays displayed during match(in status bar)

3.1.1 Corrected an AI bug on 3x3 grid

rangerGR

9 years ago

Quote:[ 85%] Building CXX object CMakeFiles/plasma_applet_tttfh.dir/sessiondialog.o
[100%] Building CXX object CMakeFiles/plasma_applet_tttfh.dir/qrc_Icons.o
/media/Share/Share/arch-local/amd64/custom/list/kde4-eyecandy/plasmoids/kdeplasma-addons-applets-tictactoefromhell/src/tttfh-3.2-plasmoid-sources/tttfh.cpp: In member function ‘virtual void tttfh::paintInterface(QPainter*, const QStyleOptionGraphicsItem*, const QRect&)’:
/media/Share/Share/arch-local/amd64/custom/list/kde4-eyecandy/plasmoids/kdeplasma-addons-applets-tictactoefromhell/src/tttfh-3.2-plasmoid-sources/tttfh.cpp:220:20: error: cast from ‘QPainter*’ to ‘int’ loses precision
/media/Share/Share/arch-local/amd64/custom/list/kde4-eyecandy/plasmoids/kdeplasma-addons-applets-tictactoefromhell/src/tttfh-3.2-plasmoid-sources/tttfh.cpp: At global scope:
/media/Share/Share/arch-local/amd64/custom/list/kde4-eyecandy/plasmoids/kdeplasma-addons-applets-tictactoefromhell/src/tttfh-3.2-plasmoid-sources/tttfh.cpp:197:6: warning: unused parameter ‘option’
make[2]: *** [CMakeFiles/plasma_applet_tttfh.dir/tttfh.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/plasma_applet_tttfh.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: Build Failed.
Aborting...



any ideas?

Report

C

simone6192

9 years ago

Ok, that is a 64bit compilation issue only. For that reason the PKGBUILD has i686 arch only.
In new version(3.3) it will be running also on x86_64.
However you can try the 32bit precompiled version but there is only a debian/ubuntu .deb. At last you can checkout the SVN repo at sourceforge and compile it by yourself.
Bye.

Report

rangerGR

9 years ago

I see.
I will make a svn PKGBUILD then.
Thanks.

Report

dereine

9 years ago

you can always win if you start and set the following fields(on every level of the ai)

1 5 2 8/3

Report

C

simone6192

9 years ago

Ok, with release 3.1.1, that bug should be fixed.

P.S.: In the next release (3.2) the AI will be improved for grids with winning sizes smaller than grid (for example 7x7 with winning size of 5).
Let me know what you think!

Report

C

simone6192

9 years ago

Sorry for the bug, i'll fix it soon.
Thanks!

Report

9 years ago

3.2 - Now considering all diagonals for winning
3.2 - Quick game rules(grid+win sizes) setup from new session interface and game area
3.2 - Several AI improvements on bigger grids with every winning size
3.2 - Corrected winning sign geometry
3.2 - Max grid size up to 9x9
3.2 - Optimizations for animation speed
3.2 - Match's logic introduction
3.2 - Who plays displayed during match(in status bar)

3.1.1 Corrected an AI bug on 3x3 grid

12345678910
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
3.2
updated May 06 2010
added Apr 29 2010
downloads today
0
page views today 1