Skip to content

Clayal10/enders_game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

134 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ender's Game

 ____  __ _  ____  ____  ____  _ ____     ___   __   _  _  ____ 
(  __)(  ( \(    \(  __)(  _ \(// ___)   / __) / _\ ( \/ )(  __)
 ) _) /    / ) D ( ) _)  )   /  \___ \  ( (_ \/    \/ \/ \ ) _) 
(____)\_)__)(____/(____)(__\_)  (____/   \___/\_/\_/\_)(_/(____)

Play Now!

Use this LURK client and connect to port 5069 with the default hostname to play in your browser.

Description

Enders's Game is the first of many books in a series detailing the journeys of a young man as he both saves the universe and becomes the greatest monster in all of history. Explore battle school, command school and other worlds in this MMO text-based dungeon crawler game.

Dev Info

Server

The Ender's Game LURK server is built entirely in Go utilizing the LURK protocol for client / server communication.

Client

The client is built with a Go backend and vanilla Javascript font-end with a REST API for communication. All of the text processing is done in the backend to limit Javascript processing.

For decently real time updates, one of the endpoints is meant for long-polling. One goroutine is constantly checking if anything can be dequeued from a queue which gets populated by a goroutine reading from the server socket. Upon dequeuing a message from the server, a response is written to client.

Bugs

There will likely be lots of bugs in the server and or client due to the protocol not having very strict rules. The client is built with the Ender's Game server in mind.

Other LURK Info

This Wireshark Dissector was very helpful while developing both the server and client.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors