HP Forums

Full Version: Most sophisticated 15c games?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

Now, I don't expect to be able to play chess against the 15c, but it seems like with its capabilities (subroutines, matrices, complex math, random numbers, lots of logical tests, indirect addressing and branching, a fair amount of memory, etc.) it ought to be able to do something more interesting than Nim, or Guess the Number.

I know it has the needed funcionality, but is there enough memory to do a simple grid-based Star Trek kind of game? Or even a very simple adventure game?

Quote:
I know it has the needed funcionality, but is there enough memory to do a simple grid-based Star Trek kind of game? Or even a very simple adventure game?

I never tried a Star Trek game but it might be possible.

I did write several simple adventure games for the 34C back in the early 80s so they are definitely possible.

I did a tic-tac-toe game (alpha-beta minimax search base) for the Casio FX602P when I had one of them and its (storage) capabilities are only a bit greater than the 15c's so this might be possible too. There are also simpler algorithms to play this game that should be smaller.

Oware/Awari might be possible -- certainly moderating the game and maybe even playing it.


- Pauli

Quote:
I never tried a Star Trek game but it might be possible.

It would definitely have to be pretty simple. Maybe a 4x4 "galaxy" (or a bit bigger if there's leftover memory), and a specific amount of enemy ships - user selectable - sprinkled around the sectors. Then you would have to move around and get a reading of the number of adjacent enemies, and fire into an adjacent space to defeat them. Moving and firing would cost energy, but not as much as accidentally moving into a space with enemies. It would kind of be like Minehunt meets Star Trek.

I'll try it tomorrow if I'm bored sitting around the house. I've got a few ideas for clever use of indirect branching to handle the 8-way movement/firing.

From HP-11C Owner's Manual, page 194:

"Submarine Hunt

Using your destroyer, try to locate the position of the enemy
submarine in a 10 x 10 grid, then destroy it with a depth charge."

Isn't this interesting enough?

That's one thing I did not find much of when I scanned the PPC Journal issues looking for 15c material ... and that is a shame! :-)

Some of the games for the 19c/29c found a bit down on my old site here could probably be modified. I know BlackJack should work with just a few changes.

My old site lol

Before owning a 15CLE, I found a good moon landing sim for my 12C here at the museum and entered it in. It is a turn based lander. I would like to have this on my 15CLE. I don't know yet if it needs modification - I am an RPL programmer, not RPN ;)

Moon Landing Simulator for HP-12c again

Edited: 17 Sept 2011, 10:48 p.m.

Pal G., I tried to type in the Moon Lander from the HP-34C. But that program uses heavily the PSE command. Of course, it didn't work.

Now, I'm going to try yours!

* * *

EDIT-

Wait a minute! This one uses a lot of PSE steps, too! How's it going work given this PSE bug in the 15C LE??

'nuther EDIT-

Oops. Sorry. You were asking, too!

Well, I guess we'll have to figure a workaround for the PSE thing.

Edited: 18 Sept 2011, 12:11 a.m.

The 25 manuals contain a lunar lander program w/o using PSE.

Pack the sectors into the registers and a 10x10 might be possible.
i.e. use each digit as a cell and 10x10 takes ten registers. Using the exponent allows 12 digits per register. Using a base less than 10 allows more to be packed in.


- Pauli

If HP had implemented the PSE command in the HP-15 LE the same way as Casio did in FX-502P, FX-602P and FX-603P, we would have had more interesting games!

Edited: 18 Sept 2011, 8:30 a.m.

Hi

I think there is a lot of interesting games you can do on a 15C and even more on a 15C LE. Here is an example of a 'sophisticate' game that can be possible ( i think it's possible for a 15 c) and some tips for this sort of calculators :

Isola game on Casio 602P and HP97

( sorry, it is in french but you can found my FX602P version and a HP97 version from C.RET page '4-5 - I have a news ideas for a far better algorithm but no time to do). The game is very easy to understand, you just have to move your 'king' like in chess and then to push a place in the game board, the first player who can't move lose

Mastermind is possible and more fun than just "guess the number"...

Easy to do is a 'one dimension 'demineur' (Minesweeper in english ?) like in windows.

here are some ideas (for a 602P and in french sorry)you can adapt on a 15C

....
http://www.ledudu.com/casio602p/programmes.htm

Edited: 18 Sept 2011, 9:34 a.m. after one or more responses were posted

Quote:
Hi

I think there is a lot of interesting games you can do on a 15C and even more on a 15C LE. Here is an example of a 'sophisticate' game that can be possible ( i think it's possible for a 15 c) and some tips for this sort of calculators :

Isola game on Casio 602P and HP97

( sorry, it is in french but you can found my FX602P version and a HP97 version from C.RET page 5 - I have a news ideas for a far better algorithm but no time to do). The game is very easy to understand, you just have to move your 'king' like in chess and then to push a place in the game board, the first player who can't move lose


Looks kind of cool. I'll have to see if it can be comverted.

Quote:
Mastermind is possible and more fun than just "guess the number"...

I think I've seen a version for the 15c (and other models), possibly on this site. I may have to try that out, even if only to pick up on programming tricks.

Every device has an unlimited number of omitted features ;-).

I found the MasterMind Game for the 15C here:

MasterMind for the 15c


and Superbagels for the 12C here:

Eight Hp-12C Games

The Super Bagels (Mastermind) for the 12C! Hard to believe but it's true! 98 lines.

Sounds promising. Is a listing available online? I don't own an 11c manual, and the program doesn't appear to be on this site.

I apologize if this is semi-off-topic, as it doesn't deal with 15c games, but:

Back in the Woodstock and earlier LED days, when the calculator would print a scramble of random graphics while it was working on long calculations, a friend's dad had figured out that the pattern on the screen wasn't a true random scramble, but was caused by the information that was in the calculator's memory (or was passing through the CPU, or something else ... I'm sure other people on the forum know more about this than I do).

Anyway, this guy had mapped out the exact relationship between the display and its technical cause, learned how to manipulate it, and then used it to create a driving game. IIRC, obstacles would scroll from right to left, and you had a car (as a single horizontal LED segment) that you moved up and down to dodge the incoming obstacles. He was going to extend this into another type of game that involved shooting (shooting obstacles? shooting at an AI at the other side that shot back?), but I never heard about it beyond that.

Granted, I was really young, but I really hope I'm not confusing this with something else, because I still regard this as one of the most inspired accomplishments I've seen.