TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Making Pizza with Python

51 pointsby progover 14 years ago

7 comments

RodgerTheGreatover 14 years ago
If anyone's interested in doing something similar in Java or another JVM language, check out the AWT Robot[1]. It's one of those hidden gems of the Java API.<p>[1] <a href="http://download.oracle.com/javase/6/docs/api/java/awt/Robot.html" rel="nofollow">http://download.oracle.com/javase/6/docs/api/java/awt/Robot....</a>
anthonybover 14 years ago
I tend to do similar things with the games that I play, including Farmville. Once I've figured out the optimal strategy for things, I find that it's much more interesting to code it up, rather than go through the motions.<p>Some people consider it cheating, but I consider it more 'taking advantage of suboptimal game design', ie. if I can script it, it's likely not a very interesting game in the first place.
评论 #2202406 未加载
kazuyaover 14 years ago
Related:<p>RoboGamer uses the same interfaces human uses (i.e. video and a joystick) <a href="http://www.youtube.com/watch?v=2vH62EEfH6E" rel="nofollow">http://www.youtube.com/watch?v=2vH62EEfH6E</a><p>There was another project, vArashi, to achieve similar, circa 2001.<p>And probably you remember rogomatic...
Sukottoover 14 years ago
Very interesting programming project. I'll have to give that a try sometime.<p>For day-to-day automation of stuff, I like to use sikuli [1] which lets you automate pretty much anything in a gui using screenshots. (Their editor is pretty cool). It's a research project so a bit rough around the edges, but still worth your time to check it out if you're at all interested in automation (auto-configuring systems, driving applications, playing flash games, etc)<p>[1] <a href="http://sikuli.csail.mit.edu/" rel="nofollow">http://sikuli.csail.mit.edu/</a>
_b8r0over 14 years ago
Seriously, you shouldn't have posted this. My weekends are busy enough without building gambling bots too ;)
pepijndevosover 14 years ago
Could anyone upload a vid? I don't run Windows.
johnconroyover 14 years ago
amazing work. Now for the pokerbot...
评论 #2201859 未加载
评论 #2201806 未加载