Home
Start a new game
Explore games
Help
Log in or sign up
Log in
Username
Password (
Forgot it?
)
×
New to Playfic?
Full Name
Email
Username
Password
Password (confirm)
Are you sure about this?
Minigolf 1
by
Zachary Hodgens
Played 80 times
View game source
(spoilers!)
Download the
.z8 file
Source Code
"Minigolf Challenge 1 Zach" by "zach" MainRoom is a room. Printed name of MainRoom is "The House, 3 AM". Description of MainRoom is "The main room of the home you rent has been converted into Course 9 of an unseen golf course. Course 9 will require you to putt between the legs of the dining table and into the far end of the kitchen, where the hole awaits. It's your turn to putt." The player carries the putter. Description of the putter is "It has a Playboy bunny logo on the handle." Garrison is a man in MainRoom. Description of Garrison is "He's wearing a robe, as is his custom." [ Instead of talking to Garrison, say "The Golf Sage raises his hand to remind you to keep noise down on the links." ] Kyle is a man in MainRoom. Description of Kyle is "He put on his normal golf attire for this." [ Instead of talking to Kyle, say "Kyle whispers 'We gotta finish this and go to bed soon.'" ] The ball is here. Description of the ball is "Kyle has dozens of these in his room but there's only the one out here." Instead of taking the ball, say "You'd incur a stroke penalty for that." The hole is scenery in MainRoom. Description of the hole is "It's one of those automatic putt return things. You found it at Goodwill." The table is scenery in MainRoom. Description of table is "The glass top attracts a lot of gecko droppings for some reason. The instructions are open on the table." The instructions are scenery in MainRoom. Description of the instructions are "Rules for [italic type]The Ultimate Game of Golf[roman type], a nightmarish board game you found at Goodwill. Imagine all the worst parts of golf and Warhammer 40,000 combined. But it's the only board game in the house so here you all are.[paragraph break]The current page lists they types of legal golf swings: feather touch, power drive, top spin, and vertical slice." Instead of taking the instructions, say "Only the Golf Wizard is allowed to touch the instructions and Garrison is concentrating on the game right now." The block attacking rule is not listed in any rulebook. Check attacking: if the noun is not the ball: try attacking the ball; Carry out attacking the ball: now the command prompt is "What kind of swing do you use? >" To decide whether selecting swing: if the command prompt is "What kind of swing do you use? >", yes; no. After reading a command when selecting swing: let V be text; let V be "[the player's command]"; if V matches the regular expression "feather touch": say "You swing the putter at the ball. It makes a satisfying 'donk' sound. The ball zips beneath the dining room table unhindered, and has just enough momentum to make it to the hole.[paragraph break]Your roommates give a respectfully quiet round of applause. [paragraph break]The putt return activates and launches the ball clear back to your feet. Ready for another try?"; now the command prompt is ">"; reject the player's command; if V matches the regular expression "top spin": say "You swing the putter at the ball. The amount of spin on the ball causes it to bounce harmlessly off of one of the table's legs and lose all momentum.[paragraph break]Cheeseburger emerges from whatever shadowy corner of the house he'd been sleeping in and races over to the unattended ball. He bats it away from the dining room with a swipe of his claw, and chases it back into the shadows.[paragraph break]Kyle sighs, and grabs a new golf ball from his room, dropping it on the floor in front of you."; now the command prompt is ">"; reject the player's command; if V matches the regular expression "vertical slice": say "You swing the putter at the ball. The speed and angle of your swing launch the ball up onto the kitchen counter.[paragraph break][italic type]CRASH![roman type] The ball collides with a ceramic bowl, blasting it into pieces. Fortunately it belongs to your landlord, and you all hate that guy.[paragraph break]Kyle sighs, and grabs a new golf ball from his room, dropping it on the floor in front of you."; now the command prompt is ">"; reject the player's command; if V matches the regular expression "power drive": say "You swing the putter at the ball. It launches into the air with enough force to blast trough the flimsy netting on the screen door.[paragraph break]The ball sails over the fence and into the neighbor's open garage. It rolls halfway up a quarterpipe before rolling back down and eventually coming to a rest in their driveway.[paragraph break]You're not hopping your neighbor's fence tonight.[paragraph break]Kyle sighs, and grabs a new golf ball from his room, dropping it on the floor in front of you."; now the command prompt is ">"; reject the player's command; else: say "That's not a legal kind of swing according to the instructions. Try something like 'feather touch'."; reject the player's command;