Post Reply 
Any particularly interesting games for a 42S/DM42/Free42 or older models?
05-02-2019, 02:44 PM
Post: #1
Any particularly interesting games for a 42S/DM42/Free42 or older models?
The other day, I adapted the HP 25 Bomber Raid game in here for my DM42, plus a 41C golf game that I can't recall where I found. They're both pretty good little mental exercises for killing 5 minutes.

What calculator games were notorious for distracting students during dull lectures back in the '70s and '80s? I'd be interested in programs for any models prior to the 42S, or even for TIs, since it's usually easy to adapt them to the 42 (and often make them a bit shorter by replacing random number generation routines with calls to the built-in RAN function).
Visit this user's website Find all posts by this user
Quote this message in a reply
05-02-2019, 04:03 PM
Post: #2
RE: Any particularly interesting games for a 42S/DM42/Free42 or older models?
Interested?
[attachment=7193]
SlideRule
Find all posts by this user
Quote this message in a reply
05-02-2019, 04:16 PM
Post: #3
RE: Any particularly interesting games for a 42S/DM42/Free42 or older models?
(05-02-2019 04:03 PM)SlideRule Wrote:  Interested?

SlideRule

That looks neat! I'm guessing those might be a bit complex for a calculator, but I've got lots of other suitable old machines. Smile
Visit this user's website Find all posts by this user
Quote this message in a reply
05-02-2019, 04:16 PM
Post: #4
RE: Any particularly interesting games for a 42S/DM42/Free42 or older models?
My favorite back in the day was Mastermind. A version was included in the TI-58/59 Leisure Library (LE-09, "Codebreaker"). I wrote a version for the HP-19C/29C, and later adapted it to the HP-42S. The latter version is on my web site. (https://thomasokken.com/free42/42progs/ mast.raw / mast.txt).
Visit this user's website Find all posts by this user
Quote this message in a reply
05-02-2019, 06:39 PM (This post was last modified: 05-02-2019 07:06 PM by Gilles.)
Post: #5
RE: Any particularly interesting games for a 42S/DM42/Free42 or older models?
Hi, I like this game :

The Notouane is a game for two players. The winner is the player who gets the highest score after 7 rounds of game. Each game turn is as follows:

- the first player rolls 2 dice. He gets a total between 2 (2x1) and 12 (2x6). This first total is important because if the player gets this same total during his turn, he loses all points accumulated during this turn;

- after this first throw, the player can stop there and he gains the corresponding points; or he can take a risk by raising the dice again. If the total of this new throw is different from the first one, he cumulates the points for this round. If the total is identical to the total of first throw, all points accumulated for the round are lost. A player may try to roll the dice up to 9 times a turn. As soon as the player stops or loses his turn, the hand goes to his opponent with the same rules;
- The game ends after 7 rounds of play and the winner is the one who has accumulated the most points at the end.

This game is fun to program and to play again a calculator… You can find a version that I wrote for the Casio fx-602P in "La gazette de pocketiquaires n°10" page 53 :

http://silicium.org/site/index.php/telec...icaires-10 (35 MB, in french. I also wrote "un pendu" (hangman?) game for the Casio fx-603P in this issue, which is original for this calculator without any string command)

Another fun game is "KIBUR" (a kind of 1D version of Rubik's cube)
A HP41C version here, and the rules (in french)
http://www.ledudu.com/casio602p/Images/kibur_op2.jpg

My Casio fx-602P version here :
http://www.ledudu.com/casio602p/kibur.htm

My Mastermind version on 602P
http://casio.ledudu.com/casio602p/mastermind.htm

I also wrote years ago on 602P a version of ISOLA(can be play with paper and pen) :

https://jeuxsoc.fr/?principal=/i/isola.php
Find all posts by this user
Quote this message in a reply
05-02-2019, 07:37 PM
Post: #6
RE: Any particularly interesting games for a 42S/DM42/Free42 or older models?
Interesting is in the eye of the beholder, but...

There are tons of games for the HP 41 that are part of the software base in the HP 41CL.

Here is the write-up for a small 4K rom of games based on HP67 games from the PPC Journal. The manual in the link below includes game program listings and instructions.

Comments on the documentation style, contents, etc. are welcome.

HP-67 Fun rom
Find all posts by this user
Quote this message in a reply
05-02-2019, 11:12 PM
Post: #7
RE: Any particularly interesting games for a 42S/DM42/Free42 or older models?
(05-02-2019 06:39 PM)Gilles Wrote:  This game is fun to program and to play again a calculator… You can find a version that I wrote for the Casio fx-602P in "La gazette de pocketiquaires n°10" page 53 :

http://silicium.org/site/index.php/telec...icaires-10 (35 MB, in french. I also wrote "un pendu" (hangman?) game for the Casio fx-603P in this issue, which is original for this calculator without any string command)

Another fun game is "KIBUR" (a kind of 1D version of Rubik's cube)
A HP41C version here, and the rules (in french)
http://www.ledudu.com/casio602p/Images/kibur_op2.jpg

My Casio fx-602P version here :
http://www.ledudu.com/casio602p/kibur.htm

My Mastermind version on 602P
http://casio.ledudu.com/casio602p/mastermind.htm

I also wrote years ago on 602P a version of ISOLA(can be play with paper and pen) :

https://jeuxsoc.fr/?principal=/i/isola.php

Thanks, those look like good stuff. Of course, I know nearly no French (if it were in Japanese, I might at least stand a fighting chance), but I might be able to work out the details from looking at the code and diagrams.

And it's always good to see another Casio fan. Not sure what it is about their old models that I like so much. I'll have to try the fx-602P programs on the iPhone simulator.

(05-02-2019 07:37 PM)Gene Wrote:  Interesting is in the eye of the beholder, but...

There are tons of games for the HP 41 that are part of the software base in the HP 41CL.

Here is the write-up for a small 4K rom of games based on HP67 games from the PPC Journal. The manual in the link below includes game program listings and instructions.

Comments on the documentation style, contents, etc. are welcome.

HP-67 Fun rom

Oh yeah, I think that's where I found the golf program! I'll have to try out some of the others.
Visit this user's website Find all posts by this user
Quote this message in a reply
05-03-2019, 02:01 PM (This post was last modified: 05-03-2019 02:01 PM by Ángel Martin.)
Post: #8
RE: Any particularly interesting games for a 42S/DM42/Free42 or older models?
(05-02-2019 06:39 PM)Gilles Wrote:  Another fun game is "KIBUR" (a kind of 1D version of Rubik's cube)
A HP41C version here, and the rules (in french)
http://www.ledudu.com/casio602p/Images/kibur_op2.jpg

Here's a raw file for KIBUR - pls. report errors if you see them.

ÁM


Attached File(s)
.zip  KIBUR.zip (Size: 364 bytes / Downloads: 18)

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
05-03-2019, 09:39 PM
Post: #9
RE: Any particularly interesting games for a 42S/DM42/Free42 or older models?
I wrote an "Space Shuttle Landing Simulator" for the HP-41 (using synthetics for the display) and later ported it to the HP-42. I should find a file with the program source code, but don't have it on hand now. It will take some time and also some documentation to explain how to play the game (i.e., how to pilot the shuttle during the last minutes of its flight up to a safe landing).

Andrés C. Rodríguez (Argentina)

Please disregard idiomatic mistakes.
My posts are mostly from old memories, not from current research.
Find all posts by this user
Quote this message in a reply
05-03-2019, 09:51 PM
Post: #10
RE: Any particularly interesting games for a 42S/DM42/Free42 or older models?
I just saw this site referenced in another post. There are a few HP-42 games there.
Find all posts by this user
Quote this message in a reply
05-03-2019, 09:53 PM
Post: #11
RE: Any particularly interesting games for a 42S/DM42/Free42 or older models?
Gene Wright collected a few interesting games for the 41/42 including a graphical mine hunt game for the HP42S at http://www.rskey.org/gene/hpgene/ (down near the bottom of the page).
Find all posts by this user
Quote this message in a reply
05-04-2019, 01:00 AM (This post was last modified: 05-04-2019 04:56 PM by Archilog.)
Post: #12
RE: Any particularly interesting games for a 42S/DM42/Free42 or older models?
Hi,

From some memories of a French friend about a game for the TI-58, I wrote an ALIEN program for the HP-67/97. The point here is that the keyboard, like for the 41 (with armed flag 22), can receive direct key inputs - I don't know if it is possible on a 42 to use the keyboard like a pad.

The goal is to escape (in a limited time) from the alien on a 8x8 square which represents the Nostromo whose walls are infected with toxic substances - yeah, the beast left its progeny behind, what did you expect? You have to reach point 0.0 (the airlock) to win the game before the vessel explodes.

What is amazing:
  • you know the distance from/to the evil, but NOT WHERE it is located;
  • The beast is always moving in YOUR direction.

You can find this game there: http://www.silicium.org/forum/viewtopic....28#p519028

I shall post it here in the forum in a few weeks. Enjoy.

PS: oh yes, it's a big program; not sure you would accept to type it in every time you want to play on the 42, but it should be okay on the awesome Free42/DM42.
Find all posts by this user
Quote this message in a reply
05-04-2019, 01:27 AM
Post: #13
RE: Any particularly interesting games for a 42S/DM42/Free42 or older models?
(05-04-2019 01:00 AM)Archilog Wrote:  I don't know if it is possible on a 42 to use the keyboard like a pad.

GETKEY pauses program execution and waits for the user to press a key; when they do, the key code is returned to the X register and program execution is resumed. The key code is a number from 1 to 37 (unshifted) or 38 to 74 (shifted). Shift toggles the shift state, and EXIT and R/S halt the program; all other keys can be used to create a completely customized keyboard behavior.
Visit this user's website Find all posts by this user
Quote this message in a reply
05-04-2019, 03:09 AM (This post was last modified: 05-04-2019 03:11 AM by Archilog.)
Post: #14
RE: Any particularly interesting games for a 42S/DM42/Free42 or older models?
(05-04-2019 01:27 AM)Thomas Okken Wrote:  
(05-04-2019 01:00 AM)Archilog Wrote:  I don't know if it is possible on a 42 to use the keyboard like a pad.

GETKEY pauses program execution and waits for the user to press a key; when they do, the key code is returned to the X register and program execution is resumed. The key code is a number from 1 to 37 (unshifted) or 38 to 74 (shifted). Shift toggles the shift state, and EXIT and R/S halt the program; all other keys can be used to create a completely customized keyboard behavior.

Oh, yes, great. And somewhat better than on older calcs, as far as I know.
Thank you, Thomas.
Find all posts by this user
Quote this message in a reply
05-05-2019, 04:51 AM (This post was last modified: 05-05-2019 05:09 AM by Ángel Martin.)
Post: #15
RE: Any particularly interesting games for a 42S/DM42/Free42 or older models?
(05-04-2019 01:00 AM)Archilog Wrote:  You can find this game there: http://www.silicium.org/forum/viewtopic....28#p519028

I shall post it here in the forum in a few weeks. Enjoy.

PS: oh yes, it's a big program; not sure you would accept to type it in every time you want to play on the 42, but it should be okay on the awesome Free42/DM42.

Can you post the complete code here? There seem to be missing steps in the reference, like steps 101 and 111 are nowhere to be found?

Also what's the instruction in step 139? It shows as "- x -" , afraid my HP-67 dialect is very rusty!

Merci bien,
ÁM

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
05-05-2019, 08:18 AM
Post: #16
RE: Any particularly interesting games for a 42S/DM42/Free42 or older models?
(05-05-2019 04:51 AM)Ángel Martin Wrote:  It shows as "- x -" , afraid my HP-67 dialect is very rusty!

PRINT x perhaps?

I'm seeing 101 and 111:

Code:
101 SF 1
111 FS? 1

The game seems like a parity exercise once you figure out when the alien is. By parity I mean colouring the play area like a chess board. The alien changes its square colour every move. If you are on the opposite colour (i.e. it's starting colour), you'll never be caught.


Pauli
Find all posts by this user
Quote this message in a reply
05-05-2019, 12:47 PM
Post: #17
RE: Any particularly interesting games for a 42S/DM42/Free42 or older models?
Thank you for your interest.
'-x-' is the equivalent for the 67 to 'Print X' on the 97. On the latter, it prints, on the 67, it does almost nothing. I coded on my 67 and found interesting to have a blinking dot between the zeros on the display to announce that the game is won. An Error on the display, in the other hand, announces you've lost.

Oh no, the beast is smarter than you think, Paul. Wink

I have to present the code in a better way on this forum. I shall do it. As far as I know the code on Silicium's forum is correct. Instructions are easy to understand (just input a number from 1 to 999, press A, press your key during a pause...).
Regards
Find all posts by this user
Quote this message in a reply
05-06-2019, 01:30 AM (This post was last modified: 05-06-2019 01:31 AM by SlideRule.)
Post: #18
RE: Any particularly interesting games for a 42S/DM42/Free42 or older models?
(05-05-2019 04:51 AM)Ángel Martin Wrote:  Can you post the complete code here? There seem to be missing steps in the reference, like steps 101 and 111 are nowhere to be found?
Merci bien,
ÁM
OK!
Code:
001 LBL A   011 CF 3    021 3       031 RND     041 GTO 9   051 +       061 STO-3   071 1       081 7       091 LBL 8
002 STO 5   012 GSB E   022 /       032 1       042 LBL 8   052 1       062 RCL 4   072 3       082 GSB 4   092 GSB 2
003 6       013 1       023 ENTER   033 -       043 GSB 1   053 0       063 2       073 GSB 3   083 STO-2   093 GTO 9
004 0       014 -       024 INT     034 STO+0   044 GSB 2   054 /       064 3       074 2       084 RCL 4   094 LBL 3
005 STO I   015 x<0?    025 1       035 X<>Y    045 X<>Y    055 STO 4   065 GSB 3   075 7       085 3       095 x<=y?
006 GRAD    016 GTO 9   026 -       036 STO+1   046 4       056 3       066 3       076 GSB 4   086 3       096 SF 0
007 GSB 0   017 9       027 X<>Y    037 GTO 8   047 0       057 GSB 3   067 7       077 STO+2   087 x>y?    097 RCL 4
008 GSB 1   018 x<=y?   028 FRAC    038 LBL 9   048 0       058 1       068 GSB 4   078 RCL 4   088 GTO 8   098 RTN
009 GSB 2   019 GTO 9   029 3       039 DSP 0   049 X<>Y    059 7       069 STO+3   079 0       089 1       099 LBL 4
010 LBL 9   020 X<>Y    030 *       040 5       050 x<0?    060 GSB 4   070 RCL 4   080 GSB 3   090 STO-2   100 x>y?

101 SF 1    111 FS? 1   121 FIX     131 1       141 LBL 2   151 DSP 3   161 *       171 PI      181 FRAC    191 -
102 0       112 GTO 5   122 DSP 1   132 0       142 RCL 3   152 FIX     162 GSB 6   172 x^2     182 8       192 1/x
103 GSB 5   113 CF 0    123 8       133 /       143 RCL 1   153 PAUSE   163 STO 3   173 e^x     183 *       193 LBL E
104 RTN     114 RTN     124 RCL 0   134 +       144 -       154 RTN     164 RCL 5   174 *       184 INT     194 SCI
105 LBL 5   115 LBL 5   125 GSB 7   135 PAUSE   145 RCL 2   155 LBL 0   165 PI      175 GSB 6   185 RTN     195 DSP 3
106 FS? 0   116 CF 0    126 8       136 x#0?    146 RCL 0   156 RCL 5   166 e^x     176 STO 1   186 LBL 7   196 FS? 3
107 GTO 5   117 CF 1    127 RCL 1   137 RTN     147 -       157 GSB 6   167 *       177 RTN     187 x<0?    197 RTN
108 CF 1    118 1       128 GSB 7   138 FIX     148 ->P     158 STO 2   168 GSB 6   178 LBL 6   188 SQR x   198 DSZ I
109 RTN     119 RTN     129 X<>Y    139 - x -   149 x=0?    159 RCL 5   169 STO 0   179 8       189 x#y?    199 GTO 0
110 LBL 5   120 LBL 1   130 Rd      140 R/S     150 1/x     160 PI      170 RCL 5   180 /       190 RTN     200 RCL I

201 1/x     211 GTO E   ---------------------------------------------------------------------------------------------
202 LBL 0               | Reg. I : temps (s.) | LBL 0 : Routine d'affectation positions J & A, entre autres         |
203 RCL I               | Reg. 0 : Xj         | LBL 1 : Routine de visualisation position J                         |
204 10^x                | Reg. 1 : Yj         | LBL 2 : Routine de visualisation distance AJ                        |
205 *                   | Reg. 2 : Xa         | LBL 3 & 4 : Routines d'économie (voir LBL 8)                        |
206 PAUSE               | Reg. 3 : Ya         | LBL 5 : Routines de déplacement A                                   |
207 FS? 3               | Reg. 4 : angle      | LBL 6 : Routine d'économie (voir LBL 0)                             |
208 RTN                 | Reg. 5 : graine     | LBL 7 : Routine d'économie (voir LBL 1)                             |
209 LAST x              |                     | LBL 8 : Routine de détermination angulaire                          |
210 /                   |                     | LBL 9 : Routine d'interprétation clavier                            |
                        |                     | LBL E : Routine d'interfaçage clavier                               |
                        |-------------------------------------------------------------------------------------------|
BEST!
SlideRule
Find all posts by this user
Quote this message in a reply
05-06-2019, 04:50 AM
Post: #19
RE: Any particularly interesting games for a 42S/DM42/Free42 or older models?
(05-06-2019 01:30 AM)SlideRule Wrote:  BEST!
SlideRule

Thanks much, now let's try to port this to the 41 ... several HP-67 idiosyncrasies may not translate well but we'll give it a try.

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
05-07-2019, 12:25 PM
Post: #20
RE: Any particularly interesting games for a 42S/DM42/Free42 or older models?
(05-06-2019 04:50 AM)Ángel Martin Wrote:  
(05-06-2019 01:30 AM)SlideRule Wrote:  BEST!
SlideRule

Thanks much, now let's try to port this to the 41 ... several HP-67 idiosyncrasies may not translate well but we'll give it a try.

Hello, Ángel,

This HP-67 game is for sure perfectible on that machine; for instance I wanted to change the timer: at this time, a "second" elapses every time you position is displayed... it may be funnier to have a more realistic timer (but that way, the calculation time of each position enters the story, so... it is perhaps a bad idea): I have to test that.

On the 41, the flag 03 must be replaced by the 22.
After some adaptation, you could perfect a lot of things: texts, synthetic noises (why not an alarm like in the movie?), trying a real timer...

In my challenge I liked the idea to work on the same calculator range as the TI-58 and wanted a LED display. But that was my story. Feel free to invent yours!


Regards
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: