[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/sci/ - Science & Math


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 9tictactoe.webm (53 KB, 1156x673)
53 KB
53 KB WEBM
I designed a variant of tic tac toe when I was like 12.

Now, I decided to code it on godot, after like 20 years of playing it on my school notebooks.

Can any mathfag here calculate how complex is the graph of moves?

Rules are the same as tic tac toe, but on a 9 grid.
The score function is basically to check a star of 3 diagonals and 3 ortho moves, starting from the x y position, like a star check.
>>
>>16292667
>Rules are the same as tic tac toe, but on a 9 grid.
So the first player wins on his third turn every time unless he goes full retard?
>>
>>16292691
even chess has the first player have an advantage unless he goes full retard.
>>
Squareladen matrices don't obey the rules of squarefree matrices. Also diagonals are a non modular characteristic no one really cares about
>>
>>16292691
Look at the webm.

Game ends when all the empty squares are done.

There's plenty of space for the second player to go ahead or the first one to fuck up.
>>
>>16292698
Not him but your webm is too slow and dull to matter. What is your point?
>>
File: 9tictactoe.webm (36 KB, 1156x673)
36 KB
36 KB WEBM
>>16292703
I just coded the game, I don't know how to play, lol.

Still an interesting math thread.
>>
>>16292706
That one is as boring as the first.
>>
>>16292698
Even with such rules the first player can just start by putting a circle in the middle in the first turn and then copy the actions of the other player rotated by 180° around the middle and he will never be able to lose like this.
>>
>>16292708
It's a tic tac toe variant.

What do you expect?
>>
>>16292709
the graph is bigger than the simpler original game.
>>
>>16292710
Tic tac toe isn't boring. This is a timed question. How many winning ttt squares are there with and without the diagonal?
>>
>>16292716
Same scoring rules as tic tac toe.

But a diference is that tiles that are counted in a 3 line, becomes gray and can't easily be counted towards new lines.
>>
>>16292721
That's not an answer.
>>
>>16292725
I'm just coding the game.

I'm just wondering other anons opinions, and maybe fixing the boring issue.
>>
>>16292732
I'm just wondering what you mean by complexity.
>>
>>16292735
well, the posibility graph.

How big is the search tree graph.
>>
>>16292736
You can't even answer how many ttt pass through a 2^9 square. Until you can answer that along with the auxiliary question, I won't tell you anything about a 2^81 square.
>>
>>16292743
I'm a drawfag, not a CS guy.
>>
>>16292745
Why do you care about a 9x9 matrix so much?
>>
>>16292748
It was the first game I designed as a little kid.
>>
>>16292751
What year and in what language did you code it?
>>
>>16292753
on my school notebooks, lmao.

I was too young to know how to code.
>>
>>16292756
What you're looking for is

[eqn]\big(2^{^{p}}-2\big)^{^{q}}+\sum_{i}^{p}\binom{p}{i}\Big[\big(2^{i}-2\big)\big(2^{^{p-i}}\big)^{^{q}}+2\big(2^{^{p-i}}-1\big)^{^{q}}\,\Big](-1)^{i}[/eqn]

What you do with it is in your hands.
>>
>>16292667
>Now, I decided to code it on godot

I'm still waiting
>>
>>16292760
I spent most of my IQ points learning art skills, lol.

>>16292764
Still tweaking it.

Need to make it more interesting than just boring tic tac toe.
>>
>>16292766
Paint it then.
>>
>>16292667
>Find a group to describe the symmetries to reduce the search tree
>Code up a minimax algorithm with alpha beta pruning
>????
>Profit
>>
>>16292709
wow, a rare intelligent poster on /sci/



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.