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 ...

Get Wicked Cool Ruby Scripts now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.