Player 1 (on the left side) can use WASD to move Player 2 (on the right side) can use arrow keys to move The board starts with an equal amount of both colours on each side. If your player touches the opposite side, it goes back to where it was at the start. Like this you can kind of make tunnels in the other side. You can also cut off the opponents tunnels. The first one to reach the opponents grey square in their tunnel wins!
This was my second ever game which took me 2 weeks to make and its very bad quality. I wanted to make the buttons move for an effect but it just made a challenge to play the game.