• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 05:49
CET 11:49
KST 19:49
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
Weekly Cups (Dec 15-21): Classic wins big, MaxPax & Clem take weeklies0ComeBackTV's documentary on Byun's Career !10Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win4Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2
StarCraft 2
General
Weekly Cups (Dec 15-21): Classic wins big, MaxPax & Clem take weeklies ComeBackTV's documentary on Byun's Career ! Micro Lags When Playing SC2? When will we find out if there are more tournament Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win
Tourneys
$5,000+ WardiTV 2025 Championship Sparkling Tuna Cup - Weekly Open Tournament $100 Prize Pool - Winter Warp Gate Masters Showdow Winter Warp Gate Amateur Showdown #1 RSL Offline Finals Info - Dec 13 and 14!
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 505 Rise From Ashes Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement
Brood War
General
Klaucher discontinued / in-game color settings BGH Auto Balance -> http://bghmmr.eu/ Anyone remember me from 2000s Bnet EAST server? How Rain Became ProGamer in Just 3 Months FlaSh on: Biggest Problem With SnOw's Playstyle
Tourneys
[BSL21] LB QuarterFinals - Sunday 21:00 CET Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] WB SEMIFINALS - Saturday 21:00 CET
Strategy
Simple Questions, Simple Answers Game Theory for Starcraft Current Meta Fighting Spirit mining rates
Other Games
General Games
Stormgate/Frost Giant Megathread Beyond All Reason Path of Exile General RTS Discussion Thread Nintendo Switch Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread The Games Industry And ATVI Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine YouTube Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
TL+ Announced Where to ask questions and add stream?
Blogs
The (Hidden) Drug Problem in…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1434 users

Programming: A Puzzle Game

Blogs > GSang
Post a Reply
GSang
Profile Blog Joined August 2010
United States51 Posts
Last Edited: 2013-05-22 15:26:45
May 20 2013 23:36 GMT
#1
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.

[image loading]

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.

****
doner0
Profile Blog Joined July 2010
United States233 Posts
May 21 2013 03:56 GMT
#2
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!
GSang
Profile Blog Joined August 2010
United States51 Posts
May 21 2013 13:26 GMT
#3
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
ClysmiC
Profile Blog Joined December 2010
United States2192 Posts
May 21 2013 19:38 GMT
#4
I'd love to see some info or screenshots about how the game is played.
GSang
Profile Blog Joined August 2010
United States51 Posts
May 22 2013 03:14 GMT
#5
Ill put some up eventually

streaming again
GSang
Profile Blog Joined August 2010
United States51 Posts
Last Edited: 2013-05-22 15:30:25
May 22 2013 14:34 GMT
#6
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.

[image loading]

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.


[image loading]

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
GSang
Profile Blog Joined August 2010
United States51 Posts
May 27 2013 23:08 GMT
#7
streaming!
3FFA
Profile Blog Joined February 2010
United States3931 Posts
Last Edited: 2013-05-27 23:39:14
May 27 2013 23:37 GMT
#8
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
"As long as it comes from a pure place and from a honest place, you know, you can write whatever you want."
Please log in or register to reply.
Live Events Refresh
Replay Cast
09:00
WardiTV Mondays #65
CranKy Ducklings168
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
BRAT_OK 58
StarCraft: Brood War
Shuttle 2218
Sea 2171
Bisu 853
GuemChi 700
Larva 310
Stork 290
firebathero 270
Soma 225
Sharp 177
Light 163
[ Show more ]
Killer 116
Leta 103
Pusan 95
Mini 94
PianO 92
Rush 77
ggaemo 62
hero 57
ZerO 54
Yoon 50
Mong 45
sorry 43
soO 34
ToSsGirL 33
NotJumperer 30
yabsab 27
Shinee 23
GoRush 20
Terrorterran 18
ajuk12(nOOB) 16
Movie 14
Sacsri 13
Noble 10
SilentControl 8
Dota 2
XcaliburYe596
League of Legends
JimRising 381
Counter-Strike
olofmeister2304
Heroes of the Storm
Khaldor143
Other Games
summit1g8933
XaKoH 204
crisheroes174
Fuzer 147
Mew2King90
nookyyy 41
ZerO(Twitch)9
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• LUISG 35
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Jankos2188
• Stunt527
• HappyZerGling119
Other Games
• WagamamaTV205
Upcoming Events
Wardi Open
1h 11m
Monday Night Weeklies
6h 11m
WardiTV Invitational
2 days
Replay Cast
2 days
WardiTV Invitational
3 days
ByuN vs Solar
Clem vs Classic
Cure vs herO
Reynor vs MaxPax
Replay Cast
4 days
Sparkling Tuna Cup
5 days
Replay Cast
6 days
Liquipedia Results

Completed

YSL S2
WardiTV 2025
META Madness #9

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
BSL Season 21
Slon Tour Season 2
CSL Season 19: Qualifier 2
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22

Upcoming

CSL 2025 WINTER (S19)
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
OSC Championship Season 13
Nations Cup 2026
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.