This is non-commercial site, its content is based on Atari 8-bit home computer contents and references.
If you feel your rights are violated by showing/using any part of contents of your product represented on this page,
please contact me immediatelly so I can remove it!
Entry name:
Battle of Numbers
|
Publisher/Developer:
Dallas Atari Computer Enthusiasts (Atari User Group library) |
|
|
-
Entry name:Battle of Numbers
-
Category:Games
-
Publisher/Developer:Dallas Atari Computer Enthusiasts
Listing 1 (Dallas Atari Computer Enthusiasts - )
1REMBATTLEOFNUMBERSBYPATMCCABE(313)791-0946 2?"":?"THEOBJECTOFTHEGAMEISTOENDUPWITHTHELASTOBJECT" 3?:?:?:? 4FORJ=1TO500:NEXTJ:DIMA$(1) 5?"HITRETURNTOCONT.":INPUTA$ 10GRAPHICS0:?"*****BATTLEOFNUMBERS*****" 20?"DOYOUWANTTO????":?:? 21?"1,CHOSELIMITS" 22?"2,LETTHECOMPUTERCHOSE" 30INPUTL 40IFL<>1THEN100 50?"NUMBEROFOBJECTSINPILE"; 60INPUTN 70?"MAXIMUMNUMBEROFOBJECTSTOBEREMOVED"; 80INPUTK 90GOTO120 100N=20+INT(80*RND(0)) 110K=5+INT(10*RND(0)) 120?"<<<<<INSTRUCTIONS>>>>>>" 130?"NUMBEROFOBJECTSINPILE";N 140?"YOUMAYREMOVEFROM1TO";K;"OBJECTS" 150?"THEPLAYERWHOREMOVESTHELASTOBJECT" 170?"YOURMOVE" 180INPUTX 190IFX>KORX<1THEN220 210IFX<=NTHEN250 220?"ILLEGALMOVE" 240GOTO170 250REM 260N=N-X 270IFN>0THEN350 280?"!!!COMPUTERWINS!!!" 281FORI=1TO100:SOUND3,50,6,8:NEXTI:SOUND3,0,0,0 300?"DOYOUWANTTO" 301?"1,GIVEUP" 302?"2,TRYAGAIN" 310INPUTZ 320IFZ=1THEN540 330?"YOUMUSTBEAGLUTONFORPU" 340GOTO10 350REM 360Q=INT((N-1)/(K+1)) 370Y=N-1-Q*(K+1) 380IFY=0THEN460 390N=N-Y 400?"THECOMPUTERREMOVES";Y 410IFN=0THEN520 420?"OBJECTSLEFTINPILE=";N 450GOTO170 460REM 470IFN>1THEN500 480Y=1 490GOTO390 500Y=1+INT(K*RND(0)) 510GOTO390 520?"YOUWIN" 521FORI=254TO0STEP-2:J=INT(RND(0)*10+I):SOUND3,J,10,10:NEXTI:SOUND3,0,0,0 530GOTO300 540FORJ=1TO40:?"BETTERLUCKNEXTTIME":?;:NEXTJ 550END
References
Listing downloads
Downloads
Copyright holder
