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

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:

Viktor Jaep

Very Senior Member
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!! :)
 

Viktor Jaep

Very Senior Member
I hope someone is able to recreate the text-based "Zork" for the Asus line of routers! Game on!
 

Tech9

Part of the Furniture
Next up...Doom, because it runs on practically everything.

Yes, bring it on! Must have multiplayer. We are talking about networking gear after all. Asuswrt-Merlin Gaming Edition, @RMerlin?
 

dave14305

Part of the Furniture
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…
 

Clark Griswald

Very Senior Member
:) I knew my life was complete when I got here:

View attachment 41853
That screen shot reminds me of the incredible graphics of the golf game I played on my first computer.
Waiting for one of the "Talents" to write an amtm "Router Games" script.
 

Tech9

Part of the Furniture
Where do we post game requests?

Star Wars: Dark Forces (1995)

1655247668215.png


I'm going to buy GT-AX6000 console, if needed.
 

Viktor Jaep

Very Senior Member
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!
 

Tech9

Part of the Furniture
I need Alt+F4. Newer USB keyboards are not good. I'm working on PS/2 to Ethernet adapter.
 

Tech9

Part of the Furniture

Viktor Jaep

Very Senior Member
I like to shoot with laser beams. :)
I'd rather frag those blocks while camping in the covered protection of a tree
 

Tech9

Part of the Furniture
while camping

I always take at least one router with me when camping. Sometimes two access points too. May need to set up a network in the woods, who knows.
 

Latest threads

Sign Up For SNBForums Daily Digest

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