Ruby Video
Talks
Speakers
Events
Topics
Leaderboard
Sign in
Talks
Speakers
Events
Topics
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
RubyConf 2018 - Cheating with Ruby by Cameron Dutro I used Ruby to cheat at a computer game, and it was so much fun. Come to this talk to hear about a game solver that analyzes a screenshot of the game and calculates the correct answer. We'll chat about dynamic image analysis, perceptual hashes, and the traveling salesman problem. I promise, it's going to be great.
Date
Summary
Markdown supported
The video "Cheating with Ruby" presented by Cameron Dutro at RubyConf 2018 delves into the use of Ruby for developing a game solver intended to assist in playing the computer game "Pet Detective". The speaker introduces the concept of cheating not in the traditional sense, but as a means of enhancing one’s understanding of programming and image analysis. Key points discussed include: - Introduction to the speaker's background and personal insights - Overview of the game "Pet Detective" and its mechanics, which involve picking up and returning pets to their homes while managing gas units. - The motivation behind creating a tool, Pet Detector, was to learn the most efficient way to play the game rather than simply obtaining answers. - Explanation of how the Pet Detector uses Ruby and the RMagick library for manipulating images to analyze screenshots of the game. - Description of the development process, including leveraging Dijkstra's search algorithm for calculating optimal routes within the game. - Detailing the image analysis techniques employed, such as: - Boundary detection through probing to identify the game board's dimensions. - Quadrant analysis to effectively locate game elements such as pets and houses. - Use of perceptual hashing for accurate identification of pets in varying scenarios within the game. - Live demos showcasing the Pet Detector in action, leading to the discovery of the most efficient paths to complete game levels. - Emphasis on strategic play and prioritization when tackling game challenges. The presentation concludes with key takeaways on the importance of utilizing programming to enhance problem-solving abilities in gaming and encourages the audience to think of cheating as a pathway to learning rather than moral failure.
Suggest modifications
Cancel