IMIHonigmann / Super-TicTacToe

A project to practice handling many different possible states and making them work in a socket network
MIT License
1 stars 0 forks source link

Net-SuperTicTacToe

image

What is Super-TicTacToe?

Ultimate tic-tac-toe (also known as super tic-tac-toe, meta tic-tac-toe or (tic-tac-toe)²) is a board game composed of nine tic-tac-toe boards arranged in a 3 × 3 grid. Players take turns playing on the smaller tic-tac-toe boards until one of them wins on the larger board. Compared to traditional tic-tac-toe, strategy in this game is conceptually more difficult and has proven more challenging for computers. (Source: Wikipedia)

The rules explained in detail: https://en.wikipedia.org/wiki/Ultimate_tic-tac-toe

Why?

This project started when a friend challenged me to recreate it. Eventually this project became amazing for learning how to handle lots of custom states simultaneously but you know what's even better?

HANDLING THESE STATES OVER A F***ING NETWORK

Recently I decided to take on the task on making the project fully playable over websockets using socket.io. And yes it was just as insufferable as you would expect

The thought alone raises so many questions

But...

I managed to get it working.

If you wanna try it out (especially the multiplayer). Just download the repo and start the server the instances (in the current version) will connect automatically if you're on the same network

If you want to play with someone outside of you're local network then you can try port forwarding if you have experience, host the server in the cloud or if you want an easy way: download Radmin VPN and connect to eachother in a network. Just make sure that you connect to the correct IP-Address in both instances to make it work

That's all I have to say have fun!

NOTE: This project is still in development. I'm hard at work to iron it out