O'Reilly logo

Wicked Cool Ruby Scripts by Steve Pugh

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. GAMES AND LEARNING TOOLS

GAMES AND LEARNING TOOLS

Everyone knows that games are fun—the gaming industry is huge. This chapter will show you how to design scripts that can be used for amusement, learning, and gaming. I find writing scripts that produce games is a lot more interesting than writing scripts to parse through firewall logs. But hey, that's just me. Read through these and see what you think. The first script is a Sudoku solver, and while not a game script, it is guaranteed to find the solution for every Sudoku puzzle!

Sudoku Solver

Sudoku Solver

sudoku.rb

There are a few things you have always been able to count on in your local newspaper. One is crossword ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required