flat assembler
Message board for the users of flat assembler.

Index > High Level Languages > tic tac toe with one list ( Unity c# )

Author
Thread Post new topic Reply to topic
catafest



Joined: 05 Aug 2010
Posts: 129
catafest 07 Jun 2018, 19:29
Can be funny but I think a good assembler programmer can solve this issue (maybe with pointers ).

My issue is to solve a tic tac toe algorithm make from buttons into one list .
The list has N dimension and is result of LxL matrix.

This is the basic issue from Unity 3D / c# :
https://forum.unity.com/threads/game-theory-algorithms-to-solve-script-of-lists-matrix-tic-tac-toe.534929/#post-3523334
Post 07 Jun 2018, 19:29
View user's profile Send private message Visit poster's website Yahoo Messenger Reply with quote
vivik



Joined: 29 Oct 2016
Posts: 671
vivik 09 Jun 2018, 13:36
I don't speak unity. Show me a program I can run, and tell me what it lacks.

I probably misunderstood something, but the "list" data structure is more "heavy" than the "array" data structure. You only need lists over arrays if you don't know how many elements you need to store ahead of time, or if you need to insert something in the middle of the sequence.
Post 09 Jun 2018, 13:36
View user's profile Send private message Reply with quote
catafest



Joined: 05 Aug 2010
Posts: 129
catafest 10 Jun 2018, 08:38
vivik: Joined: 29 Oct 2016
Post 10 Jun 2018, 08:38
View user's profile Send private message Visit poster's website Yahoo Messenger Reply with quote
vivik



Joined: 29 Oct 2016
Posts: 671
vivik 11 Jun 2018, 15:27
bless you too

bless you deep and hard into your gaping vagjaina
Post 11 Jun 2018, 15:27
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.