Golf

**PC/Console/Mobile/tModLoader-Only Content**: This information applies *only* to the **PC**, **Console**, **Mobile**, and **tModLoader** versions of *Terraria*.
**Golf** is an in-game activity where players hit Golf Balls into Golf Cups using Golf Clubs. Golf supplies can be purchased from the Golfer NPC. Golf courses are not naturally-occurring and must be built.

## Gameplay

### Setting up

The player needs to obtain the following basic components to build their course: a Golf Ball of any color, any Golf Club, a Golf Cup, and a Golf Tee to place the ball.

### Playing

To play golf, the player should either place a Golf Tee and then put a ball on it by pressing `⚷ Interact` on the tee, or just drop the ball on the ground. Then, they should use one of the four types of clubs to hit it, those being the Driver, the Iron, the Wedge, and the Putter. The goal is to get the ball into the hole in as few hits or "strokes" as possible. Using the Golf Whistle will return the ball to its previous position with a one-stroke penalty.

## Golf score

Separate from the regular golf scoring system of stroke count, **golf score** is a statistic used to track a character's overall experience with playing golf. The golf score is calculated based on the number of strokes used and the total of the Euclidean distances of each shot. That is, by drawing a straight line between each location a shot is taken, and where the ball subsequently lands, the total distance will be the total length of all those lines, measured in feet. The calculated score is then rounded down before being added to the character's accumulated score. The exact score before rounding is calculated using the following formula:

`score = (total distance / 16) / (strokes + 2)`

A player can accumulate a maximum total score of 1,000,000,000. The Golfer's shop inventory will expand as the player increases their total score, but will not expand after 2000. The availability of some of his quotes is also tied to the player's golf score. In addition, reaching certain golf score thresholds unlocks the Football in the Party Girl's shop and the Hunter Cloak in the Clothier's shop.

## Notes

* The speed and trajectory of Golf Balls are affected by the following:
	+ Golf Balls will travel further when hit from hard surfaces such as Stone Blocks or Gray Bricks. Starting on a Golf Tee will make the ball travel further as well. Ice will cause Golf Balls to skid further when rolling on it.
	+ Conversely, surfaces such as Sand, Silt, Slush or Living Leaves will slow Golf Balls down and make them harder to swing, unless with a Wedge club. Honey Blocks will also slow them down, practically to a halt.
	+ Golf Balls will not break Cobwebs, but they will slow down when moving through them.
	+ Plants such as vines, tall grass, and thorny bushes will slow down the movement of Golf Balls. Using the Lawn Mower to mow grass will help Golf Balls travel faster and further.
	+ Water and honey will severely hinder the movement and trajectory of Golf Balls, while lava will not.
	+ Golf Balls are affected by bouncy blocks such as Silly Balloons.
* Since Golf Balls count as projectiles, they can be moved by Conveyor Belts and will activate Teal Pressure Pads.
* Golf trajectory is not affected by wind speed. Additionally, Golf Balls are not affected by Teleporters, portals, or explosives.
* Golfing cannot be done in reverse gravity (using the Gravitation Potion or the Gravity Globe) because the player will not be able to swing the club in reverse gravity.
* Golf Balls do not seem to adhere to the reduced gravity effect in the Space layer.

## Tips

* The player can use the same level location for an Old One's Army arena and driving range. Putting a tee at one end and a cup at the other can give the player plenty of points using the driver.
	+ If the player puts multiple Golf Cups followed by a large one-tile wide wall at the end, they can increase their one-shot chance significantly and therefore increase the score points they gain. Mowing the entire location helps as well, as balls bounce much higher and further on mowed grass.
* On a large world, the player can also set up a tee at the top of their Hellevator and using a putter to putt down into the Underworld.
* Since the camera follows the Golf Ball once shot, it can be easy for the player to use golf to search their world for Floating Islands. The player can simply put down a Golf Tee and use a Wedge or Iron club to launch the Golf Ball upwards. This has the added benefit of being faster and cheaper than most other early-game methods as the Golf Ball travels fast without any additional purchases needed for each shot.
* Using a Golf Tee will automatically place a Golf Ball on it even if the player has no Golf Balls in their inventory. If the player already has a tee, there is little reason for the player to buy Golf Balls unless to dye into different colors.
* Pyramids are an effective spot to farm golfing points, due to the slanted nature of them, and the distance they can go down. sloping the blocks with a hammer increases the likelihood of getting a hole in one.

## Trivia

* While a player, Ghost, and the death screen can block a meteor from spawning at a location if the landing spot is within frame, the spawning of the meteor can actually be seen using Golf Balls to move the camera.
* Some custom-made maps are dedicated entirely to golfing, featuring large courses.

## See also

* FORE-RRARIA! Hitting the Links with Terraria Golf (May 11, 2020), a forums post by Re-Logic introducing the mini-game.
* Terraria 1.4 Golf Reveal! (May 11, 2020), a video by YouTuber Khaios introducing golf and showing the golf map *Putt-rarria*.

## History

PC version
* Desktop 1.4.4.2: Fixed a softlock caused by leaving worlds in certain ways when using Drones or Golf.

* Desktop 1.4.0.1: Introduced.

Console version
* Console 1.4.0.5.4.1: Introduced.

Mobile version
* Mobile 1.4.0.5.0: Introduced.

## References

1. ↑ Information taken from the PC 1.4.3.6 source code, method `AccumulateGolfingScore()` in `Terraria.Player.cs`. There may be inaccuracies, as the current  PC version is 1.4.4.9.