No description, website, or topics provided.
Scala Shell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.markdown
TicTacToe.scala
run-with-proper-encoding.sh

README.markdown

Arbitrarily-Sized Tic Tac Toe

An exercise-turned-project, this is a command-line version of Tic Tac Toe that allows arbitrarily sized square boards. At size 15 it becomes Gomoku and at size 19 it becomes Connect6

Usage

scalac TicTacToe.scala
scala -Dfile.encoding=UTF-8 TicTacToe

or

./run-with-proper-encoding.sh

The contents of run-with-proper-encoding.sh are:

#!/bin/bash

if [ ! -f "TicTacToe$.class" ]; then
    scalac TicTacToe.scala
fi

scala -Dfile.encoding=UTF-8 TicTacToe