user23052036 / Puzzle-Game

This is a fun little side-project i have been working on for some time. Its a puzzle game. Where numbers will be arranged randomly and you have to move each numbers within limited set of moves and time to get a desired sequence. This game is written completely in C. Was inspired to create this game after i played a similar game in play store.
GNU General Public License v3.0
5 stars 2 forks source link

Any new feature if you want to include #4

Open user23052036 opened 1 month ago

user23052036 commented 1 month ago

Any new feature that you have in mind please suggest and feel free to implement.

josdorrod commented 2 weeks ago

It would be great to add the possibility of practicing the game with the same number distribution as the last game. For me the game is very difficult but I think that if I played over and over again with the same number's distribution I would learn a lot more.

user23052036 commented 2 weeks ago

As in like a practice mode r u suggesting ?

Because every time the game runs it fills random number in 2D array... So the numbers gonno be unique every single time.

user23052036 commented 2 weeks ago

If you r sugegsting a plactice mode we could have that

like 2 modes 1)Game Mode 2) Practice mode

In game mode the code stays the same but in practice mode user will have unlimited number of moves and the game goes on till user goes out-of-bounds or wins it

josdorrod commented 2 weeks ago

After you lose the game, you could re run the game without changing the number distribution. Maybe we can copy the array resulting after calling "random_assign(array,1,length*length,length)" in array2 for example. If we click re-run same level or similar we can display array2.

josdorrod commented 2 weeks ago

This way, since you always start with the same number's distribution, you can try and try until you "learn to win."

josdorrod commented 2 weeks ago

1 Try:

image

2 try: Re run same level.

image

user23052036 commented 2 weeks ago

After you lose the game, you could re run the game without changing the number distribution. Maybe we can copy the array resulting after calling "random_assign(array,1,length*length,length)" in array2 for example. If we click re-run same level or similar we can display array2.

Yaa you could do that . But what happens if the user loses in the re-run level ..? Or wins in the re run level ??

I think the best thing to do would be to create a separate practice mode where the user is given unlimited moves to practice separate (3 × 3) (4 × 4) (5 × 5) matrix

But there are lots of more complicated problems in the game as in

1) The fact that we had to click ASWD keys and hit enter to confirm absolutely sucks... If we could just click the arrow key once to move the number around that would be cool.

2) We need to implement a file system in the game where the user name is taken as input and the point is given according to his play and stored in the .txt file.

3) The look and feel of the game absolutely sucks ... If we could have better gui or some game sound of some sort that would be great

josdorrod commented 2 weeks ago

As I see, We need to focus first on the process's login and then when we have features like arrow key or practice mode we should focus on improving the GUI. My idea about practice mode could be

  1. Have more steps. Maybe 100
  2. Always start with the same number's distributions. If you exit and enter again in practice mode, the numbers should change. However, If you decide to retry practice mode without exiting the mode, the number's distributions should be the same.
user23052036 commented 2 weeks ago

Ya sure you can do that