Home > Games Programming > Gokigen Naname

Gokigen Naname

Gokigen Naname is a japanese puzzle where you have a grid…
some nodes on the grid has numbers from 0-4
each square on the grid should contain only on diagonal line
The number on each node (n for example) means that this node should have precisely (n) lines connected to it. the grid shouldn’t contain any closed loops!
For more details please refer to Wikipedia!

This “Game” solves the puzzle supplied by the user..so actually it’s not a game since the player won’t do the solving..

Click on any node with the left/right mouse button to increase/decrease its number…

The game is programmed using C++ and SFML
SFML is a powerful 2D Library but since C++ is a headache (at least for me :)) I prefer using XNA with C#
There’s also a .Net SFML library but I never tried it!

You’ll have to forgive me for a bug in my program 😦
When you want to change the value of a node, don’t click on the node! See the picture below

You have to click where the red circle is 😦 , The code is old now and as I said before C++ is annoying, that’s why I didn’t fix this problem and I wont!

Gokigen Naname Executable (718 KB) – Required SFML Dlls are included

Gokigen Naname Source Code (99.7 KB) – SFML Headers & Libs not included

  1. No comments yet.
  1. No trackbacks yet.

What do you think?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: