[ICM] OMOK(Gomoku) Game (Five in a Row) with DOM

I tried to make some DOM elements with P5.js, I made a bunch of buttons and pressed randomly and then I got this idea of OMOK game (GOMOKU game). Normally it is similar with ‘Go’ game, but much easier. It just fights 2 players with white and black stones to make five stones in a row.



Whenever I used ‘For’ loop function, P5 web editor warned me the infinite loop. I am really not sure where it is…

Leave a Reply

Your email address will not be published.