Page 1 of 2

~ CalmoSoft Fifteen Puzzle Game ~

Posted: 17 Oct 2006 6:02
by CalmoSoft
Here is a 15-Puzzle Game program I wrote in Visual Prolog 6.1 two years ago.
The program uses scrollbars, it is possible save, open and replay the game.
To run it in Visual Prolog 7.0 delete from VDE :
vip7edit.lib
vip7vpi.lib.

CalmoSoft Fifteen Puzzle Game - video

Image

Greetings,
Gal Zsolt
CalmoSoft

~ CalmoSoft Fifteen Puzzle Game ~

Posted: 2 May 2007 20:19
by CalmoSoft
CalmoSoft Fifteen Puzzle Game in Visual Prolog 7.0

CalmoSoft Fifteen Puzzle Game - video

Greetings,
Gal Zsolt
CalmoSoft

~ CalmoSoft Fifteen Puzzle Game ~

Posted: 25 Jul 2007 9:27
by CalmoSoft
CalmoSoft Fifteen Puzzle Game in Visual Prolog 7.1

CalmoSoft Fifteen Puzzle Game - video

Greetings,
Gal Zsolt
CalmoSoft

~ CalmoSoft Fifteen Puzzle Game ~

Posted: 14 Aug 2007 18:06
by CalmoSoft

~ CalmoSoft Fifteen Puzzle Game ~

Posted: 27 Mar 2014 15:25
by CalmoSoft
CalmoSoft Fifteen Puzzle Game in Visual Prolog 7.4

If you have Visual Prolog Personal Edition please copy the attached "vpiOldDomains" to "pfc\vpi\vpiOldDomains".

CalmoSoft Fifteen Puzzle Game - video

Greetings,
Gal Zsolt
CalmoSoft

~ CalmoSoft Fifteen Puzzle Game ~

Posted: 27 Jul 2014 15:32
by CalmoSoft
CalmoSoft Fifteen Puzzle Game in Visual Prolog 7.5

If you have Visual Prolog Personal Edition please copy the attached "vpiOldDomains" to "pfc\vpi\vpiOldDomains".

CalmoSoft Fifteen Puzzle Game - video

Greetings,
Gal Zsolt
CalmoSoft

~ CalmoSoft Fifteen Puzzle Game ~

Posted: 11 Aug 2017 8:04
by CalmoSoft
Here is the CalmoSoft Fifteen Puzzle Game in Visual Prolog 8.0

If you have Visual Prolog Personal Edition please copy the attached "vpiOldDomains" to "pfc\vpi\vpiOldDomains".

Please Rebuild All.

CalmoSoft Fifteen Puzzle Game - video

Greetings,
Gal Zsolt
CalmoSoft

~ CalmoSoft Fifteen Puzzle Game ~

Posted: 17 Feb 2019 19:00
by CalmoSoft
Hello,

I want update my CalmoSoft Fifteen Puzzle Game to VIP 8.0
I have a question.
What change the next code for:
predicates
onDestroy : vpiOldDomains::destroyHandler.
clauses
onDestroy() = vpiOldDomains::defaultHandling() :-
thisWin := erroneous.
Greetings,
Gal Zsolt
CalmoSoft

Re: ~ CalmoSoft Fifteen Puzzle Game ~

Posted: 17 Feb 2019 21:07
by Thomas Linder Puls
Your program seems to work in Vip8 with very few changes, and the mentioned code does not need to be changed. So I assume that you are doing a more fundamental update to the newer gui structure. In that structure you don't have a thisWin fact, and your destroy handler will therefore not do anything at all. Subsequently, it is more natural not to have a destroy handler at all.

If you are updating it more radically, I think you should update it to be an SDI application.

~ CalmoSoft Fifteen Puzzle Game ~

Posted: 20 Feb 2019 9:42
by CalmoSoft
Hello Thomas,

Thanks for your useful help and suggestions.

Greetings,
Gal Zsolt
CalmoSoft

~ CalmoSoft Fifteen Puzzle Game ~

Posted: 14 Mar 2019 14:43
by CalmoSoft
Hello Thomas et All,

Here is the CalmoSoft Fifteen Puzzle Game in Visual Prolog 9.0 CE (Commercial Edition)

CalmoSoft Fifteen Puzzle Game - video

Greetings,
Gal Zsolt
CalmoSoft

~ CalmoSoft Fifteen Puzzle Game ~

Posted: 8 Nov 2019 8:01
by CalmoSoft
Hello Thomas,

I need your help.
I want to update code to the newer gui structure.

I have the next code:

Code: Select all

predicates      onDestroy : vpiOldDomains::destroyHandler. clauses      onDestroy() = vpiOldDomains::defaultHandling() :-      thisWin := erroneous.
I get the next error message:
PlayWindow\playDialog.pro(29,21)
error c218 : Unknown class/interface 'vpiOldDomains' in pack 'PlayWindow\PlayWindow.pack'
What to do?

Greetings,
Gal Zsolt
CalmoSoft

Re: ~ CalmoSoft Fifteen Puzzle Game ~

Posted: 8 Nov 2019 9:21
by Thomas Linder Puls
The Personal Edition doesn't contain vpiOldDomains.

When I compile the project with the Commercial Edition I don't get any errors.

Notice that when upgrading to the newer gui structure you will not need vpiOldDomains.

~ CalmoSoft Fifteen Puzzle Game ~

Posted: 8 Nov 2019 9:45
by CalmoSoft
Hello Thomas,

Thanks for your help and informations.

Greetings,
Gal Zsolt
CalmoSoft

Re: ~ CalmoSoft Fifteen Puzzle Game ~

Posted: 8 Nov 2019 14:08
by Thomas Linder Puls
Notice that you already knew it (see a couple of mails above :-)).