Questions tagged [gomoku]

38 questions
0
votes
1 answer

Gomoku Heuristic

I'm doing a Gomoku assignment which it can play with itself (computer) and human. The requirement is that there's time limit. Which means if you set the total game time to 2mins, then at the end of the 2min, the game should be over. The prof…
JudyJiang
  • 2,207
  • 6
  • 27
  • 47
0
votes
2 answers

why won't checkforWin(File f) return true when it is true?

** this causes an extra move to made in this gomoku game beyond the winning move and the checkForWin metho after the extra move is the method that detects the win but it should be the checkForWin method immediately after the…
user2671455
0
votes
1 answer

Gomoku datas representation in C

I'm working on a Gomoku game I'm currently done with GUI etc, and I need to code the IA and Rule Checker (for optional rules such as Capture, forbidden patterns etc). I was planning on representing the board with an int array something like: uint…
-1
votes
1 answer

Gomoku winning condition c++ using pointers and arrays

I am currently working on a Gomoku game in c++. But I'm stuck with the winning conditions. I'm new to c++. I need to add the winning conditions using pointers for this game. Please I need help. I don't know how to start with it. So far I can only…
-1
votes
2 answers

How do I get my Go-Moku game to keep looping?

I am trying to make the game Go-Moku. The game compiles, but doesn not run properly. When I run the game I am able to have the empty board printed and then i am prompted to enter the row and column integers, but once I hit enter to submit the column…
aelius
  • 3
  • 1
-2
votes
1 answer

Pygame opening and closing immediately after running

I'm writing a simple game of gomoku with pygame, but when I run the program the pygame windows opens and exits immediately after running. I know it's something wrong with the program itself as I tested pygame with an online pygame program and it…
alvaius
  • 1
  • 1
-2
votes
2 answers

c# gomoku game label array

I am trying to make a simple five in a row (gomoku) game for two players using windows forms and c#. I put a picturebox with a picture and stretched it out on the form. Now I want to put labels at all the intersections on the picture board so a user…
Caza
  • 3
  • 3
-2
votes
1 answer

5x5 to 50x50 Board game implementation using Java Swing

What is the best way to implement a configurable dimensional matrix to represent a 2d board game with cells using Java and Swing? Grid Layout? Tables?
alex
  • 121
  • 3
  • 9
1 2
3