92 downloads 236 views 2 likes Nov 13, 2023
Battleship by JackMacWindows
I made a quick game of Battleship for ComputerCraft. It uses an 8x10 board (!) and supports simple netplay over Rednet. If you attach a speaker as well, it'll play sound effects. To play, attach two computers together with modems (wired or wireless), run battleship on the host computer, and run battleship on the other computer, where is the ID of the host. Then place your ships, and get blasting! You can either use the arrow keys + enter, or a mouse cursor.
wget run https://pinestore.cc/d/36Git Repository
comments
You can login with Discord to leave comments and reply to others!
This game is excellent that it allows me to challenge my friends! Sound effects are also great :P
However I found that the modem it used has never closed. Maybe adding a line of modem.close() will be better?