xBrowse-Memory, something to Relax ( UPDATE 3.1 new )

xBrowse-Memory, something to Relax ( UPDATE 3.1 new )

Postby ukoenig » Sun Sep 09, 2012 11:44 am

Hello,

A friend of mine still needed a Birthday-present for his Son.
I created a xBrowse-memory-game, because his Son likes this Game very much.
BRAINTRAINING ( not only for Kids )

The Computer-game gives more Fun than the Card-game, because of many extra Functions.
There is still some Finetuning needed, because it is a Game for Kids
and must be hard protected against Crashes.

Functions :
1. Up to 4 Players
There is a Counter for Trials and Goals.
Sample : Player 3 means to know Image-positions.
If he finds a Image-pair he gets a Goal, otherwise + 1 to the Trial-counter

2. Game-creator
change any of the 15 Images of a Game

3. Rearange Images in Preview- or Cover-mode
You can define the Rearange-preview ( Image hidden or shown )
The selected Status is saved to a INI
Hidden, without Preview is very difficult, because You don't know any Positions
after the Image-rearange.

4. Quick Game-changer from Mainscreen
There are 10 Quick-buttons, to change the Game.

Maybe You like it

The Overview :
I created 5 of 10 possible Games.

1. A Image-game

Image

The Usage :

Find a pair of equal Images. Equal cards will stay visible, unequal cards
will be covered again with the next Player-selection :

Image

2. A Brush-game

Image

3. A Button-game ( very difficult, because You have to remember Color and Symbol )

Image

4. Using Symbols

Image

5. Also very difficult

Image

The Game-creator

Image

Best Regards
Uwe :lol:
Last edited by ukoenig on Thu Dec 17, 2015 6:44 pm, edited 19 times in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: xBrowse-Memory, something to Relax

Postby richard-service » Sun Sep 09, 2012 12:46 pm

Nice job.
Best Regards,

Richard

Harbour 3.2.0dev (r2402101027) => Borland C++ v7.7 32bit
MySQL v5.7 /ADS v10
Harbour 3.2.0dev (r2011030937) => Borland C++ v7.4 64bit
User avatar
richard-service
 
Posts: 771
Joined: Tue Oct 16, 2007 8:57 am
Location: New Taipei City, Taiwan

Re: xBrowse-Memory, something to Relax

Postby hua » Mon Sep 10, 2012 6:48 am

Looks nice Uwe
FWH 11.08/FWH 19.12
BCC5.82/BCC7.3
xHarbour/Harbour
hua
 
Posts: 1047
Joined: Fri Oct 28, 2005 2:27 am

Re: xBrowse-Memory, something to Relax

Postby Eoeo » Mon Sep 10, 2012 2:08 pm

Nice job... Antonio must insert this game into package !!!
User avatar
Eoeo
 
Posts: 222
Joined: Mon Jun 04, 2012 12:00 pm

Re: xBrowse-Memory, something to Relax

Postby ukoenig » Mon Sep 10, 2012 3:02 pm

Silvio,

No Problem to include it. It is the decision of Antonio.

1. It is a nice Sample to show, how xBrowse can master different Image-situations.
2. A nice Entertainment for the Family and their Children.
I think everybody knows that Game and Rules.

Best Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: xBrowse-Memory, something to Relax

Postby ukoenig » Tue Sep 11, 2012 12:38 pm

I added some new Functions :

Full new Release 2.3 Download ( 7.3 MB )
12 created Games included
NO Updates to Install !!!

http://www.pflegeplus.com/fw_downloads/memory3.zip

Before You start, You have to HIDE the Images
( You can define the hidden-status at STARTUP, in the Config-section )
Player-mode works different. There You have to choose the next Player
to select a Image-pair.

A Training-mode allows to use just 1 Player ( all Player-buttons are hidden ).
After the 3. Image-selection,
eaqual Images ( pair ) will stay on Screen otherwise covered again.
( No Player to be selected )

also possible wrong usages are blocked with Messages.

A single Player ( training-mode)

Image

The new Config-section

Image

Best Regards
Uwe :lol:
Last edited by ukoenig on Sat Sep 22, 2012 8:38 pm, edited 5 times in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: xBrowse-Memory, something to Relax ( Download )

Postby kurowskic » Tue Sep 11, 2012 9:04 pm

Hello,

Nice job.

Please revise:
1. game icon.
2. prevent to expand the window of the game.
3. points counter.

Image

Regards from Poland
Christian T. Kurowski
kurowskic
 
Posts: 2
Joined: Mon Aug 27, 2012 5:09 pm

Re: xBrowse-Memory, something to Relax ( Download )

Postby ukoenig » Tue Sep 11, 2012 9:49 pm

Christian,
thanks for the Response.
I will have a look at this.

2. prevent to expand the window of the game.

