Senegal is a land of magic and mystery. People there use their heads for recreation! How? Well, here's an example. The photo you see above is a game called Wari I got in Kaolack, Senegal. I went to Sengal to give the opening presentation for the SeneJUG. The rules are pretty simple. You move the beans around and the winner takes all the opponent's beans. Here are the rules, a little more specifically.

Now, here's the challenge. Write a program, any way you like, and show the Contest Town something that works, and you win! Cambridge Web Design will sponsor this first contest, and the winner will get a check for $50. The deadline for submitting your entry is midnight, tonight - December 27, 2009, Eastern Standard Time USA.

Yep, that's not much time, but you know what to do. CWD will judge the winning entry based on completeness, user interface (if any), and elegance. CWD will be the sole judge, and CWD's decision is final.

Submit your entry to this email address: contest @ codetown dot us. You can send a link to a web app, a binary, anything you think shows a complete solution that we can run here at CWD HQ, in the Swamp.

If you have questions, just ping me at contest @ codetown dot us.

If there are no entries by midnight tonight, stay tuned. We'll extend the deadline and let you know what the new rules are. Good luck!

Views: 961

Replies to This Discussion

Extend the deadline a week or two and I might take a shot. Today's schedule revolves around the 'Life on Mars' DVD I got for christmas. Sis says the show is offbeat, weird, and full of strange twists. Kinda like me.
Looking back, I'm not certain that was a compliment!
Well, let's look at this as Contest 1, Phase 1. But, think about it. Wari is a universally well known game, The possibilities are broad. It could be an iPhone program. Let me see...yes just as I thought. No Wari for iPhone. Think of what people are missing out on in the game world. You should have seen me playing with the vender in Kaolack. I learned the rules in just a few minutes, but it was a very challenging game. And, he won. They are selling it in Starbucks these days!

As for "offbeat, weird, and full of strange twists", it beats being boring.
I am catching this with only 3 hours to go. Does the program have to be about the Wari game?
Yes, the program has to be about the Wari game. Now, wait until you see the next contest!
OK. Then I won't have time to put something together. I'll wait for the next contest and learn the rules of the game in the meantime.
I wrote a web app in Clojure. You can play the game at http://ericlavigne.net:8054 or see the source code at http://github.com/ericlavigne/island-wari/

We have a winner! Congrats, Eric. I ran the app on my Mac and from your website. Would you like to collect your $50 prize immediately via PayPal or in person at the next GatorJUG meeting? I'd love to devote the meeting in part to describing your Clojure implementation.
Thanks, Michael. I prefer to pick it up in person because I don't often use PayPal.

I would be happy to talk about my code, but I don't think it will take a large chunk of the meeting. It is just one file with about 100 lines of code, plus a folder full of images.

I delivered a Clojure presentation earlier this year for GatorJUG. If anyone is interested in hearing about Clojure again, I'll be delivering the same presentation again (with minor updates) tomorrow evening for a Ruby user group.

http://www.meetup.com/gainesville-ruby-users/calendar/12048499/
Perfect. We'll update the meeting announcement with a blurb about your description of the Clojure app you wrote to win the first Contest Town contest. Thanks, Eric. You rock!
The Ruby meeting that I mentioned has been cancelled.

Here's a shot of Eric Lavigne (l) receiving his prize for winning the coding contest from Mike Levin.
In this last photo, it looks more like a million dollars, than $50!!! :)

Lamine

RSS

Happy 10th year, JCertif!

Notes

Welcome to Codetown!

Codetown is a social network. It's got blogs, forums, groups, personal pages and more! You might think of Codetown as a funky camper van with lots of compartments for your stuff and a great multimedia system, too! Best of all, Codetown has room for all of your friends.

When you create a profile for yourself you get a personal page automatically. That's where you can be creative and do your own thing. People who want to get to know you will click on your name or picture and…
Continue

Created by Michael Levin Dec 18, 2008 at 6:56pm. Last updated by Michael Levin May 4, 2018.

Looking for Jobs or Staff?

Check out the Codetown Jobs group.

 

Enjoy the site? Support Codetown with your donation.



InfoQ Reading List

Java News Roundup: Quarkus 4.0, Hibernate Reactive 5, Apache Juneau 10, Vector API, Lottie4J

This week's Java roundup for November 23rd, 2026, features news highlighting: the Vector API Proposed to Target for JDK 28; GA releases of Quarkus 4.0, Hibernate Reactive 5.0 and Apache Juneau 10.0; a point release of Lottie4J; and introducing the Kotlin Security Newsletter.

By Michael Redlich

DoorDash Cuts LLM Search Costs by 98% by Decoupling Retrieval from Reasoning

DoorDash introduced Decoupled Search Grounding, an MCP-compatible gateway that separates web retrieval from LLM reasoning. It supports interchangeable search providers, exact and semantic caching, configurable retrieval depth, and provider fallbacks. In production query-intent evaluations, it reduced search costs by more than 98% while maintaining accuracy comparable to native search grounding.

By Leela Kumili

Podcast: Do Functional Programming and Agents Play Well Together Towards Improved Code Quality and Testing?

In this episode, Uberto Barbini discusses how clean functional programming can help AI Agents to generate better code. He explains how immutable data and pure functions enhance code quality, maintainability, and testability.

By Uberto Barbini

Next.js 16.4 Makes Cache Components the Recommended Default, with ensureStatic and Navigation APIs

Next.js 16.4, released October 6, 2026, recommends Cache Components as the default for all apps, with Next.js 17 planned to adopt them. New projects enable cacheComponents and partialPrefetching. The release adds ensureStatic, navigation() and prefetch(), Turbopack improvements, React 19.3, and agent-based upgrade tooling. A security patch followed on October 14.

By Daniel Curtis

Microsoft Foundry Adds an Optimization Loop for Production Agents

Microsoft has added continuous improvement to Microsoft Foundry, linking production traces, expert annotations, and evaluations to an agent optimizer that proposes and ranks changes to an agent's instructions, skills, and model. Insights are generally available, while the optimizer and training options remain in preview.

By Steef-Jan Wiggers

© 2026   Created by Michael Levin.   Powered by

Badges  |  Report an Issue  |  Terms of Service