This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file(885 × 582 pixels, file size: 125 KB, MIME type: image/png)

Summary

Description

Atari BASIC Listing for ARROW, a little game I wrote in February 1989.

I recorded a video to show what the game looks like: <a href=" http://www.flickr.com/photos/schoschie/3301606694/">www.flickr.com/photos/schoschie/3301606694/</a>

When it runs, this happens:

• Jump to a subroutine starting in line 1000 that initializes some settings such as foreground and background colors and hiding the cursor. In lines 1010–1020, the »sprite« for the little spaceship is created. Lines 1025–1040 make a title screen and wait for the joystick button to be pressed. Line 1045 clears the screen, pauses for about a second and then sets up the »space« sound. It then returns to the main program starting in line 20.

• In the main program, a random number of bullet symbols (representing asteroids) is drawn in random locations on a line. The joystick is polled: if it's pushed to the left, move the spaceship sprite 10 units to the left. Same for the right. Then there is a check for a collision between spaceship and asteroid. If so, jump to the »Game Over« code in line 500. Otherwise, begin the main program from the top (it's an infinite loop).

• The Game Over code in lines 500–535 stops the sound, hides the spaceship, outputs a Game Over message and waits for the joystick button to be pressed. If it is, jump to the main program again.
Date
Source ARROW (Listing)
Author Niels Heidenreich from Hannover, Germany

Licensing

w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 2.0 Generic license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
This image was originally posted to Flickr by schoschie at https://flickr.com/photos/87569910@N00/3300726999. It was reviewed on 29 July 2022 by FlickreviewR 2 and was confirmed to be licensed under the terms of the cc-by-sa-2.0.

29 July 2022

Information

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

image/png

3aedbeacab6bde5f7ba8c5fdbf41943894a9f641

127,730 byte

582 pixel

885 pixel

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current 16:05, 29 July 2022 Thumbnail for version as of 16:05, 29 July 2022885 × 582 (125 KB)Daniel MietchenTransferred from Flickr via #flickr2commons
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Metadata

This is a file from the Wikimedia Commons
From Wikipedia, the free encyclopedia

Original file(885 × 582 pixels, file size: 125 KB, MIME type: image/png)

Summary

Description

Atari BASIC Listing for ARROW, a little game I wrote in February 1989.

I recorded a video to show what the game looks like: <a href=" http://www.flickr.com/photos/schoschie/3301606694/">www.flickr.com/photos/schoschie/3301606694/</a>

When it runs, this happens:

• Jump to a subroutine starting in line 1000 that initializes some settings such as foreground and background colors and hiding the cursor. In lines 1010–1020, the »sprite« for the little spaceship is created. Lines 1025–1040 make a title screen and wait for the joystick button to be pressed. Line 1045 clears the screen, pauses for about a second and then sets up the »space« sound. It then returns to the main program starting in line 20.

• In the main program, a random number of bullet symbols (representing asteroids) is drawn in random locations on a line. The joystick is polled: if it's pushed to the left, move the spaceship sprite 10 units to the left. Same for the right. Then there is a check for a collision between spaceship and asteroid. If so, jump to the »Game Over« code in line 500. Otherwise, begin the main program from the top (it's an infinite loop).

• The Game Over code in lines 500–535 stops the sound, hides the spaceship, outputs a Game Over message and waits for the joystick button to be pressed. If it is, jump to the main program again.
Date
Source ARROW (Listing)
Author Niels Heidenreich from Hannover, Germany

Licensing

w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 2.0 Generic license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
This image was originally posted to Flickr by schoschie at https://flickr.com/photos/87569910@N00/3300726999. It was reviewed on 29 July 2022 by FlickreviewR 2 and was confirmed to be licensed under the terms of the cc-by-sa-2.0.

29 July 2022

Information

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

image/png

3aedbeacab6bde5f7ba8c5fdbf41943894a9f641

127,730 byte

582 pixel

885 pixel

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeThumbnailDimensionsUserComment
current 16:05, 29 July 2022 Thumbnail for version as of 16:05, 29 July 2022885 × 582 (125 KB)Daniel MietchenTransferred from Flickr via #flickr2commons
The following pages on the English Wikipedia use this file (pages on other projects are not listed):

Metadata


Videos

Youtube | Vimeo | Bing

Websites

Google | Yahoo | Bing

Encyclopedia

Google | Yahoo | Bing

Facebook