DEFINE DIALOG oDlg1 FROM 5, 0 TO 695, 1010 TITLE "MEMORY 1.1 / 12-Sept-2012" PIXEL
oDlg1:nStyle += (WS_MINIMIZEBOX + WS_MAXIMIZEBOX)
Got it working with the Solution from Mr. Rao !!!

Sound will be included in next Release.

A little Bonus ( Game6 ) :
( something, the Kids will like )
Download :
( please move the included DBF to the Main-directory )

http://www.pflegeplus.com/fw_downloads/game6.zip

Started with first Changes :
Added a Sysmenu, stopped resizing, added Sound and a Reset-button ( Training-mode )
some more will follow.

Image

Best Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: xBrowse-Memory, something to Relax ( UPDATE )

Postby ukoenig » Mon Sep 17, 2012 1:25 pm

The Final-release ( I hope )
My first try, to create a Game.
Searching in the Internet, I found only Online-Solutions.
Also they didn't offer all the different Settings, I defined in the Setup-section.
Creating Your own Sets, Sound-define, Game-speed, Auto-player-selection, Training-mode ....

Many new Functions added :
1. Soundsupport
2. Delay-time to display selected Images
-- a Value of 1500 is normal. With Kids, a Value of 2500 will be OK ( slow )
3. System-menu added
4. Autochange of Player after the 2. selected Image
-- the activated Player changes to red
-- no Player to be clicked anymore
-- You can define the Start-player with Button-click
5. many new Game-sets added
6. New Preview-mode added
7. The reached Points calculated in %


Image

The Config-section :

Image

New Sets :
Buildings, Cars, Fantasy, Bridges

Image

Flowers and Birds

Image

Best Regards
Uwe :lol:
Last edited by ukoenig on Sat Sep 22, 2012 2:58 pm, edited 2 times in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: xBrowse-Memory, something to Relax ( UPDATE 2.2 )

Postby ukoenig » Thu Sep 20, 2012 8:19 pm

New :
Different Languages and Game-scrolling
( Maybe to include a Language file, to define any Language ? )
Preview / test-mode selected from Setup-dialog completed.
Changing a Game, breaks the Test-mode ( Training-mode is used ).

A Question :
what is the best Solution for Multilanguage-support ( see words on Bottom ) ?
Using a INI, where the user can translate the used words and saving the Fields to a Array,
or another, better Solution. I couldn't find something in the Forum.


INI-file German-translation :

[Language]
Game=Spiel
Trials=Versuche
Score=Punkte
Select=Auswahl
Player=Spieler
Training=Training
Reset=Reset
Config=Einstellung
Create=Neu
Show=Zeige
Next=Weiter
Previous=Zurück
Button=Button
There are missing=Es fehlen
Images=Bilder
Brush:=Brush
Cover=Rückseite
Card=Karte
Please:=Bitte
Hide=verberge
Preview=Vorschau
Error=Fehler
No file=Keine Datei
Attention=Achtung
Path=Pfad
TickCount=Verwilzeit
Option=Option
Visible=sichtbar
Hide=versteckt
Rearange Mode=Neuwahl
Reset=zurücksetzen
Save=speichern
Exit=Abbruch
Quit=Ende
Sound=Sound
On=An
Off=Aus
Display=Anzeige
Time=Zeit
Mode=Modus


Best Regards
Uwe :lol:
Last edited by ukoenig on Sat Sep 22, 2012 2:57 pm, edited 1 time in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: xBrowse-Memory, something to Relax ( UPDATE 2.2 )

Postby MarcoBoschi » Fri Sep 21, 2012 8:39 am

a little error here

error.log
Application
===========
Path and name: C:\memory\Memory.exe (32 bits)
Size: 2,370,048 bytes
Compiler version: xHarbour build 1.2.1 Intl. (SimpLex) (Rev. 9445)
FiveWin Version: FWHX 12.07
Windows version: 5.1, Build 2600 Service Pack 3

Time from start: 0 hours 0 mins 22 secs
Error occurred at: 09/21/12, 10:38:03
Error description: Error BASE/1004 Class: 'NIL' has no exported method: SETARRAY
Args:
[ 1] = U
[ 2] = A { ... }

Stack Calls
===========
Called from: => SETARRAY( 0 )
Called from: .\Memory.PRG => SHOW_CFG( 1564 )
Called from: .\Memory.PRG => MAIN( 100 )

System
======
CPU type: Intel(R) Pentium(R) 4 CPU 2.40GHz 2400 Mhz
Hardware memory: 992 megs

Free System resources: 90 %
GDI resources: 90 %
User resources: 90 %

