NeXT TypedStream Data | 1994-06-07 | 5KB | 128 lines
typedstream
StreamTable
HashTable
Object
[20c]
typedstream
[627c]
typedstream
HashTable
Object
Puzzle
HeaderClass
%%%%i@@
genericobject_nib
matrix
blank
window
movePiece:
FirstResponder
firstnib
checkSpelling:
alignSelCenter:
unscript:
pasteFont:
runPageLayout:
superscript:
copyRuler:
copyFont:
selectAll:
pasteRuler:
toggleRuler:
showGuessPanel:
alignSelLeft:
paste:
performClose:
arrangeInFront:
subscript:
copy:
alignSelRight:
delete:
orderFrontColorPanel:
underline:
performMiniaturize:
[4329c]
typedstream
HashTable
Object
NibData
@@@@s
Storage
{*@@}
[41{*@@}]
File's Owner
CustomObject
Application
MainMenu
MenuTemplate
*@*@ccc
Puzzle
Matrix
Control
Responder
@:@iiii
MenuCell
ButtonCell
ActionCell
Info...
Helvetica
Paste
Select All
ff@@#::s
submenuAction:
Bitmap
menuArrow
GameWindow
WindowTemplate
iiii***@s@
15-Puzzle
Window
[16@]
Button8
PuzzleInstance
Panel
TextField
TextFieldCell
15 Puzzle
Version 1.0
Button
defaultappicon
-This software is placed in the public domain.#
Michael Mellinger
(mmelling@Trirex.Com)#
Button1*
Field1
Field2%
VersionNumber
Field/
Field38
Field4=
More Info
ScrollView
ClipView
ciifffcfffs
[633c]{\rtf0\ansi{\fonttbl\f0\fswiss Helvetica;}
\margl40
\margr40
\pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f0\b0\i0\ul0\fs24 The 15-Puzzle game is an excellent example of a program that is trivial to do on the NeXT because of Interface Builder and the NeXT Appkit. There are many little enhancements that could be added to this game, and in fact, I think a souped up version does exist, but I wanted to keep this version simple so the average programmer could appreciate the beauty of NeXTstep programming at a glance. The program only required around 60 lines of code, including the disclaimer!