High-Tech Foosball Mod Project
JakeBullet writes: "Project:
Take a standard foosball table and make it a little bit smarter. 1. The table should be aware of who's playing, the score and the status of the game. 2. Take the data from the game and use it to create a stats engine and player ranking system. 3. Project all relevant information about gameplay onto a flat screen. 4. Spend under $50.
Second post... fantastic. I have a question (poll I guess) for foosball players out there. Spinning or no spinning? Personally, I don't like spinning - especially since it can damage a table - but I've found that depending on where I play, house rules seem to change. What do you think? This leads me to an idea for a neat feature for a high-tech table - a spin detector that doles out appropriate punishment (i.e. not counting points scored from spins, or whatever).
It's useful to do this sort of thing for practise in finding technological solutions.
I'm sure even for people who knew a lot, there was something to learn here.
> Spend under $50.
Hey CowboyNeal, bet'ya $49.95 you can't take this laptop, climb inside that foosball table and stay down there while I hammer the surface back on..
First, I found it sorta wierd that he decided to use director as a front end -- Personaly I would have used flash since actionscript is less archaic than lingo is and for doing dynamic vector stuff flash cant be beat. But hey, more power too him.
I am, however, curious as to how he is getting this data (1's and 0's) from the serial port to director? I wasn't aware that lingo had any hardware level control (besides the keybord and mouse) -- unless he's got it wired up so the bx board is actualy simulating a mouse click, but he doesn't say. I find myself wanting more details.
And by the way, the article is a little misleading. $50 for the sensors, breadboard and card reader. Flat screen LCD, foozball table and computer not included. See store for details.
"The Wright brothers were the first to fly with a heavier-than-air machine, but boy did they have a lousy plane"
...can it sense your mood when you're loosing?
A)bort, R)etry or S)elf-destruct?
I'd be curious to know what the original statement of the project parameters were.
Also, it seems that the encoding on the student card may be the same as what we use; apparently the encoding of the social security number in my student card is the same as the encoding of the social security number at a local supermarket.
yours,
kbs
Well, he doesn't detect goals for 100%, right ?
...
...
Couldn't he combine the two systems ?
Like, detect when the ball hits the back plate + when it goes thhrough the vending machine censor. That way, if the ball just rolls in, the vending machine sensor will detect it, when it bounces the plate will detect it, and when they do bot (bounce but roll in anyway) they'll both detect it
It might get him over the $50 when adding extra sensors ofcourse
Linux hosting for $2.50/mo
Any system tied to SSN is pretty scary -- even with an MD5 hash the SSN is recoverable due to the small 'keyspace'. Comments?
From the article: In my opinion, the most interesting part of the project is the database that ties everything together. When the user swipes his or her NYU card, Director takes this information and sends it to a ASP script (running on an Windows 2000 box that is tied to an Access database). This ASP script runs a MySQL query through Access and spits back XML that contains information on the player (wins, loss, average points per game, number of games played, etc) . This XML is passed back into Director via getNetText and put into global variables which are then fed to the screen at the appropriate time.
ASP script on a Win2k box, tied to an Access DB, which runs MySQL queries, spitting out XML which is parsed in Director. Does this guy actually realizes what he has written?
Welley Corporation - SLM Scammers
Hmm. Let's consider the choices, shall we?
1. Fun
2. Not Fun
This guy chose (1) and now has an excellent foosball game, plus the admiration of thousands (notably NYU females, admit it, they're hot) and only a small load on his (borrowed) server.
You chose (2) and I suspect are at home poring over recent InfoWorlds.
Who's the better man? I leave that to posterity to decide. But I can guarantee I know who's enjoying his life more.
I'd love a Spin Detector on my TV... so that whenever a politician's trying to spin something I can be warned... ...although I guess it would prove useless because the damn thing would be flashing all the time...
yours,
kbs
- A large flat screen plasma TV "lieing around"
- A spare box running W2K
- Licences for MSQL (it was legal, right?)
- Licences for macromedia (that control app was made legally, right?)
- A Foosball table...
If I had all that lying around I am sure that I could of done it for $50 as well.... If not... well the licence for W2K alone would break that budget. And that is the cheapest item on the list!Not trying to take anything away from the hack, it was very cool, but saying that it cost $50 strikes me as a bit rich....
Spend a tenner on a ball. Get some people together. Find some green space. Use jumpers as goalposts. Play football. Ask one player to keep score.
Afterwards, in the bar, assess each other's footballing ability in a haze of lager and spittle.
rinse and repeat.
According to the "Official Foosball Rules" that came with my foosball table (which came with the house when we bought it...) spinning is _not_ allowed in tournament games.
As I've never played a 'tournament' I play with spinning allowed, but YMMV.
-Trillian
foosall can be played aloen just fine. Its good practice just to make shots and practice aim and differant moves.
unzip; strip; touch; finger; mount; fsck; more; yes; unmount; sleep
I'd love to know how it came to be called foosball? :)
Is it to do with the German way of spelling it, with that crazy B letter they have?
I've only ever known it as table football. In fact I couldn't work out what you were talking about at first
Get your own free personal location tracker
I was sort of dismayed to see how he seemed to stick with proprietary technologies like Windows and Director.
My guess is he was familiar with these "dreaded" proprietary technologies and wanted to finish the project sometime before he graduated.
Often, the best tool for a job is the one you already have handy and know how to use. It was a foosball hack, afterall, and not a governmental census database for an emerging country, right?
I was in Nantes when the AFBF held the national foosball (called "baby foot" here) tournament. Balls were litterally flying around the table. I considered myself a pretty good player until I saw real champions play...
Also, the foosball table that the guy used is really gross... He should have used a real foosball table instead. Those plasticky tables just suck, no way to lock a ball.
It's easy ... 3 Parts Gin, 4 Parts Vodka, 1 Part foosball table.
When we play foosball we rule that the ball has to drop to the return slot to count as a goal. If it hits the back plate and bounces out again we just carry on and blame the Russian Linesman.
4. Spend under $50.
:) workers to move the tv: $100
5. Cost of union (onion
6. School cost of relicensing from MS-SQL to DB2, several thousand dollars.
7. Expression on student's face when his project doesn't work since he only spent $50: Priceless.
Seriously, doesn't the professor factor in the cost of other tools, such as the database and other software in?
-
ping -f 255.255.255.255 # if only
Uh oh. The guys in my frat (don't ask) used to play a form of foosball where if you were shut out then you put your name on the wall of shame, and played with your pants down until you scored a goal.
Karma: Good (despite my invention of the Karma: sig)
He didn't say it cost $50, he said he spent less than $50.
We had something similar with our friends (not Greek related). We all got together for a rousing game of caps (like quarters, for all you uneducated people out there). House rules stood as whomever got shut out had to run approx. 500 feet outside and back naked. Our friends (one of whom I'm sure will post here and corroberate) has a sign signed with all the names of those who ran, my name is on there :)
I'm very sorry, besides the header is a little misleading I don't see anything innovative or interesting in this project... Back in '87 I had a teacher who used an Acorn and some homebrewn hardware to measure the speed of moving objects and other 'scientific' stuff and then draw graphs of the data gathered.
What does this fussball table that a pinball machine doesn't? IMHO it is just a rather primitive two person pinball game. Oh yes, it reads smartcards, very impressive.
Anyway I can image it must have been fun to built it. And... NYU now can measure how much time their students spend on playing fussball.
giel.y contains 2 shift/reduce conflicts
You put all this technology into the table and don't even include a 'boo button' for when the other player gets a goal? Come on!! Nothing soothes a bruised ego like hearing the crowd boo the other guy.
$5 / month hosted VPS on linux = awesome!
Here's another question:
What do you prefer, 3 goalies or one goalie?
Whenever playing with friends (with two people on a side) I always want to control the defensemen and the goalie (at which I do a frustratingly good job). I've always aboslutely detested tables with 3 goalies on them. They just don't make any sense in my opinion. There aren't three goalies in real soccer (football) and there are 11 guys on a side in real soccer (football), not 13.
Casual Games/Downloads
At the old office we used to have a pretty nice table (ah, the dotcom days).
There was a "move" I was fond of, the squeezer. You just kinda pinch the ball between the player and the table, and then you just cranked hard. The ball just shot out, and the forward spin on it was incredible. Many a time you would score a goal after the ball hit the goalie/defender, and just spun right around him to the side, and into the goal.
The point being: I'd consider that an "advanced" shot, but it bends the hell out of the bars. Would you allow that?
"If you could only see what I've seen with your eyes..." - Roy Batty
I have a foosball table similar to that one, albeit larger and heavier. In any case, once you get the case open, the ball invariably rolls down a smaller chute, one per side, to get to the bottom again. Sticking a sensor in that chute which would detect 100% of the time would be damn near trivial.
He should have spent the time to open it.
- Give a man a fire and he's warm for a day, but set him on fire and he's warm for the rest of his life.
Am I allowed to respond to all the feedback I've gotten? 1. Yes, yes, yes... I know that SQL != MySQL. That was a typo. I worked on multiple projects this semster - some using SQL to talk to Access, others using a MySQL database. I hope all the haters out there can forgive my two-letter typo. :)
2. Yes, yes, yes... there are beter ways to do this than my ASP -> SQL -> XML scheme, but I threw most of the code together while on an Amtrak train from Boston -> NYC. Maybe when the semester kicks off again I'll revisit the code that drives the stats engine and clean it up a bit... but come'on, it works fine now, and hey, that's all that counts in my book.
3. To whoever suggested taking apart the table: You try it. That thing is hot-glued shut and I was not planning on taking a crowbar to our beloved foosball table.
4. And, and of course, to all the "less than $50" people... *of course* it didn't cost less than $50... it uses a flat screen and a dedicated box! The write up I threw together makes reference to spending no more than $50 on *new materials* so I could afford Christmas gifts. Give a kid a break!
Um, I think that's about it. Meet me at the flagpole, 3pm sharp, if you want to discuss any other negative feedback. -- see, that's a joke. //dens
dens@dodgeball.com
ps: Thanks to all the postive feedback - esp the idea for dual-sensors in the goal, the mood of the players (no joke, there is a momentum meter built in which tracks unanswered goals), and to my favorite suggestion, the "boo" button. Ha!
my foosball table came with a scoreboard, timer, prewired goal sensors, and a cool center ball launcher(optional of course), and the whole thing only cost 60$
Moderation Totals: Flamebait=2, Troll=1, Redundant=1, Insightful=6, Overrated=1, Underrated=1, Total=12. (not mine)
... you could probably do something similar with...
a) A plane old computer lying around (I'd even say a 486)
b) Your favorite distro.
c) Java.
d) You could run a clotheshanger through the bottom of the goals and make it complete a circuit when depressed. This could link up to a $5 gamepad or other cheesy input device.
e) IIS? SQL? For Foosball? You could probably get away with plain text to keep track of things. If he was tracking velocity, shot placement, shot location, angle, number of beers.... well, I don't know how he'd get it. But if its just win-loss-ties, how hard could it be?
The ID reader was a slick idea though. I'll have to try out a shoppers club card on it.
Too bad my table sucks.
This space for rent.