Windows total applications running: 16
1 , C:\Programmi\3Com\3Com Wireless USB Utility\Wlan.exe
2 , C:\Programmi\Gadwin Systems\PrintScreen\PrintScreen.exe
3 , C:\Programmi\Messenger\msmsgs.exe
4 , C:\WINDOWS\Explorer.EXE
5 , C:\WINDOWS\system32\mstsc.exe
6 AvgTrayMainWnd, C:\Programmi\AVG\AVG2012\avgtray.exe
7 BluetoothNotificationAreaIconWindowClass, C:\WINDOWS\system32\rundll32.exe
8 Easy Start Button Definition, C:\WINDOWS\system32\ESB.exe
9 HSP56 SpkPhone, C:\WINDOWS\system32\pctspk.exe
10 Image-Error, C:\memory\Memory.exe
11 TF_FloatingLangBar_WndTitle, C:\WINDOWS\system32\ctfmon.exe
12 TouchPad object helper window, C:\Programmi\Synaptics\SynTP\SynTPEnh.exe
13 Touchpad driver helper window, C:\Programmi\Synaptics\SynTP\SynTPLpr.exe
14 UpdaterService, C:\Programmi\Ask.com\Updater\Updater.exe
15 khooker, C:\WINDOWS\system32\khooker.exe
16 test2, C:\WINDOWS\htpatch.exe

Variables in use
================
Procedure Type Value
==========================
SETARRAY
Param 1: A Len: 5
Local 1: A Len: 1
Local 2: U
Local 3: U
SHOW_CFG
Local 1: O Class: TDIALOG
Local 2: O Class: TBRUSH
Local 3: A Len: 21
Local 4: U
Local 5: N 1
Local 6: U
Local 7: U
Local 8: U
Local 9: U
Local 10: U
Local 11: U
Local 12: N 1
Local 13: N 1
Local 14: U
Local 15: L .F.
Local 16: A Len: 17
Local 17: A Len: 29
Local 18: O Class: TXBROWSE
Local 19: L .F.
Local 20: O Class: TSELEX
Local 21: O Class: TSELEX
Local 22: N 1
Local 23: A Len: 4
Local 24: N 2
MAIN
Local 1: U
Local 2: U
Local 3: U
Local 4: U
Local 5: L .F.
Local 6: A Len: 0
Local 7: U
Local 8: U
Local 9: U
Local 10: U
Local 11: U
Local 12: U
Local 13: U
Local 14: U
Local 15: U
Local 16: U
Local 17: U
Local 18: A Len: 40
Local 19: O Class: TIMAGE

Linked RDDs
===========
DBF
DBFFPT
DBFBLOB
DBFCDX
DBFNTX

DataBases in use
================

1: => GAMES RddName: DBFNTX
==============================
RecNo RecCount BOF EOF
2 11 .F. .F.

Indexes in use TagName

Relations in use

Classes in use:
===============
1 ERROR
2 HASHENTRY
3 HBCLASS
4 HBOBJECT
5 TINI
6 TBRUSH
7 TWINDOW
8 TCONTROL
9 TBITMAP
10 TIMAGE
11 TFONT
12 TDIALOG
13 TSAY
14 TBTNBMP
15 TXBROWSE
16 TXBRWCOLUMN
17 TSELEX
18 TSCROLLBAR
19 TRECT
20 TREG32

Memory Analysis
===============
274 Static variables

Dynamic memory consume:
Actual Value: 0 bytes
Highest Value: 0 bytes

User avatar
MarcoBoschi
 
Posts: 1018
Joined: Thu Nov 17, 2005 11:08 am
Location: Padova - Italy

Re: xBrowse-Memory, something to Relax ( UPDATE 2.2 )

Postby ukoenig » Sat Sep 22, 2012 8:35 pm

Marco,

Thank You very much for the Response

some fixes with new Multilanguage-suport
Language.ini ( English )
German.ini ( German )

A INI-sample :

[Language]
_Game=Spiel
_Trials=Versuche
_Scores=Punkte
_Select=Auswahl
_Player=Spieler
_Training=Training

Button-text can have a included Accelerator &

Now You can rearange the Images in covered mode.
this is the hardest and the chance will be equal for all Players
because there is no Information of any Image-Positions.

Download ( Update 2.3 ) 1.3 MB :

http://www.pflegeplus.com/fw_downloads/MemUpd2.zip

Full Version 2.3 is updated as well !!!

Download ( 7.3 MB ) :

http://www.pflegeplus.com/fw_downloads/memory3.zip

Image

Best Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: xBrowse-Memory, something to Relax ( UPDATE 2.3 )

Postby ukoenig » Sun Nov 04, 2012 11:24 pm

Hello,

here are some Game-extensions.

Download :
( only EXE and modified Game.dbf updated )
Games.dbf includes a new field TITLE, to define a game.
Just replace these files in Your old installed version.
Because of the new browser-selection, You can create Your own games as many You like.
Create a set of family-photos or any other favorite Images.
Some more ideas and improvements are welcome.
I will create some nice backgrounds, to change the overall optic.

