BASIC Game Plans: Computer Games and Puzzles Programmed in BASICThe computer is a toy tossed to us by Nature for diversion and comfort in the darkness. d'Alembert I hate everything which merely instructs without stimulating me or increasing my own activity. Goethe Let's try to eliminate some misconceptions from the outset: this book is not a collection of game recipes as sembled in the form of finished programs which only have to be typed into the computer and then played. Far from it. The object is to challenge readers to activate their own creativity in using computer games. The game concept is designed to develop into game strategy and this then should form the basis of computer programming. Programming comput ers is in itself the game. Or, to put it another way, read ers can learn programming while playing. No previous knowledge of programming is assumed of readers and users of this book -- only the willingness to accept new ideas and improve upon them independently. While all the programs in this book have been run and tested, some are intentionally imperfect. They await the finishing touches from you, the reader. The additional brainteasers at the end of the chapters (or, occasionally, after a sec tion within a chapter) are therefore designed to inspire your imagination and encourage your independence. The material is drawn from numerous sources. |
Other editions - View all
Common terms and phrases
A2 SP Alex answer Apple II ASCII BASIC Beth bets bowl BRAINTEASERS CHARACTER SERIES chess code number coins column combination command Commodore 64 computer displays COMPUTER'S MOVE DATA dice digit Donald Kahn Example EXIT OR REPEAT finger GOSUB GOTO GUESS IBM PC keyboard buffer knight knot LEFT LET FE LET H list of knots losing position machine magic square MAIN PROGRAM Nim game opponent PEEK FE Player wins PLAYER'S MOVE POKE possible PRINT CHR PRINT PRINT queen random numbers rank REM DETERMINING REM DISPLAY REM END REM ENTER REM ERASE REM GAME REM NUMBER REM PLAYER REM RANDOM REM SUBROUTINE REM TABLE REM TEST roll round Rubik's Cube RULES OF PLAY Sam Lloyd screen sequence SHORT PROCEDURE SIAMESE METHOD simulation solution Sprague-Grundy SUBPROCEDURE Tic-Tac-Toe tion turn UNCOVERED CARD winner winning position word Write a program