What's new

I may be the first person to play games on asus router

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

DDD

New Around Here
I was writing a script and wanted to try to see if the router's shell could run a simple game, actually I wanted to add a game to my script as an easter egg, I tried some existing shell games and finally found this Tetris, at first it ran with some bugs due to sleep incompatibility, but after the fix it worked like a charm, maybe not quite, because although the router cpu seems powerful, but while playing this game the cpu usage may exceed 80%.

tetris.png


For anyone who wants to try playing Tetris on their router:
Bash:
# go to the temporary directory (this game will be deleted after restarting the router)
cd /tmp

# download
wget https://raw.githubusercontent.com/l11/router-tetris/main/shtris -O ./shtris

# add permissions
chmod +x ./shtris

# run it
sh ./shtris

This script was not written by me, I just modified it to be Asuswrt compatible.

See the repository for more details: https://github.com/l11/router-tetris
 
Last edited:
I was writing a script and wanted to try to see if the router's shell could run a simple game, actually I wanted to add a game to my script as an easter egg, I tried some existing shell games and finally found this Tetris, at first it ran with some bugs due to sleep incompatibility, but after the fix it worked like a charm, maybe not quite, because although the router cpu seems powerful, but while playing this game the cpu usage may exceed 80%.

View attachment 41833

For anyone who wants to try playing Tetris on their router:
Bash:
# go to the temporary directory (this game will be deleted after restarting the router)
cd /tmp

# download
wget https://raw.githubusercontent.com/l11/router-tetris/main/shtris -O ./shtris

# add permissions
chmod +x ./shtris

# run it
sh ./shtris

This script was not written by me, I just modified it to be Asuswrt compatible.

See the repository for more details: https://github.com/l11/router-tetris
That's amazing... thanks for that!! :)
 
I hope someone is able to recreate the text-based "Zork" for the Asus line of routers! Game on!
 
I hope someone is able to recreate the text-based "Zork" for the Asus line of routers! Game on!
Code:
# opkg info zork
Package: zork
Version: 1.0-20180131-1
Depends: libc, libssp, librt, libpthread
Status: unknown ok not-installed
Section: games
Architecture: aarch64-3.10
Size: 177255
Filename: zork_1.0-20180131-1_aarch64-3.10.ipk
Description: Zork (also named as Dungeon) is a text adventure game written by
 Tim Anderson, Marc Blank, Bruce Daniels, and Dave Lebling in 1980.
A few games in Entware…
 
I'm going to buy GT-AX6000 console, if needed.
Nice! I hear it comes with a game controller that plugs directly into your WAN2 port!
 
I like to shoot with laser beams. :)
I'd rather frag those blocks while camping in the covered protection of a tree
 

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top