34 downloads 105 views Nov 13, 2023
profile

Battleship by JackMacWindows

project thumbnail

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/36
Git Repository
comments
You can login with Discord to leave comments and reply to others!
pfp Mr_Octopus_2020 5 months ago

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?