2 new games for Apple-1

5 posts / 0 new
Last post
Macintosh_nik's picture
Offline
Last seen: 6 hours 49 min ago
Joined: Jan 8 2021 - 05:18
Posts: 424
2 new games for Apple-1

Hey guys! There are a couple of new, interesting and not particularly difficult games for Apple-1.

 

2048

https://github.com/DenisParyshev/Apple1_2048

 

15 Puzzle

https://github.com/DenisParyshev/Apple1_15puzzle

 

 

 

 

Offline
Last seen: 4 months 1 week ago
Joined: Feb 18 2020 - 16:59
Posts: 42
Nice!

Always glad to see new software for the Apple 1. Thanks for posting them.

You might have noticed that Will Scullin's online Apple 1 emulator has a built-in 15 puzzle you can load from the drop-down menu. If you're interested, the source code for that is on my GitHub page.

As you've probably noticed yourself, one of the challenges with writing a game for the Apple 1 is that you have to completely redisplay the game state after every turn, and screen printing is very slow! That's why I wound up taking a different approach to the UI, using letters instead of numbers (to minimize the amount of text that needs to be printed each time) and allowing for multiple "squares" to be pushed at a time, like the phyiscal puzzle does (to reduce the number of redraws needed to solve the puzzle). Not quite as intuitive as your version, which is more like the real game, but it does speed things along.

 

P.S. I wrote the version of Shut the Box that's on the emulator too, and the code for that is also on my GitHub.

Macintosh_nik's picture
Offline
Last seen: 6 hours 49 min ago
Joined: Jan 8 2021 - 05:18
Posts: 424
Hi JeffJetton!

I am interested in your Shut the Box, I like to play simple games, not like Microchess where the manual is a whole brochure of 42 pages! Thanks for sharing, do you have a Shut the Box sound file to load via ACI card? I don't use emulators, it's not for me at all...

Offline
Last seen: 4 months 1 week ago
Joined: Feb 18 2020 - 16:59
Posts: 42
I don't have a sound file, but...

A binary file and a text (hexdump) file are both on the GitHub page with the source code. So maybe one of those would be something you could convert to audio and load?

Offline
Last seen: 1 day 3 hours ago
Joined: Apr 1 2020 - 16:46
Posts: 875
On Apple-1 game programming and AIFF file generation.

In Post #2, JeffJetton wrote:

 

"As you've probably noticed yourself, one of the challenges with writing a game for the Apple 1 is that you have to completely redisplay the game state after every turn, and screen printing is very slow! "

 

Uncle Bernie's comment:

 

True. The Apple-1 screen output is so slow that you can actually read it in real time while it is being output. So no "action games", sorry.  I do have an idea for one action game which could work on the Apple-1, and this is "Bowling" which was a popular BASIC language game on the WANG2200 of the early 1970s (years before the Apple-1).

 

Where the Apple-1 screen output speed does not matter is strategy type games where you need to think. Such as MicroChess, my own "Codebreaker" game, or all sorts of strategy games like StarTrek. You could also do text adventures (as far as 8K of RAM can get you ... no way to do this with BASIC). 

 

--------------------------

 

In Post #4, JeffJetton wrote:

 

So maybe one of those would be something you could convert to audio and load ?

 

Uncle Bernie's comment:

 

I have written a tool ("ACIace") under Linux which reads binary files and synthesizes AIFF files for the ACI. I need plain binary, just the machine code,  and must know the load and end address and the start address. Otherwise it's too much work for me. I am too busy to do this footwork myself. If you send me the binary and the addresses, I can make you an AIFF file in just a minute of my time or so.

 

These synthesized AIFF files are much better than trying to record the TAPE OUT signal. The signal fidelity is perfect (because synthesized) and since the signal has unlimited theoretical bandwidth, there are only two levels in the output PCM stream, which compresses very well when using tools like gzip or pkzip. I have found that such a zipped synthesized AIFF file typically is not much larger than the hex dump text file of the same program, which really is amazing.

 

Comments invited !

 

Log in or register to post comments