77行Go語言代碼寫成的Multiplayer NES游戲服務器
來自: https://github.com/olahol/melody-jsnes?url_type=39&object_type=webpage&pos=1
melody-jsnes
Super simplistic Multiplayer NES server in Go.
</div>
melody-jsnes is a demo project showing off Go's real-time web app capabilities. Its design is straight forward, it just snapshots the canvas of player one and sends it to player two and sends back inputs from player two. Images data goes in direction, key codes in the other.
Usage
You will need to have at least one NES ROM with the extension .nes .
$ git clone --recursive https://github.com/olahol/melody-jsnes $ go get $ go build $ ./melody-jsnes $ $BROWSER http://localhost:5000
Contributors
- Ola Holmstr?m (@olahol)
- Chris Cacciatore (@cacciatc)
</ul> </article>
本文由用戶 chuanqiyu 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!