NetLogo banner

Home
Download
Help
Resources
Extensions
FAQ
NetLogo Publications
Contact Us
Donate

Models:
Library
Community
Modeling Commons

Beginners Interactive NetLogo Dictionary (BIND)
NetLogo Dictionary

User Manuals:
Web
Printable
Chinese
Czech
Farsi / Persian
Japanese
Spanish

  Donate

NetLogo User Community Models

(back to the NetLogo User Community Models)

[screen shot]

Download
If clicking does not initiate a download, try right clicking or control clicking and choosing "Save" or "Download".(The run link is disabled for this model because it was made in a version prior to NetLogo 6.0, which NetLogo Web requires.)

## WHAT IS IT?

(This simulation places 2 tanks on the x-axis at a coordinate the user chooses. The tanks are then a specific distance away. Each player then has one shot they can take toward the other tank. This simulation is for 2 players)

## HOW IT WORKS

(The user has to select the initial velocity and angle(theta) for the shot and then click on the "shot1" button. The two tank positions are located at (tank1x, 0) and (tank2x, 0))

## HOW TO USE IT

(Player 1 has to initially place their tank on the x-axis by moving the "tank1x" slider. Player 2 has to initally place their tank on the x-axis by moving the "tank2x" slider. After the tanks are initially placed press the button "setup-board" to move the tanks to the correct location. Each player can take a guess or calculate the initial velocity and angle they need in order to hit the other tank. The distance between the 2 tanks is tank2x-tank1x. )

## THINGS TO NOTICE

(There are 2 sliders for the wall in the middle of the screen. One for the bottom wall and one for the top wall. Tanks have to shoot between the 2 walls in order to hit the other tank.)

## THINGS TO TRY

(Max out the sliders for the walls to only make a small opening and try to hit the other tank.)

## EXTENDING THE MODEL

(1) Try moving the tanks up on a platform(variables - tank1y and tank2y 2) Try making the "shot" look just like a cannonball with no line.)

## NETLOGO FEATURES

(Interesting or unusual features of NetLogo that the model uses, particularly in the Code tab; or where workarounds were needed for missing features)

## RELATED MODELS

(Projectile Attack)

## CREDITS AND REFERENCES

(Joseph Breisch - 2015)

(back to the NetLogo User Community Models)