A quick word on blocking ads

It looks like you are using an ad blocker. That's okay. Who doesn't? But without advertising revenue, we can't keep making this site awesome. Click the link below for instructions on disabling adblock.

How to disable ad-blocker for Newschoolers

  • Home
  • News
    • Latest
    • Top Rated
    • Features
    • Podcasts
    • Tags
    • Interviews
    • Event Coverage
    • Opinions
    • Industry News
    • Gear
  • Forums
    • Categories
    • Ski Gabber
    • Non-Ski Gabber
    • Site Discussion
    • Media & Arts
    • Gear
    • Lady Gabber
    • Content Creators
    • AT & Backcountry
    • Regionals
  • Gear
    • Gear Guide 2024-25
    • Gear Guide 2023-24
    • The Roofbox Reviews
    • Editors' Picks
    • Gear Talk
  • Buy/Sell
    • Map View
  • Photos
    • Latest
    • Top Rated
  • Videos
    • Latest
    • Top Rated
    • Ladies
  • Store
  • More
    • Terrain Parks Guide
    • Contests
    • NS Giveaway
    • Top Rated Members
  • Search
  • Login
  • Login

Login to Newschoolers

Register Lost password?

Search Newschoolers

Preview

LOADING...
  • Forums
  • Non-Ski Gabber
  • Computer Programmers?
  • Reply

Replying to Computer Programmers?

TonKwon:
Good morning NS,I'm doing an assignment in class where i have to create a arrow and target game using TrueBasic Bronze Edition. First i'm trying to create the arrow and target using plot lines with the format:

Plot lines: x1, y1; x2, y2! From point (x1, y1) to point (x2, y2)
Or just PLOT 100, 100; 200, 150

Any programmers out there that are familar with the plotting system and how to create the arrow and target. The game itselfs pseudocode and overview is:

Arrow and Target Game-
Overview- This program is a game with a target and an arrow. Both the target and the arrow move independently up and down the screen. When the player hits the space bar, the arrow shoots across the screen and hopefully hits the target. Each player gets 10 arrows.

The Program- The main program should consist of a series of subroutine call statements. All of the actual programming should be in the subroutines.
This means that the subroutines will be before the END statement of the main program and the good news is that you will not have to pass parameters. The bad news is that you will not be able to use the same variables in different subroutines.
The target- You have already drawn the target. This block of code will be put in a subroutine called MAKE_TARGET. Then x and y coordinates must be changed to tx and ty so we know that they are the coordinates for the target and not anything else on the screen.
Other subroutines-
1. MAKE_ARROW
2. OPEN_SCREEN (Contains welcome message and instructions)
3. MOVE_TARGET
4. MOVE_ARROW
5. SHOOT

Grading- You will need to complete the entire project. If your game works and looks good and follows the directions that you are in the opening, you will get an 85. If you add any of the following, you will get.
On screen message for bullseye (+3 points)
On screen message for game over (+2 points)
Scoring System (+5 Points)
Wall of fame (+5 Points)

Subroutines:
Sub Open Screen
Set up screen settings
Have intro message
Explain rules of the game
Limit them to 10 shots.

Sub contin..
Sub shoot
Move arrow across the screen
Check to see if it hits the target
Call check target

Sub Move arrow
Move arrow up and down the screen
Change direction when it gets to the top or bottom of the screen

Sub move target
Move target up and down the screen
Change direction when it gets to top or bottom of the screen

Sub Make arrow
Make arrow so that it appears on the screen

Sub Make Target
Make target so that it appears on the screen

Sub check target
Determine if arrow hits the target
Increase hits
Call score

Sub Score
Show score on screen

It would be nice if someone could give me some help or maybe a start?

Click to expand post

Follow Us

Newsletter

Subscribe to our newsletter and stay up-to-date with the latest news from Newschoolers and our partners

Subscribe
Register Contact Advertise Privacy Policy Terms of Use
Newschoolers has affiliate partnerships so we may receive compensation for some links to products and services.
© 2025 NEWSCHOOLERS, INC.
NEWSCHOOLERS is a registered trademark of NEWSCHOOLERS, INC.
  • Bike
  • Fantasy Surfer
  • Newschoolers
  • Powder
  • Ridemonkey
  • Snowboarder
  • Surfer
  • TransWorld Skateboarding