11-21-2014, 11:58 AM | #1 |
Banned
Join Date: Nov 2013
Posts: 8,563
|
give me small, funny ideas to script
I'm talking dumb stuff like an infinite loop that prints out "ayyy lmao" in different colors, or easy problems to solve
need to kill some time while I'm waiting for people to call me back |
11-21-2014, 12:14 PM | #2 |
Digital Dancing!
Join Date: Feb 2006
Location: 80 billion club, NE
Age: 31
Posts: 12,981
|
Re: give me small, funny ideas to script
brute force a solution to the 8 queens puzzle.
__________________
|
11-21-2014, 12:28 PM | #3 |
Banned
Join Date: Nov 2013
Posts: 8,563
|
Re: give me small, funny ideas to script
you suck
Last edited by choof; 11-21-2014 at 12:28 PM.. |
11-21-2014, 12:35 PM | #4 |
new hand moves = dab
Join Date: Dec 2002
Location: he/they
Age: 33
Posts: 10,094
|
Re: give me small, funny ideas to script
Write an infinite loop that spits out a character in different spots horizontally in whatever terminal thing you're using.
xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx xxxxxxxxxx That kind of thing. I spent my whole time in math class doing stupid stuff with these on a TI-83 when I was in middle school, long before I knew anything about programming. Brings me back. |
11-21-2014, 12:52 PM | #5 |
Confirmed Heartbreaker
Join Date: Jul 2012
Age: 35
Posts: 5,859
|
Re: give me small, funny ideas to script
make an ascii poop generator
__________________
|
11-21-2014, 12:57 PM | #6 |
lol happy
Join Date: Oct 2005
Location: DESTINY
Age: 33
Posts: 12,193
|
Re: give me small, funny ideas to script
Make a program that turns an image into Twitch chat-style unicode art (not basic ASCII)
For example: into ░░░░▒▒░░░░░░░░░ ░░░░▒█░░░░░░░░░ ░░░▄▒▓█░░░░░░░░ ░░█░█▒▒█▄░▀▀░░░ ░░▒▓▐░▒░░█▀▄▀▀░ ░▒▒█░▓░░▄▌▄░▀▄░ ▒░░▒▓▓░▀▀▄░░▀█░ ░░▒█▓▒▒█▀░░▀█░░ ░░░░█▒▀░█▄▄░▀█░ ░░░░█▒█░░░░░░░▌ ░░░░▐▒▒▌░░░░░▄█ ░░░░░█▒▀▄░░░▄░█ ░░░░░▐▒▒▒▀▄░░█░ ░░░░░░▀▄▒▒▒▀█░░ ░░░░░░░░▀▀█▄█░░ ░░░░░░░░░░▓█▒░░ Here are your tools: ▓█▒░▀▄▌▐
__________________
Last edited by hi19hi19; 11-21-2014 at 12:58 PM.. |
11-21-2014, 01:03 PM | #7 |
2 is poo
Join Date: Sep 2005
Age: 32
Posts: 6,687
|
Re: give me small, funny ideas to script
Project Euler thanks bye.
|
11-21-2014, 01:06 PM | #8 |
Banned
Join Date: Nov 2013
Posts: 8,563
|
Re: give me small, funny ideas to script
i'm 2bad@math
Last edited by choof; 11-21-2014 at 01:06 PM.. |
11-21-2014, 04:37 PM | #9 |
Forum User
|
Re: give me small, funny ideas to script
Are you learning to code? Do you have much experience? Just curious.
I have always wanted to learn but I'm really bad at math and such too. I tried codeacademy but I haven't been on there in ages... agh. If I get enough time over a weekend I might go back and see what I can remember
__________________
Twitch | Stepping Stones 2! | Stepping Stones 3! | Stepping Stones 4! Submit to this - |
11-21-2014, 07:03 PM | #10 |
sausage
Join Date: Nov 2008
Location: Germany
Posts: 1,630
|
Re: give me small, funny ideas to script
make a really trippy Mandelbrot set visualization !!
Last edited by Xayphon; 11-21-2014 at 07:05 PM.. |
11-21-2014, 07:43 PM | #11 |
FFR Player
Join Date: Aug 2013
Posts: 90
|
Re: give me small, funny ideas to script
Write a program that continually outputs an animated train.
If you ever need more practice, one place I can point you to is HackerRank. It supports pretty much any language you might need, and has problems encompassing all varieties of problem and difficulty. https://www.hackerrank.com/ Last edited by Destroy2777; 11-21-2014 at 07:44 PM.. |
11-21-2014, 07:47 PM | #12 |
FFR Player
Join Date: Sep 2012
Location: England
Posts: 466
|
Re: give me small, funny ideas to script
here's a little thing i tried doing once but abandoned it:
ever get the frustration where you walk into a mcdonald's, desperately eager for an egg and sausage mcmuffin, only to find that you can't get one because it's like 7 in the evening and mcdonald's don't do 24 hour breakfasts? yeah, i do. so whenever this happens i slip into a mild existential crisis and 2 thoughts flow into my mind. (1) why the hell does mcdonald's only serve breakfast between 6am and 10:30am? (2) if only i could catch a plane right now to travel across the planet i'd be able to get a mcdonald's breakfast before 6am tomorrow. but... where? here's a list of latitudes, longitudes and timezones for major world cities. basically i want a function where you input your location and current time, and you get the location you should travel in order to get a mcdonald's sausage and egg mcmuffin as quickly as possible. you may assume that mcdonald's breakfast menu opens between 6am-10:30am every day, ignore daylight savings, and that typical flight speed of a plane is 900 km/h. also you can take the formula for the distance in km between two points given their latitude and longitude to be: partial credit goes to this site for implementing it but there is a major bug in it that it disregards the fact that you can arrive somewhere and wait for the mcdonald's to open before walking into it. i wanted to create a fixed version myself but i was too lazy.
__________________
Theorem: If you have a large enough number of monkeys, and a large enough number of computer keyboards, one of them will sight-read AAA death piano on stealth. And the ffr community will forever worship it. Proof Example ask me anything here mashed FCs: 329 Last edited by Zapmeister; 11-21-2014 at 07:52 PM.. |
11-21-2014, 09:02 PM | #13 |
no
Join Date: Jan 2004
Age: 33
Posts: 1,850
|
Re: give me small, funny ideas to script
|
11-24-2014, 12:47 PM | #14 | |
Banned
Join Date: Nov 2013
Posts: 8,563
|
Re: give me small, funny ideas to script
Quote:
idea rejected |
|
11-24-2014, 05:23 PM | #15 |
Digital Dancing!
Join Date: Feb 2006
Location: 80 billion club, NE
Age: 31
Posts: 12,981
|
Re: give me small, funny ideas to script
do this one it's easy
https://projecteuler.net/problem=14
__________________
|
11-24-2014, 05:55 PM | #16 |
Local Teenage Wastebasket
Join Date: Feb 2007
Location: My bed
Age: 26
Posts: 3,191
|
Re: give me small, funny ideas to script
a program where you enter a number and a letter and get a corresponding photo of tits
__________________
The above post has a 50% chance of being useless. Potentially. Maybe. BEST AAAs: WANDERLUST, Pandora, Necropotence, Mourning The Lost, Eradication, Feldschlacht Hey, we need some users on this site. Please join. And if you have not recommended any albums yet, do so. Please. I have a goal to reach. Here. NO WAIT THAT SHIT'S OLD GO HERE INSTEAD. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|