Skip to content

Comment on Show HN: Multiplayer NES Server in 77 Lines of Go

Comments

mmm, not sure if doing this counts as using 77 lines of code:

  import (
	"github.com/gin-gonic/gin"
	"github.com/gorilla/websocket"
	"github.com/olahol/melody"
	"net/http"
	"sync"
  )
But still impressive.

Also the NES emulation is done in Javascript, making the 77 lines a little less impressive. It's "just" server for handling multiplayer part.

Indeed, the title is a bit misleading.

I didn't expect anything but a multiplayer proxy. If it was truly an emulator in 77 lines it must be horribly obfuscated.

    import ( 
        github.com/olahol/melody-jsnes
    )
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.