LeprechaunTicTacToe v1.1 readme

LeprechaunTicTacToe is a mIRC game that can be played with
other users that also has this addon. It is not exactly
Tic-Tac-Toe, because the object is to get 5 in a row, and the
grid can be as large as you want it to be.
The person that was challenged will always start.
After a game is finished, only the looser will be able to request
a new one without recreating the socket connection.

To load this addon start mIRC and type in /load -rs [path-to]\lttt.mrc

To start a game, right click in a channel nicklist or a query window.
You can also use the /lttt alias:

	Usage: /lttt -sni [Nick|IP (port)]

		-s : Single player
		     (You can also use /lttt with no parameters for this)
		-n : Play with nick 
		     (Requires a standard mIRC server connection)
		-i : Connect to the specified IP and port


The options dialog:
	
	Colours	Most colours explain themselves, except 'Windows'.
		If you select that, it will use the standard windows
		colours. (The colours are not dependant on your mIRC
		colour settings.)

	Grid	Grid width and height will only be used when you are
		asking other persons to play. If they ask you, their
		settings will be used. (Must at least be 10)

	Blocks	The block-size setting will set the size of the squares
		in the grid. (Must at least be 10)

	Symbols	The symbols representing you and your opponent in the
		grid. Symbols are local, so the symbol you select for
		yourself, might not be the same as the one the opponent
		sees.

	Desktop	Checking this box will make all NEW games displayed in
		a desktop window.

	Ontop	Desktop windows will be on top.


Single player game:
You can in addition to playing against other people play lttt vs. the computer.
To do this, either type /lttt -s in the command line, or select it from the 
menubar. You can select bothe the level of the AI (Newbie|Intermediate) and the
playing style it will use (Offensive|Defensive). To change this right click
in the window when playing vs. the computer. Although the AI isn't very hard to
beat, it will be good practicing against (at Intermediate) if you haven't played
this game much before.


Game requests:
Game requests are sent by notice, and will not be displayed (unless you use
a script that displays it). Multiple game requests from one user over a short
period of time will be ignored to prevent flooding.
(NOTE: Only game requests will be ignored, not the actual user)
(Some users may be unable to start games. This problem is probably caused by
firewalls or other stuff interfering with sockets or your ip)
If you are using a script with custom connections, sending and getting requests
by notice is impossible. You can therefore specify listening ports and have
the other user connect directly to that (and vice versa). Setting the port
can be done in the options dialog.
(If you are experiencing that wrong ip (ie LAN ip) is sent when requesting games,
you can use /lttt.fixip [realip] to fix it)

Selecting areas in the grid:
When moving the mouse on the grid, a semi-transparent symbol will be present
underneath the mouse. This was done to reduce hitting the wrong block.
(Your opponents last move will also be semi-transparent)

Cheating: 
Since it would pretty easy to cheat with this addon if not,
both sides log the moves and checks the messages sent from the other.
If it detects cheating, it will close the connection and display the
message that the user tried to cheat.

If you have any questions about this addon, contact me at, send me a
pmsg at mircscripts.org, or find me in #mircscripts.org at Undernet


Yma