Write Your Own Freenet-based Game
lhdentra writes "Linux Journal is carrying an article by Brandon Wiley of the Everything Over Freenet project explaining how you can create your very own turn-based game, running over Freenet. He claims it's faster than playing chess by post."
Don Negro
Don Negro
Perl 6 will give you the big knob. -- Larry Wall
http://www.genkiland.net/CowboyBebop/Sessions/sess ion14.txt
Besides that, I really can't think of a practical use for this, besides reworking FreeNet's topology and such. In any case, it's interesting.
Freenet supports pseudonymous interaction, and for many EOF (Everything Over Freenet) projects like IRC, gaming, etc., pseudonymous interaction will be required for reliable functionality. Of course, if you want to play anonymously and can find suckers to take you up on it, more power to ya.
Now really, the EOF project is cool, as it gets more and more diverse developers to come play in the freenet world. Some applications will be just silly, but some will provide useful functions where freenet's caching, security, anonymity, or pseudonymity (or a combination of the above) can add some really cool features.
Freenet has some webpages published within it (images and everything are distributed around the freenet network) already, and I believe there's a webcam project as well.
Returned Peace Corps IT Volunteer
Fwah. :)
Turn-based pen-and-paper RPGs are as fun as they've always been.
And have the advantage that you see your friends in real life, and can throw popcorn at the DM when you encounter a beholder.
-- Veni, vidi, dormivi
I think this is a very clever design, and nicely illustrates how to use Freenet's signed-subspace keys to avoid interference from a third party. I do believe, however, that it suffers from a couple problems inherent in the design of Freenet--- although only the first looks like a showstopper to me.
Perhaps a better algorithm for searching could help (for example, finding the "next" number on game creation by doing a search for 1, 2, 4, 8, etc., and then searching in the partially-used interval you find.) But--- I don't see any way of making it faster to find games that have been created but not replied to. Random search doesn't seem promising either unless many more games are created than actually get played--- which may well be feasible.
I don't fully understand the mechanisms by which Freenet prevents duplicate keys, but I believe it is vulnerable to network partitioning (or just insufficient TTLs). In any case, heavy contention on a small portion of the namespace could quickly bring to light any flaws in the protocol or implementation. :)
A natural idea is to have an indexing service which keeps track of which games have been started but not replied to yet. But once you introduce such a mechanism, you might as well use that instead for game setup.
Games may also appear in retrospect to contain illegal moves if a move is lost by the system and and replaced--- but this is not a big problem, since the "cheating" can only be done by the player who would stand accused.
(I realize that the article was only meant as a sketch--- and that the author admits Freenet isn't reliable--- but the protocol can and should address how to handle the unreliability.)
- Congestion control. Since Freenet includes no notification mechanisms (nor am I suggesting it should), clients must constantly check for keys they desire. This can naturally be tuned to provide some good compromise between response time and local resource usage. However, there is little way for a client to be notified that it is using too many resources elsewhere in the network. Freenet, just like the Internet, can suffer congestion collapse. (Rate-limiting implies dropping requests. Queueing only delays the time until you have to drop.)
Don't get me wrong--- I like Freenet; it has some very cool technical ideas. However, I think the claims of its usefulness (such as "uncensorable") are overstated. In particular, it's only effective against law-abiding censors, not totalitarian ones, who will cheerfully make running a Freenet node a punishable offense. Further, Freenet only changes the problem from "finding a copy of the forbidden content I want" to "finding the key for the forbidden content I want". (A smaller piece of information, certainly, but still one that has to be distributed outside of Freenet and is thus subject to interception and censorship.) Indexing is, in my opinion, a feature that any successful content-distribution system has to address.I started up a Quake3 Arena by post server.
My move is B5 to C5...
Ehh.. I don't even know the terms.
Gaute
I didn't say that there wasn't any content, just that all the content is built on top of a model where the only two actions are putting something in, and taking it out again (I mean requesting, not removing). The same thing goes for all of the various more advanced protocols. Also that we are loosing a lot data from the network at the moment, which is true, but I am hopeful that I will be able to improve that by the end of the summer.
&& oskar
What Freenet provides in this model is simply a balloon and honeypot ("So it does!" said Pooh. "It goes in!" "So it does!" said Piglet. "And it comes out!") which I think most people are aware is all that Freenet is at the moment (and unfortunately it currently seems to have a rather big hole in the bottom of the honey put to boot).
Brandon's creative ways of adding any service on top of this limited base are fun, but they aren't really specific to Freenet as equivalent protocols would work over any system that provides a secure way to put things in and take things out. In fact, it is pretty easy to see how TCP could be implemented over any such system be enumerating each packets name (it would be faster than rfc1149 anyways...)
&& oskar sandberg
What about Solitaire by post? Or Marbles by post? or, my personnal favorite, Twister Online!
No boom today. Boom tomorrow. There's always a boom tomorrow. - Cmdr. Susan Ivanova
--
I hope they make games like Quake for Freenet .. and I thought the lag was bad over 56k ;)
--
microsoft, it's what's for dinner
bq--3b7y4vyll6xi5x2rnrj7q.com
it's a sig, wtf?
Black Nova Traders is a take off on the old BBS game of Tradewares.
Turn based definetly slows the pace down, but it allows many people (100's) to play in the same game.
Its not quake, netrek, or even nethack, but it has its place.
--
--
Zot O'Connor
If you put Freenet in the same speed category as erosion and tectonic shifts, then, yes, I think you've got it...
Technology is driven by two factors:
1. Its ability to enable sex.
2. Its ability to enable game playing.
So the ultimate way to develop technology is to find ways to apply it to sex based games!
(Making InterSextions (basically a sex based Monopoly game) one of the most important programs of the 20th Century)
--Ty
I just like to add that Freenet features anonymity, but you can choose to create new virtual identities only you have the key to. In effect, anonymity prevails. Noone can link the key or "nym" to your computer or your personal name.
The good points of a distributed system like this is: 1) no sentral server 2) no snooping parties or middle-man attacks 3) anonymity, you don't have to worry about getting cracked, DOSed or pinged to death. The bad news is 1) high latency 2) more complex and unreliable 3) need for a trust-model.
As a final point, if every inventor on earth listened to negative talk like this, we'd still be smashing rocks together.
- Steeltoe
http://www.debunkingskeptics.com/
Searching...g ames
C hess
Found [1,103,038] hits for chess.
Displaying 1 - 5
1. Chess_Christina_Ass_Chess_Porn_Britney_MP3_Wares_
2. Christina_Ass_Porn_Chess_Britney_MP3_Wares_games
3. Christina_Chess_Ass_Porn_Britney_MP3_Wares_games
4. Christina_Ass_Porn_Britney_Chess_MP3_Wares_games
5. Christina_Ass_Porn_Britney_MP3_Wares_games_Chess_
G.H.
Just wait till some crappy band steals your nic.
The article is available in Freenet as freenet:KSK@gaming.html. Oh, yeah - that's another thing Freenet is good at ;-)
I was just thinking there is nothing stopping the client/server verifying inserts like GJ's BBS/chat system. I've tried it, it works. The more people (and by people I mean node operators) Freenet attracts, the faster and more reliable it becomes. I've certainly noticed an increase in reliability even over the time I've been running a node.
This implementation may be just proof of concept, but the possibility is there for some really interesting interactive applications of Freenet.
Maybe I didn't come across very well saying that. I like a challenge, but if I was up against I don't think there'd be much scope for entertainment. YMMV.
The point is that Freenet allows you to create a virtual entity (or "nym" as they call it) totally untraceable to you, by using SVKs and such. For example, one of the visitors to a freesite might want to play the owner at chess. They both might want to play honestly, but without revealing each other's identity. Freenet seems to be becoming more and more like an anonymous, uncensorable WWW.
Various other pieces of software have been developed, notably freeweb and Snarfzilla, to help with freesite insertion and/or browsing for stuff. HTH
Since there is no centralised namespace, there isn't really anything to get corrupted. Plus, there is no permanence in Freenet, so the files only stay around for as long as they are requested (eg, the First In-Freenet International Chess Championship might hang around for a while, but a quick private game probably won't). Also a large amount of requests is very good for Freenet - more activity means more organisation and faster responses. Basically, a very good thing.
Same thing as the uber-silly TCP over email protocol. It *can* be done, it can be *shown* that it can be done, and somewhere out there is some bored guy/gal who will see the light and implement something useful.
e.g.: When Microsoft put out their Active Accessibility API to make it easier for us to make Win32 applications that can be accessed by people with disabilities, I doubt any one of them thought some jackass (me) would use it to turn AOL's Instant Messenger into a magic hate ball (think magic 8 ball but this one answers your questions with rage & spite instead of vagueness). The easier way to do it of course would be to just create a quick plugin for TiK (tik.sourceforge.net), but nooooooooooooooo, not me. I see a cool new technology (shut up, AA API was new to me...) and I decide to abuse it. This freenet game thingee is the same thing...
Peace,
Amit
ICQ 77863057
[o]_O
Technology is driven by two factors:
1. Its ability to enable sex.
2. Its ability to enable game playing.
With anonymous porn, freenet clearly had the first all set up, but now that it has the second, there are no more obstacles to its widespread adoption.
Thank you for reading
Peace,
Amit
ICQ 77863057
[o]_O
TCP/IP is a better choice for Chess if you want to place at a reasonable speed. Freenet is a better choice if you don't want a centralized game server or you're afraid of evil people inserting false moves into your game or you want to play totally anonymously.
I don't know if anyone actually has these goals. I think most people would prefer to play at a reasonable speed. But the actual point was to teach people how to write applications for Freenet. I figured it was more fun to show how to write chess than to show how to write, say, an Enterprise Application Server.
Every few months the mail would arrive by plane with the other guy's next move. Then, one month, the guy at the North Pole doesn't get the expected letter. He figures the guy at the South Pole didn't mail it in time, and it'll be in the next batch of mail.
A few months go by, and the letter isn't in the next batch of mail, either. A few more months, nothing. Six months go by, and finally a letter arrives from the South Pole. Excited, he tears the letter open and reads:
"J'adoube." (I adjust.)
(In tournament chess there's something known as the "touch move rule" which means that if you touch a piece, you have to move that piece. You can nudge a piece only if you first announce that you're just adjusting it by saying, "I adjust," or, in French, "J'adoube." Classy chess players prefer to say it in French.)
I don't know if Freenet would be that bad, but if you wanted a more secure game of chess it would be cheaper to just run some other protocol through SSL.
Dave Conrad aka Dr. A. van Code
Well a friend of a friend of a friend told me
Good mfences make good neighbors.
Is there any reason to do this other than "just for the sake of doing it"?
Is there some government somewhere that is repressing chess play? Who would gain from anonymously playing chess?!?
If you want to play chess remotely with high lag, just play by postal mail. It may cost a buck or two, but it is private, and if someone decides to read your mail, you will know about it.
Conformity is the jailer of freedom and enemy of growth. -JFK
There is absolutely no way I would ever play chess online on a truly anonymous system. Cheating (the use of chess programs to boost a fragile ego - yes, some people view online chess as a "get the highest score by whatever means" type of game and, like they're UO/Diablo/Whathaveyou counterparts, are utterly baffled that there are people who don't) is already a problem on systems like ICC and USChessLive with registrations and moderation and sophisitcated detection systems. The only people I'd play over freenet are people I know in real life and then... what's the point?
Please do not get me wrong, I do not want to "troll" around here, but I am wondering (maybe its me being too tired) what exactly is the point? I am not getting over excited by a game slow as a snail, but maybe he sees it just a a proof of concept. Thank you and go and build something that is of greater impact. I think Freenet has to stay around, as being posted earlier on Slashdot Zeroknowledge will stop supporting the Linux platform. Anything that protects consumer privacy has to keep around until the consumers (and not only Geeks, /.ers and alike) notice how important privacy is. And how dangerous censorship is.
Just my $.02 (but these are mine, mine, mine)
Erosion is faster than playing chess by post. Jesus, tectonic shifts are a formula-1 race compared to playing chess by post.
--------
Bleah! Heh heh heh... BLEAH BLEAH!!! Ha ha ha ha...
You obviously don't have an account at Pimp War. Turned based games rock.
"Why do you consent to live in ignorance and fear?" - Bad Religion
As the concept that Freenet could beat playing chess by post is undoubtably incorrect, I should point out that some of us have played Diplomacy by post, and in fact used to develop role-playing-games (RPGs) that could be played by post.
IMHO Freenet is worse than post. It doesn't let you send secret decoder rings in the envelope, you can't include photos of your cat balancing on a high tension wire, and it's not possible to put a whole mess of glitter inside Freenet as you can with a well-designed postal envelope.
Some of us used to give away nifty badges, fake coinage, and various artifacts via post, so Freenet is definitely not even close in the end-user experience as a good snail-mail based game.
Even if it is used for chess.
--- Will in Seattle - What are you doing to fight the War?
It is impossible to run realtime application over Freenet, because Freenet is just not designed for this kind of things. The design of Freenet is similar to the News system, where post are passed around for a while before getting to their destination.
Mail might be a good application to run over Freenet: simple and fast enough. I don't know how they handle the fact that Freenet is an unreliable network by design (basically the documents you insert into Freenet are not supposed to stay forever), but EOF seems like a neat project.
Nobox: Only simple products.
Doesn't he know that turn-based games have gone the way of the caveman? Games nowadays need to be fast-paced, click-click, multiplayer, full-immersion, twitch-based simulations.
/. :-)
No one has either the time or the attention span to wait for another human being to make a move. This is the future, baby, and if you don't move quickly, you are dead. Games that are based on waiting are dead.
There's no time to strategy. Strategy is formed at the business end of a gun. Read and react. There's no time for deep thinking. Think too long and the game is over.
Kinda like fp'ing on
Dancin Santa
Play tic-tac-toe with Gnutella! And 52-pickup with Gigabit Ethernet cards! And "pull my finger" with inetd!
AC's cheerfully ignored
If the content of the freesites (websites in/on freenet) were going to get something constructive from GJ(MSK@SSK@enI8YFo3gj8UVh-Au0HpKMftf6QQAgE/homepag e//) /freesite(MSK@SSK@2vz8xnhEJyJOlBVNfBEOWaohQFEQAgE/ freesite//) /snarfoo(MSK@SSK@p0EFqjmDioSqKmYYORPrClUepi4QAgE/s narfoo//), somthing rat or gibbon related from the gibbon site (MSK@SSK@AUaDUtxWJAVvVFOJHE8lpmt5FPQQAgE/gibbon//) and something illigal from Content of EVIL (MSK@SSK@9BRxNPeBdBVvWUIJb7etC52nlUUQAgE/ContentOf Evil//). What 'fun' :)
this is a big step for Freenet, but it seems to me people have been playing turn based games over the phone lines for eons.
That way, when it happens, you will be able to prove your prediction?
My father is a blogger.
I get it, it's spy code sent to your spymasters in Tajikistan. What's next I wonder?
BTW, Louis Armstrong died on July 6, 1971 at his home in Flushing Queens. I don't believe he and his last wife Lucielle had any children.
Interestingly enough, he celebrated his 71st birthday on the 4th of July two days earlier. However, Gary Giddings, noted jazz critic and author discovered that Louis was actually born in August 1901, which made him 70 when he died.
As Duke Ellington once said "Louis Armstrong was born poor, died rich, and never hurt anyone along the way".
My father is a blogger.
I always wanted to play chess without the gov't looking over my shoulder. They always try to recoed my strategies....Ok, the spec for the game would allow encrpyted based input, but its not using new ideas, no compression, and a very primiative overall. I know when your developing on a beta level platform you take it slow. But sheesh, Is this what developers want for FreeNet? I mean its slow already, do we really want to waste all that bandwidth just to play turned-based games. I think not.
"Get them before they get....
About 5 minutes ago, Anonymous Coward was found dead in his trailer out on the I-95. The only witness in the area, TikkaMassala, could not be approached for a comment, as he had to return his chainsaw to the shop for a refund/de-braining.
* Patent Pending, (c)2001 TikkaMassala.
It is a much higher percentage of porn,
there is hardly any warez at all and
very few mp3s.
Go look on http://www.freegle.com or Snarfoo to
see keys posted daily for evidence.
but how is this better than playing chess on yahoo games or something? or MSN gaming zone? or Internet Chess Server, or (if you insist) by email or instant messenger? I know that I've hooked up with some friends to play go on that myself, takes a whole "couple of seconds" to set a game up, and then there's this nice graphic interface, where you can also choose your likeness (myself I'm a cat wearing a baseball cap)! I'm quite sure that the day freenet starts making it big time, you won't hear "and you can play chess with it too!", I mean, I'm much more interested in the anonymous transfer of free information than... a new way to play chess.
Games is an excellent way of promoting anything. Why do people buy expensive computers? Games. Why do people spend enormous amounts of cash on broadband internet? Games. So why should anybody interested in freenet? Games.
- Yuioup "I could think of an interesting quote, but I couldn't be bothered right now - Yuioup"
As a programming exercise, this in entertaining. But not only is freenet slow, it's unreliable. Even when playing a game over email, you at least know where on the internet the email server is. With freenet, you don't have that luxury. Did you notice the bit in this article about having to set HTL high and be patient in order to make sure you wouldn't get a false error message? Freenet is nice, but not as a gaming platform.
I'm the stranger...posting to
Doesn't inserting potentially millions of tiny, one-time-use files onto the Freenet risk corrupting the namespace? Is there an advantage to having your chess moves live forever? Seems to me like TCP/IP or HTTP are much better choices, because the transferred data doesn't take up space once the game is over.