• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 17:17
CET 22:17
KST 06:17
  • 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
ByuL: The Forgotten Master of ZvT30Behind the Blue - Team Liquid History Book19Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8
Community News
Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool4Weekly Cups (March 9-15): herO, Clem, ByuN win22026 KungFu Cup Announcement6BGE Stara Zagora 2026 cancelled12Blizzard Classic Cup - Tastosis announced as captains18
StarCraft 2
General
Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Weekly Cups (March 9-15): herO, Clem, ByuN win Weekly Cups (August 25-31): Clem's Last Straw? Blizzard Classic Cup - Tastosis announced as captains Potential Updates Coming to the SC2 CN Server
Tourneys
2026 KungFu Cup Announcement [GSL CK] #2: Team Classic vs. Team Solar [GSL CK] #1: Team Maru vs. Team herO RSL Season 4 announced for March-April PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar)
Strategy
Custom Maps
Publishing has been re-enabled! [Feb 24th 2026] Map Editor closed ?
External Content
The PondCast: SC2 News & Results Mutation # 517 Distant Threat Mutation # 516 Specter of Death Mutation # 515 Together Forever
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ ASL21 General Discussion Gypsy to Korea BW General Discussion BSL 22 Map Contest — Submissions OPEN to March 10
Tourneys
[Megathread] Daily Proleagues [BSL22] Open Qualifiers & Ladder Tours IPSL Spring 2026 is here! ASL Season 21 Qualifiers March 7-8
Strategy
Simple Questions, Simple Answers Soma's 9 hatch build from ASL Game 2 Fighting Spirit mining rates Zealot bombing is no longer popular?
Other Games
General Games
Nintendo Switch Thread General RTS Discussion Thread Stormgate/Frost Giant Megathread Dawn of War IV Path of Exile
Dota 2
Official 'what is Dota anymore' discussion The Story of Wings Gaming
League of Legends
FTM 2019 new update 24.2.2
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
Five o'clock TL Mafia Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Mexico's Drug War Canadian Politics Mega-thread Russo-Ukrainian War Thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread Formula 1 Discussion Tokyo Olympics 2021 Thread General nutrition recommendations Cricket [SPORT]
World Cup 2022
Tech Support
Laptop capable of using Photoshop Lightroom?
TL Community
The Automated Ban List
Blogs
Funny Nicknames
LUCKY_NOOB
Money Laundering In Video Ga…
TrAiDoS
Iranian anarchists: organize…
XenOsky
FS++
Kraekkling
Shocked by a laser…
Spydermine0240
Unintentional protectionism…
Uldridge
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1944 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
Next event in 2h 43m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 597
OGKoka 144
TKL 118
EmSc Tv 18
Codebar 15
StarCraft: Brood War
Britney 15622
Calm 2021
Mini 282
Shuttle 205
NotJumperer 11
LancerX 11
ajuk12(nOOB) 9
Dota 2
LuMiX1
League of Legends
JimRising 513
Counter-Strike
Coldzera 1122
shoxiejesuss539
byalli300
Super Smash Bros
Mew2King29
Heroes of the Storm
Liquid`Hasu428
Khaldor111
Other Games
Grubby3191
FrodaN1104
Beastyqt539
B2W.Neo539
shahzam538
ArmadaUGS109
Trikslyr51
Liquid`Ken8
Organizations
StarCraft 2
ComeBackTV 344
Dota 2
PGL Dota 2 - Main Stream152
Other Games
BasetradeTV66
StarCraft 2
EmSc Tv 18
EmSc2Tv 18
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• HeavenSC 16
• Reevou 7
• Adnapsc2 4
• LaughNgamezSOOP
• sooper7s
• AfreecaTV YouTube
• intothetv
• Migwel
• Kozan
• IndyKCrew
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV562
League of Legends
• TFBlade746
Other Games
• imaqtpie867
• Shiphtur150
Upcoming Events
OSC
2h 43m
The PondCast
12h 43m
KCM Race Survival
12h 43m
WardiTV Team League
14h 43m
OSC
15h 43m
Replay Cast
1d 2h
KCM Race Survival
1d 12h
WardiTV Team League
1d 14h
Korean StarCraft League
2 days
RSL Revival
2 days
Maru vs Zoun
Cure vs ByuN
[ Show More ]
uThermal 2v2 Circuit
2 days
BSL
2 days
RSL Revival
3 days
herO vs MaxPax
Rogue vs TriGGeR
BSL
3 days
Replay Cast
4 days
Replay Cast
4 days
Afreeca Starleague
4 days
Sharp vs Scan
Rain vs Mong
Wardi Open
4 days
Monday Night Weeklies
4 days
Sparkling Tuna Cup
5 days
Afreeca Starleague
5 days
Soulkey vs Ample
JyJ vs sSak
Afreeca Starleague
6 days
hero vs YSC
Larva vs Shine
Liquipedia Results

Completed

Proleague 2026-03-16
WardiTV Winter 2026
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
Jeongseon Sooper Cup
BSL Season 22
CSL Elite League 2026
RSL Revival: Season 4
Nations Cup 2026
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual

Upcoming

ASL Season 21
Acropolis #4 - TS6
2026 Changsha Offline CUP
Acropolis #4
IPSL Spring 2026
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
NationLESS Cup
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
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 © 2026 TLnet. All Rights Reserved.