ThisIsCoolTM Nim (Java 1.1, C#)

by Mohan Embar

Overview

Anyone up for a game of Nim? I've loved this game ever since I was first introduced to Android Nim on the TRS-80 over 20 years ago.

Nim has many variants and an interesting history. Do a web search on "nim game" sometime. 

Lookie Here!

Here is ThisIsCool Nim, which is a JDK 1.1 applet.

The rules are simple: you and the computer take turns moving. With each move, the player chooses a row (1-3) and removes as many pegs from that row as s/he wants. The player who removes the last peg is the winner.

Click on [New Game] to start things out.


This is the real, running program, not a screenshot!

You'll need a JDK 1.1-compliant browser to see it. If you don't have such a browser, you can get one; either:

Standalone Application and Source Code

The jar file used to run the above applet is executable. You can download it and even redistribute it subject to the usage terms below.

C# Version

I've created a C# version of this and dedicated it to the DotGNU project, as a token of my appreciation for their vision and hard work. This will run under pnetlib 0.6.0 (part of the DotGNU 0.1 release) as well as under Microsoft .NET 1.1. To run it under MS .NET, you need to run it from your local hard drive, not a network share or from the Internet:

dotgnu-nim.tar.gz (53 146 bytes)
MD5 Checksum: 527389ed8a3b628582761e1163cfa445

This version runs under the current pnetlib CVS version as of 5 March 2004:

dotgnu-nim-20040305.tar.gz (61 179 bytes)
MD5 Checksum: 3a3fbe827fe628918353b61b39cd14fe

Usage Terms and Conditions

ThisIsCoolTM Nim Copyright 2001 by Mohan Embar All Rights Reserved.

ThisIsCool Nim is written as a personal project by Mohan Embar. He has made this program available for download on this website under the following terms and conditions. Usage of this program indicates your acceptance of the following license conditions. If you do not agree with these terms, you may not use this program.

These usage terms do not apply when the game is played directly from thisiscool.com as an applet.

This program is PropagandaWare. If you continue using this program seven days after the first use, you agree to visit the following websites:

You are exempt from this agreement if:

  • you do not have Internet access
  • you are using this program to create or modify rules 

Permission is granted to any individual or institution to copy or redistribute this software provided that:

  • it is not altered in any way
  • it is not sold for profit
  • this copyright notice is displayed
  • if made available for download on a non-FTP web page, that a link be made to http://www.thisiscool.com/ whenever possible

This program comes with no warranties, either express or implied. In no event will the copyright holder be liable for any damages resulting from the use of this software.

My thisiscool.com