HP Forums

Full Version: 4 games for the PRIME
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
http://my.tbaytel.net/tgallo/hp%20prime/

Mastermind
[Image: mastermind.jpg]

Minesweeper
[Image: minesweeper.jpg]

Hangman
[Image: hangman.jpg]

Simon
[Image: simon.jpg]
just put up HANGMAN v2.0....now with 10K word dictionary for one player option
(12-30-2013 06:39 AM)tgallo Wrote: [ -> ]just put up HANGMAN v2.0....now with 10K word dictionary for one player option

+1 Smile

PD: Your could create a similar diccionar, with Spanish words?

Thank you!
(12-30-2013 04:18 PM)ArielPalazzesi Wrote: [ -> ]+1 Smile

PD: Your could create a similar diccionar, with Spanish words?

Thank you!

you could edit the code yourself

The hard part is find a clean list of words. I actually spent time cleaning up my list (removing proper names, removing words with "." or "-".

If you gave me a text file of Spanish words, I would gladly do it for you.
I would have to replace letters that have accents (AQUÍ would become AQUI)
Nice, I will adapt it for french users.
(12-31-2013 04:41 AM)tgallo Wrote: [ -> ]If you gave me a text file of Spanish words, I would gladly do it for you.
I would have to replace letters that have accents (AQUÍ would become AQUI)

Genial!
On January 2nd I send the word list. I think I have done something similar. Thank you very much!
Greetings!
(12-31-2013 12:37 PM)Mic Wrote: [ -> ]Nice, I will adapt it for french users.

nice...just edit the ChooseWord() function. Replace the wordlist with yours. Just make sure it is double quoted and comma separated. At the very end change the one line:

return wordlist(RANDINT(1,10000));

replace 10000 by the number of words in your list. Just be aware 10000 is the biggest a list can be.
ARC_P command doesn't work like on the emulator (angle measures issue). Thus, portions of the disk are very small on the real calculator with Simon.
(01-12-2014 08:47 AM)Mic Wrote: [ -> ]ARC_P command doesn't work like on the emulator (angle measures issue). Thus, portions of the disk are very small on the real calculator with Simon.

please clairify?
The issue is that the game requires Radian mode to be on, so before playing, if you are in Degree mode you must manually change your calculator settings to Radian.
ah yes...forgot about that

it actually does worm on the emulator..I develop all my games on using the emulator

but yes radians is required

I meant to include that in the instructions....but I forgot

would be cool if you could determine what mode the calc is in programmatically

will likely update using grob or icon in the future
(01-12-2014 06:39 PM)tgallo Wrote: [ -> ]ah yes...forgot about that

would be cool if you could determine what mode the calc is in programmatically

will likely update using grob or icon in the future

You can use HAngle to do that

Cheers, Terje
(01-12-2014 07:26 PM)Terje Vallestad Wrote: [ -> ]
(01-12-2014 06:39 PM)tgallo Wrote: [ -> ]ah yes...forgot about that

would be cool if you could determine what mode the calc is in programmatically

will likely update using grob or icon in the future

You can use HAngle to do that

Cheers, Terje

COOL...thanks!
SIMON updated to 1.1

works no matter what angle mode your calc is in
(01-12-2014 08:30 PM)tgallo Wrote: [ -> ]
(01-12-2014 07:26 PM)Terje Vallestad Wrote: [ -> ]You can use HAngle to do that

Cheers, Terje

COOL...thanks!

HAngle is NOT sufficient. You should FIRST use AAngle (App angle mode). If AAngle:=1 then the angle mode is radian. If AAngle:=2 then the angle mode is degree. If AAngle:=0 then the angle mode falls back onto HAngle (0=radian, 1=degree).

Since AAngle has higher priority, setting HAngle alone might not always work. Lastly, please ensure you save the user's settings and return it back to what it was when you are done.

Previous discussion and examples on how to make programs without changing a user's settings: http://www.hpmuseum.org/forum/thread-259.htmlhttp://can be found here.
I did not know that....I will change that later

I do change the calc back to the users settings.
1.1.1

looks at AAngle first then HAngle

doesn't change mode just converts radians to degrees if necessary
Perfect, thanks
Reference URL's