v0.388.0-alpha

Tic tac toe grow!

What is this?

This is a tab. Or, rather, the spot below the dropdown. I was too lazy to put actual tabs, and there's too many to put anyways.
So instead I put a dropdown. Use the dropdown to switch between "tabs".

The instructions for how to play are down there ⬇️
To switch tabs use Shift+Arrow keys.

Game controls

Map controls

Game data

Width: 3
Height: 3
Turns: 0

Player settings


About

How to play

To play, simply click on an empty square (a button)

Every square where a move is played,
all squares 1 step vertically or horizontally away
become part of the board (if they aren't already).

Examples:

I recommend just trying these out above.


 X__
 ___
 ___

 _
_X__
 ___
 ___


 _
_XO_
 ___
 ___

 __
_XO_
 ___
 ___


 _
_XO_
 X__
 ___

 __
_XO_
_X__
 ___

Hence the name, tic tac toe grow.

If the board grows too big, you can use the mapControl buttons on the right

For example, the "up" button moves the whole board up.

This can actually be quite unintuitive,
since when you click on "up", you move the board up,
but you (e.g. your mouse) moves down in comparison.
It's kinda like scrolling.

You win by either making 7 in a row or a checkmark.

A checkmark is made of two diagonal sides, where

  • one side is at least 2 squares long,
  • and the other side is at least 4 squares long
Example checkmarks:

____X
___X_
X_X__
_X___

_X__
X____
_X__
__X_
___X

X_______
_X______
__X_____
___X___X
____X_X_
_____X__

The last one has sides that have more than 2 or 4 squares long,
but that just makes it more awesome,
and the rest of the "checkmark" will turn green anyways.

Here's some actual screenshots of bots winning:

random_move vs firstDiagonal vs copy

Here the third player 'copy' wins, making 3 checkmarks at the same time! (Note that the checkmarks overlap a bunch - my code detects all of them).
The first player; random_move, isn't really doing anything, but firstDiagonal seems to be on the verge of winning. Since copy is right after firstDiagonal, I think that firstDiagonal made copy play on diagonals too, helping it win.

random_move vs next2self vs next2self

The third player wins again, here with the dictionary definition of a checkmark. Unfortunately for the second player, random_move just happened to block it more than the third player. Even though the second player and the third player were the same bots, the third player got an advantage and won.

Another note

If the length is (7 times the width), or vice versa, it's a draw.

Technicallly

What? The length was 6 times the width,
but then skipped to 8 times?

Isn't that impossible?
If you do that somehow, please tell me, it's a bug.

Still a draw though.

More details

The game will tell you if it's a win or a draw,
so you don't have to worry about that

You can see the width and height in the game info,
where, eventually (not done yet) you can also...

A list of random things
  • See the height of the board
  • See the width of the board
  • Add to the total number of people
  • Also delete some people
  • And also name the people
  • My code doesn't really care about the names
  • And you can also change whose turn it is
  • Wow! Just have a bot play
  • Or even multiple bots
  • Or even the same bot, but multiple times
  • Or even the same person multiple times
  • Or a different person multiple times
  • And you can add a player (different from "person")
  • Or delete players
  • You can even have humans and bots at the same time
  • You can admire the amount of bots there are
  • AND MORE
  • Free limit: Only 4 players max
  • Free limit: Only 2 players... min
  • You can breathe easily. It's really easy to breathe.
  • Did I mention: Names can be the same?
  • Imagine... holding the down arrow key on a dropdown =O
  • You can click the words "Player 1" instead of the box!
  • You can change the number of players directly
  • Or just one by one I guess
  • And same thing for the number of humans!
  • That's right, changing the number of humans directly
  • Or just one by one
  • There's so much you could theoretically do
  • Imagine... the possibilities XDDDD
  • BWAHAHAHAHA sorry I really had fun making this

By default, it's 1 player against a bot named "random_move"