|
Hey everybody,
Well summer's starting and I figure it's time to actually start doing something productive. I have a ton of programming/business ideas I'd like to get started on so lets have it.
This project I'm working on was a small idea I had during class but I see some potential for it as a smartphone app. It's a unique and simple to play puzzle game that is at least a little challenging. Currently it's only written for java (I'm actually learning objective c at the moment.. I might stream some of the learning process as well).
I'm excited to get any form feedback on my coding so feel free to hate. Also, feel free to ask any questions about my project or about coding in general (I've been programming since 6th grade but I'm definitely not at the level I should be at with that amount of experience so don't expect too much). I'll try to give live commentary if I'm not focused on coding (and if I actually have viewers haha). I have terrible ADD so hopefully this stream keeps me staying focused.
Follow me! http://www.twitch.tv/gsang
The bare bones puzzle is simple.
You swap tile positions until all of the tiles become adjacent to their pair. When a tile becomes adjacent to its pair, it turns into a heart and can no longer be moved. Thus, the picture demonstrates a loss because the 2 in the bottom right cannot be moved next to its pair in the bottom left as its trapped by hearts.
I hope to add a host of game modes like survival mode which would require you to continuously solve puzzles in a set or decreasing amount of time and "campaign" mode which would require you to solve a certain puzzle in a certain number of moves.
|
best of luck, objective-c is kind of tough mainly because of how you translate into apple's system. they have a lot of classes that they have created that are supposed make your life easier, but until you learn how to use them they can be quite tough; even once you know it is still very easy to forget. Best of luck with creating the application!
|
Alright thanks! I'm actually currently working on finishing up a different project but I'll definitely be streaming a lot of me learning objective c
currently streaming
|
I'd love to see some info or screenshots about how the game is played.
|
Ill put some up eventually
streaming again
|
On the past couple days I've been working on lose events. Basically you lose (in this simplified version of the game) if it is not longer possible to complete the puzzle because at least one pair of tiles cannot be touching.
This case creates a loss because at least one of the regions has an odd number of tiles in it. This optimizes the code in a way by preventing it from running through a lengthy process which performs an insertion sort and then searches through an array.
This creates a loss by performing the relatively lengthy algorithm described before.
Big thanks to Marc L for providing me with a better algorithm for determining the regions and for being generally helpful otherwise.
Now I'm going to be working on setting up a menu screen
|
|
Make sure to check out TheBigProgramming Thread(will be referred to as TBPT) for any questions you have! :D
Also, I'm currently learning Objective C and next year I am going to delve into Java. If you have any questions or difficulties, just ask in TBPT. If I'm not too busy working on my own projects, I'll be able to help, as will more experienced programmers. I hope you have learned C before, if not, learn that before Objective C.
Also, this has some tutorials on a little bit of everything. I recommend using these to refresh yourself on things you've already learned, or together with other tutorials / resources to actually learn the material, instead of just typing or copy + pasting it in. http://www.raywenderlich.com/tutorials Some things there can also be useful for learning to make apps.
http://www.cprogramming.com/ This is great for learning the basics of C :D
|
|
|
|