bsdgames software package provides collection of classic textual unix games, you can install in your Debian 9 (Stretch) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install bsdgames
bsdgames is installed in your system.
Make ensure the bsdgames package were installed using the commands given below,
$ sudo dpkg-query -l | grep bsdgames *
You will get with bsdgames package name, version, architecture and description in a table
| Distro | Debian 9 stretch |
| Section | Games |
| Package | bsdgames |
| Version | 2.17-24 |
| Description | collection of classic textual unix games |
| Sub Section | Games |