#!/bin/sh

case "$1" in
	mastermind) 
		"%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/MM.jar"
		;;
	reversi) 
		"%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/reversi.jar"
		;;
	mine) 
		"%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/Mine.jar"
		;;
	tetris) 
		"%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/Tetris.jar"
		;;
	rt) 
		"%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/RT.jar"
		;;
	number) 
		"%%LOCALBASE%%/bin/java" -jar "%%JAVAJARDIR%%/Number.jar"
		;;
	*) 
		echo $"Usage: $0 {mastermind|reversi|mine|tetris|rt|number}"
		exit 1
esac