http://www.pflegeplus.com/fw_downloads/Memory4.zip

Whats new :

1. select a game from a Browser

Image

2. Add Titles
3. Add / delete Games to the browser

Adding a new Game :
a) Create a subdirectory and include the images
b) Add the game with + to the browser
c) define the 15 Images, brush and cover.
be shure it is complete ( 15 selected cards, background and cover )
before using the < save-button > !!!

Using - delete, only deletes a game from the browser, nothing from harddisk

Image

Best Regards
Uwe :)
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: xBrowse-Memory, something to Relax ( UPDATE 2.5 )

Postby ukoenig » Wed Nov 14, 2012 10:56 am

New Functions added :

1. changed MARQUESTYLE to 0,to show the brush of a focused cell with a transparent image
2. Skinpainter added. Now You can create / define Your own backgrounds,
3. With the new xBrowse-Gameselector, You can add as many of Your own Game-creations You like.
4. A new LANGUAGE.INI structure added. Now Buttons with Accelerators are defined.
5. A little bug found, saving the Tickcounter. The Delay-time can be selected from a Slider-option


Downloads splitted in 3 Sections. Only updated parts needed to download

The used Directory-structure :

Main-directory
---- System
---- Game 1
---- Game 2
...
...


Downloads :

1. System

http://www.pflegeplus.com/fw_downloads/MemoryS1.zip

2. System-Media-files

http://www.pflegeplus.com/fw_downloads/MemoryM1.zip

3. Games

http://www.pflegeplus.com/fw_downloads/MemoryU1.zip

Changing the background :

1. Select SETUP

Image

2. select the NEW added button < Background >

Image

The Skinpainter
define any background You like : Color, Gradient, Brush or Image
3 different fontcolors added : Buttons and text, Scores and Trials
some new background-images added.

Image

Maybe some more Languages ?
In section < Button > You can add a Accelerator !!!
The language-file must be renamed to LANGUAGE.INI

The GERMAN-translation :
[Text]
_Game=Spiel
_Trials=Versuche
_Scores=Punkte
_Select=Auswahl
_Player=Spieler
_Training=Training
_Reset=z&urück
_Config=Ein&stellung
_Create=&Neu
_Show=&Zeige
_Next=Weiter
_Previous=Zurück
_Button=Button
_There are missing=Es fehlen
_Images=Bilder
_Brush=Brush
_Cover=Rückseite
_Card=Karte
_Please=Bitte
_Hide=&verberge
_Preview=Vorschau
_Error=Fehler
_No file=Keine Datei
_Attention=Achtung
_Path=Pfad
_TickCount=Verweilzeit
_Option=Option
_Visible=sichtbar
_Rearange Mode=Neuwahl
_Save=speichern
_Exit=&Abbruch
_Quit=&Ende
_Sound=Sound
_On=An
_Off=Aus
_Display=Anzeige
_Time=Zeit
_Mode=Modus
_Background=Hindergrund
_Cardback=Kartenrückseite
_Text=Text
_Color=Farbe
_Skin=Skin
_Gradient=Gradient
_Position=Position
_Direction=Richtung
_Horizontal=Horizontal
_Vertical=Vertikal
_Reserve 1=Reserve 1
_Reserve 2=Reserve 2

[Button]
_Config=&Config
_Hide=&Verstecke
_Create=&Erzeuge
_Show=&Zeige
_Save=&Speichern
_Brush=&Brush
_Image=&Bild
_Cover=&Cover
_Color=&Farbe
_Text-color=Text-Farbe
_Reset=&Reset
_Backgrd=&Hintergrd.
_Exit=&Abbruch
_Quit=En&de


Maybe a little Christmas-present for Your kids, using Family-photos as a game ?

Best Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: xBrowse-Memory, something to Relax ( UPDATE 3.1 new )

Postby ukoenig » Thu Dec 17, 2015 6:25 pm

Update Release 3.1 with some new options, recompiled

I noticed 2409 views, it seems to be interesting.

Trainer-modus with a saved HIGHSCORE
Added a xBrowse-border / frame.
The best is 15 ( 15 pairs a point on each try )
My best was 32 I reached for the moment.
You can add Your own games from inside the config-section ( used image-size 120 x 120 pixel )

A good brain-training !!!

Some new Game-styles added just select one of the 14 predefined games

Change from TRAINER-mode to 1, 2, 3 or 4 players
Just remember with LANGUAGE.ini, You can change / define the language

More ideas are welcome !!!

DOWNLOAD : http://www.pflegeplus.com/DOWNLOADS/Memory7.zip

Image

Image

best regards
Uwe :)
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: SantaCroya and 29 guests