jerith ([info]jerith) wrote,
@ 2007-01-11 18:04:00
Previous Entry  Add to memories!  Tell a Friend  Next Entry
Entry tags:erlang, games, internet, learning, programming

Erlang and online games
Taken verbatim from an email I sent to a programmer's mailing list I'm on:

I have decided that the only way for me to finally get around to
learning Erlang is to write a nontrivial project in it.  To this end, I
have decided to implement a multiplayer online game of some kind.

I'm only really interested in the Erlang backend, so I'm thinking a
text-based MUD of some kind that players can telnet to, but if someone
wants to write a graphical client or something that's also good.  A
frontend can be in any language/platform combination as long as I can
run it in Linux for testing.

I could probably do the whole backend thing myself given enough time,
but collaborators make things easier and more fun, especially to bounce
ideas off and discuss bits of code.  This is a learning project, so I'm
not expecting anyone to know Erlang at all before they join.

Also, people interested in the game design and worldbuilding aspect are
welcome to help out in just those areas without having to write any
code.


The offer stands here as well. Tell your friends, the more the merrier!



(5 comments) - (Post a new comment)


[info]harper_knight
2007-01-11 11:38 pm UTC (link)
Heh. I'm not a programmer at all, all I can do is fiddle around with linux a bit, but I love writing and RP so if you want some helps with game design and worldbuilding (i love worldbuilding, my own is getting kinda complex now) I'd like to help some.

opal.dragon@gmail.com and i might just come back to #schlock_mercenary if I can figure out how ta use emacs or somethin.

Vespers

(Reply to this)

Why isn't there a NAME field where it says 'from' ffs?
(Anonymous)
2007-01-30 06:44 pm UTC (link)
Anyways, It's LordAndrewSama, from Ron2ks forum. he posted the link to this place. id like to help, it sounds fun and educational. I will be finishing my CTI course in webdev in two days, language: JAVA. I don't know how much help i can be though. and i don't even know what erlang is, other than a programming language. will wiki it after this post. Will help where i can though.

not leaving email, too much spam as is. just PM me on ron's forum.

(Reply to this)

bogochat
(Anonymous)
2008-03-12 05:07 am UTC (link)
I downloaded (cut/paste) your code and it compiled with no problem!

Great - I can't tell you the number of times I have become interested in some code and alas it doesn't work. Then I spend a bunch of time figuring out why.

Anyhow, I did a bogochar:listen(8888).

It sat there waiting for input as it should.

Then I opened up another xterm and tried to use ssh to talk to it.

Alas, I am unfamiliar with ssh

By the way, I am using ubuntu - fiesty and it does not have tty at all. I think it is depricated.

Anyhow:

echo $HOSTNAME
efittery-desktop

port I am using is 8888

IP address I am using is 127.0.1.1

Could you be so gracious as to email me the command line I should put in?

I suggest your tutorial should have this command line explicitly specified.

thanks a lot

elmer_fwd@antelecom.net

By the way, posting a response here with the information would be perfectly acceptable.

thanks again

(Reply to this)

Re: bogochat
[info]jerith
2008-03-12 07:59 am UTC (link)
It's just listening on a socket, there's no ssh involved. You can use either telnet or netcat to connect to the bogochat server:

telnet localhost 8888

nc localhost 8888

Telnet is pretty standard, but it tries to interpret a bunch of control codes which may be a problem (but probably won't be) if you're not talking to a telnet server. (For a text-only connection, this is fine.)

Netcat just sends and receives raw data and is thus a little better for testing.

(Reply to this)

echo.erl, basicchat.erl, multiecho.erl and bogochat.erl
(Anonymous)
2008-03-12 10:59 pm UTC (link)
I just got done trying them all out.

Rather cool!

Thanks for the examples. I am still learning, but this was all very very interesting.

By the way, I was having trouble getting:

nc localhost 6666

to work properly.

I found reference to:

nc -v -v -v localhost 6666

and that worked fine.

Just a little fly in the ointment that will be figured out in the future.

really good stuff.

I am looking at some of your other stuff, specifically the bash stuff.

take care and have a good life.

(Reply to this)


(5 comments) - (Post a new comment)

Create an Account
Forgot your login or password?
Login w/ OpenID
English • Español • Deutsch • Русский…