Benedict’s Babeldom

things I like, things I make, and what I think

Archive for March, 2010

My First Time

without comments

On Thursday Alex pointed out something funny that had happened to the high score board:

The large text was a link to this blog post. How had they figured out the servlet’s address and the parameters that need to be passed in?! Then I saw this:

	<!--
	<p>Enter your high score:</p>
	<form action="/sign" method="post">
		<div>
			Name: <input type="text" name="name" />
			<br />
			Score: <input type="text" name="score" />
		</div>
		<div><input type="submit" value="Post Score" /></div>
	</form>
	-->

I had forgotten to delete some test code that I had written! The code provided an an input for name and score, and then you could submit it. I was handing people a method for inserting high scores to the board.

I deleted the large post, giving the person some credit at the bottom of the scoreboard. I’m starting to think that a lot of the other highest scores were created that way, but no one else pointed out the flaw. I’m considering a move to weekly high scores so that it’s more competitive, and I don’t feel bad about deleting the current high scores. I’m going to have a talk with Alex about it, and try to whip up some GQL to make the whole process automated.

Written by benedict

March 7th, 2010 at 4:50 am

Posted in Uncategorized