ain@j.cc.purdue.edu (Patrick White) (11/20/87)
Program Name: GravityWars (Part 1 of 4) Submitted By: Ed Bartz (bartz@elbereth.rutgers.edu) Summary: shoot each other with missles whose trajectory is affected by gravity of nearby planets. Poster Boy: Pat White (ain@j.cc.purdue.edu) Tested. NOTES: This is in 4 parts. The first part (this one) contains the icons and documentation. The other three are the actual program. To assemble the program from the other three postings, concatenate them together with an editor, and delete the headers between the uuencoded potions. Then uudecode the big file. The documentation icon is set to use the "less" program to display the text on the screen. If you don't have less (it's not part of Workbench 1.2, and it's not in our archives), then you can use the Notebook utility to display the documentation (a kludge, but it works). To do this, set the icon's default tool to: Workbench 1.2:Utilities/Notepad And the tool types to: WINDOW= 0, 0,636,200 FONT=topaz. 8 FILETYPE=notepad -- Pat White (co-moderator comp.sources/binaries.amiga) UUCP: k.cc.purdue.edu!ain BITNET: PATWHITE@PURCCVM PHONE: (317) 743-8421 U.S. Mail: 320 Brown St. apt. 406, West Lafayette, IN 47906 ---------------------------------------- # This is a shell archive. # Remove everything above and including the cut line. # Then run the rest of the file through sh. #----cut here-----cut here-----cut here-----cut here----# #!/bin/sh # shar: Shell Archiver # Run the following text with /bin/sh to create: # ginfo.uue # dinfo.uue # GravityWars.doc # This archive created: Thu Nov 6 21:57:23 1986 cat << \SHAR_EOF > ginfo.uue begin 777 GravityWars.info MXQ```0``````.@`0`#H`&``$``,``0#`?2@`````````````````````````] M`````P@``````````````$(````%```````````````````````Z`!@``@`!G MFK`#````````````````````````````````````````````````````_```) M@````$#\"````````/P````````````````````$```0````````````````4 M`````````(```!`````````````````>`````$```!X`````````````(```L M``!`(``````````````"```````0````````````````````````````````R M````````````````````````````````````````````````/________P`PI M```````#`#``_`````,`,`#\`````P`P`/P`^``#`#````#X``,`,```````C M`P`P```````#`#````````,`,````````P`P```````#`#`>``````,`,!X`N M`````P`P```````#`#````````,`,`````?``P`P````!\`#`#````````,`0 @/________P``````````````````````````````````Y `` end SHAR_EOF cat << \SHAR_EOF > dinfo.uue begin 777 GravityWars.doc.info MXQ```0``````F``0`&(`'0`&``,``0`@;@@`(&_@````````````````````J M````!`P`(#@X`````````*`````%``````````````````````!B`!T``P`!( MIBC_`````````````````````````````````$5555550```````````15_5? M555```````````!%5M55544``````````$569]?51P``````````159G9V5'3 M``````````!%5F9F14<``````````$56QF9U1P``````````15_'Q\5'````T M``````!%5!4%!4<``````````$5555551P``````````1?UU=55'````````G M``!%S%%Q54<``````````$7$=7%]1P``````````1?5Q<<U'``````````!%7 MP7%Q_$<``````````$7%<7'`1P``````````1>5Y>7U'``````````!%!4%!% M04<``````````$5555551P``````````1555555'``````````!%555554<`H M`````````$5555551P``````````15550`%'``````````!%555554<`````W M````````````!P``````````+_______```````````55555554`````````O M```````````````````!_______X``````````'_______@``````````?_P8 M?____\`````````!__D_____P`````````'_^9P\/_O``````````?_YF9F?& M^\`````````!__F9F?_[P`````````'_^3F9G_O``````````?_P?#P_^\``G M```````!_______[P`````````'_______O``````````?X#SX__^\``````( M```!_S/_S__[P`````````'_/X_/A_O``````````?\/S\\S^\`````````!V M_S_/SP/[P`````````'_/\_//_O``````````?X?AX>'^\`````````!____= M___[P`````````'_______O``````````?______^\`````````!_______[> MP`````````'_______O``````````?______^\`````````!_______[P```E M``````'_______O``````````?@``````\``````````________P```````M M``!________`````````````````````````````````````````````````Z M````````````````````````````````````````````````````````````` M````````````````````````````````````````````````````````````` M````````````````````````````````````````````````````````````` M````````````````````````````````````````````````````````````` M````````````````````````````````````````````````````````````` M````````````````````````````````````````````````````````````` M````````````````````````````````````````````````````````````` M````````````````````````````````````````````````````````````` M`````````````````````&(`'0`#``&\F/\`````````````````````````6 M*JJJJJJH!5555555```W______Z_______L``#?______K______^P``-___K M___^O______[```WZJJJJN`#ZJJJJKL``#?______K______^P``-______^O MOZJJJJJ[```W______Z_______L``#?55555?K^JJJJJNP``-______^O___B M___[```W555557Z_JJJJJKL``#?______K______^P``-U55555^OZJJJJJ[V M```W_____^`#______L``#=55555?K^JJJJJNP``-______^O______[```W6 MU55557Z_JJJJJKL``#?______K______^P``-U55555^OZJJJJJ[```W____Z M__Z_______L``#=55555?K^JJJJJNP``-______^O______[```W_____^`#; M______L``#?__U___K___K__^P``-______^O______[```P``````"`````4 M``,``"JJJJJJJ`55555550````````````````````#_______X?_______`^ M`/_______________\``^``````!P``````'P`#X``````'```````?``/@`L M`````<``````!\``^``````?_!55555'P`#X``````'```````?``/@`````N M`<!555551\``^``````!P``````'P`#X*JJJJH'`555554?``/@``````<``1 M````!\``^*JJJJJ!P%55555'P`#X``````'```````?``/BJJJJJ@<!55555X M1\``^``````?_``````'P`#XJJJJJH'`555554?``/@``````<``````!\``= M^"JJJJJ!P%55555'P`#X``````'```````?``/BJJJJJ@<!555551\``^```P M```!P``````'P`#XJJJJJH'`555554?``/@``````<``````!\``^``````?; M_``````'P`#X``"@``'```%```?``/@``````<``````!\``____________; M____P`#________________``/_______A_______\``````````````````$ M````````````````````````````````````````````````````````````` M````````````````````````````````````````````````````````````` M````````````````````````````````````````````````````````````` M````````````````````````````````````````````````````````````` M````````````````````````````````````````````````````````````` M````````````````````````````````````````````````````````````` M````````````````````````````````````````````````````````````` M````````````````````````````````````````````````````````````` M``````````````````````````````````````````````````@Z8R]L97-S+ !````` `` end SHAR_EOF cat << \SHAR_EOF > GravityWars.doc GravityWars...... The object of the game is for one player to hit the other with a missle before being hit yourself. Since the ships don't move and the planets don't move the game sounds easy right...Wrong. All the planets have gravity, so the missles bend an twist, even reverse. It's very easy to hit yourself. The two players take turns firing missles by entering firing angles and velocities. The winner is the ship left alive. Menus. About: The about menu gives the author, version, and reminds the player that this game is shareware. Help: This menu gives some simple help. Giving velocity ranges, angle templete. Game Control: Random setup: Setup a random positioning of random planets, and random ship Ship positions. Play Game: Accept the planet setup and play the game. Replay Game: This redraws the screen and lets you play the same game setup again. Stop Game: Stop game play without exiting the program. The game can be modified and/or restarted at any time. Quit: Stop and exit the program. Options: Maximum number of planet: Set the maximum number of random planets from 5 to 15. Erase/Leave missle trails: Remove missle trails after they explode. Redraw Screen: Redraw screen without the existing missle trails. Practice/Compete: Practice mode lets you choose one side and do some target practice, while compete lets you play against an opponient. Turn Sound On/Turn Sound Off: Turn sound on or off. Modify Setup: MoveShip: Click on the ship you wish to move, the click were in the screen you wish the ship to be. No overlapping is permitted. MovePlanet: This works in the same way as moveship. MakePlanet: Click where you want the center of the planet to be, then where you what the edge to be. MakeBlackHole: Click where you want the center of the black hole to be, then where you what the edge to be. Delete planet: Click on the planet you wish to delete. Have fun with this game. But BEWARE OF BLACK HOLES!!!!!!!! SHAR_EOF # End of shell archive exit 0 -- If asked, I never even heard of a computer, let alone this message. ARPA: Bartz@ruthep.rutgers.edu UUCP: bartz@elbereth.uucp BITNET: bartz@ruthep.bitnet