japanese 2023-08-25 13:45
I don't know why this judgment system doesn't work. please tell me!
judgment system means "SUB HANTEI".
McPepic 2023-08-25 14:43
I did some debugging and it seems like you’re setting the wrong position (it’s one spot to the right!) in the map array. You can use TRACE statements to monitor variables. Hope this helps!
was8bit 2023-08-25 16:34
... I myself would use sprites.... you can set them to 4x4 cells with SPRITE # SIZE 3
Then the graphics for each must be totally filled in, as empty space in a sprite does not respond to touch
For convenience, i would use sprites 1-5 for player 1, and sprites 6-10 for player 2
I would keep the starting graphics of empty squares as is, all you are changing is the players moves
.... i have to go to work now, so i will look at your current code when i get back home :)
japanese 2023-08-25 17:29
Thanks your help! TRACE statements is very useful !
Thanks to this, it seems that the program can be easily modified.
thank for your advice. I'm looking forward to your new approach!
Jeanmilost 2023-08-25 21:01
By judgment system, are you talking about a minimax algorithm?
was8bit 2023-08-26 06:14
Here is my remix ;)
The code is very basic, uses your core hantei, and you may need to redo some things to give if your touch... so no credit is needed ;)
.... hope this helps :) ... your core hantei is actually "spot on" accurate ;)
was8bit 2023-08-26 06:28
Remix2 fixes a bug where if you click different squares once... it should only play when tap the same square twice...
was8bit 2023-08-26 06:33 (Edited)
Hint: if you prefer "clear" green, simply edit the black color into a matching green ;) the sprite is still filled in completely but will seem to have empty space...
japanese 2023-08-27 02:14
thanks. I'll be uploading a game I made soon!
was8bit 2023-08-27 02:35