JanEric1
MModular
•Created by JanEric1 on 11/10/2024 in #questions
Compile time facilities
Ok, so there are no other compile time facilities that would allow me to do even more here?
10 replies
MModular
•Created by JanEric1 on 11/10/2024 in #questions
Compile time facilities
(and here is the full current code):
10 replies
MModular
•Created by JanEric1 on 11/10/2024 in #questions
Compile time facilities
So what i have above should be functionally equivalent to the start of this for size = 3: and player=1
I just dont know how to best generate these at compile time.
10 replies
MModular
•Created by JanEric1 on 11/7/2024 in #questions
Most efficient way to check for tictactoe board win
Does anyone have ideas how I can improve this and ensure as much as possible happens at compile time?
7 replies
MModular
•Created by JanEric1 on 11/7/2024 in #questions
Most efficient way to check for tictactoe board win
Thinking something like this:
But i dont know if that actually does everything i want at compile time or if i need other facilities
7 replies
MModular
•Created by JanEric1 on 11/7/2024 in #questions
Most efficient way to check for tictactoe board win
This is the signature i am thinking of:
So it should be doable at compile time, but i am just not sure how to go about it exactly.
7 replies