Sinisterly
[OpenSource] iGreed 2 (iOS strategy game) - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: C, C++, & Obj-C (https://sinister.ly/Forum-C-C-Obj-C)
+--- Thread: [OpenSource] iGreed 2 (iOS strategy game) (/Thread-OpenSource-iGreed-2-iOS-strategy-game)



[OpenSource] iGreed 2 (iOS strategy game) - phyrrus9 - 02-11-2018

So, last night I decided to make an open source iOS strategy game very closely resembling the old Linux game Greed. If you have an iPhone (or an iOS simulator), go pull down my code and play it, it's addictive.

Here are some screenshots (from iOS simulator) taken during gameplay:

Instructions
Spoiler:
[Image: kZ3AAXE.png]

Game board
Spoiler:
[Image: A6wcnEm.png]

Cheat mode activated (shows possible moves)
Spoiler:
[Image: ufogBPq.png]

Partial game play
Spoiler:
[Image: KKFI1lI.png]

Moment I realized I fucked up

High score button appears in red when no moves are left
Spoiler:
[Image: BjOst7z.png]

Entering name for high scores
Spoiler:
[Image: XTgvhp1.png]

Score leaderboard
Spoiler:
[Image: UVaR8l1.png]


Please let me know what you think. Do you like it? Have you played the original game? Have any input on what I should change or add?

Source code can be found at https://github.com/phyrrus9/iGreed2


RE: [OpenSource] iGreed 2 (iOS strategy game) - Blink - 02-11-2018

Pretty neat. It might be nice to have the numbers rendered in a grid or something to make it look a bit nicer... Actually, the UI in general could be a bit more polished.

If this ever gets published, Game Center support for high scores would be nice.


RE: [OpenSource] iGreed 2 (iOS strategy game) - phyrrus9 - 02-11-2018

(02-11-2018, 10:17 AM)Ender Wrote: Pretty neat. It might be nice to have the numbers rendered in a grid or something to make it look a bit nicer... Actually, the UI in general could be a bit more polished.

If this ever gets published, Game Center support for high scores would be nice.

How do you mean rendered in a grid? It's currently rendered in a text view with a fixed width font and careful control over the size to simulate it being rendered on a console screen like the original game was.

UI is a prototype, and im very open to suggestions

Game center is actually something I considered doing, but wasn't sure if it was practical. Do people even use game center? Does it matter that every level is different (they're random), etc...


RE: [OpenSource] iGreed 2 (iOS strategy game) - Nil - 02-12-2018

That code was too much for my late-night brain to process. Looks kinda fun, though.


RE: [OpenSource] iGreed 2 (iOS strategy game) - Blink - 02-12-2018

(02-11-2018, 09:47 PM)phyrrus9 Wrote:
(02-11-2018, 10:17 AM)Ender Wrote: Pretty neat.  It might be nice to have the numbers rendered in a grid or something to make it look a bit nicer... Actually, the UI in general could be a bit more polished.

If this ever gets published, Game Center support for high scores would be nice.

How do you mean rendered in a grid? It's currently rendered in a text view with a fixed width font and careful control over the size to simulate it being rendered on a console screen like the original game was.

UI is a prototype, and im very open to suggestions

Game center is actually something I considered doing, but wasn't sure if it was practical. Do people even use game center? Does it matter that every level is different (they're random), etc...

1. Grids look nicer than a console look (if you want to be a mobile app, be one... if you want to be a terminal program, then do it... but choose one). I mean like have one number per square in a grid
2. I'm not sure what to say in specific aside from that it's not great. I guess that was useless though.
3. Yes, and yes


RE: [OpenSource] iGreed 2 (iOS strategy game) - phyrrus9 - 02-24-2018

(02-12-2018, 07:25 AM)Ender Wrote: 1. Grids look nicer than a console look (if you want to be a mobile app, be one... if you want to be a terminal program, then do it... but choose one). I mean like have one number per square in a grid
I don't see how a grid would look any different. It's a fixed font that's always aligned. It's a grid save for the lines that separate the cells, there just simply isn't the screen resolution for that, game play would be seriously impacted if those were added. the original iGreed had that issue.

(02-12-2018, 07:25 AM)Ender Wrote: 2. I'm not sure what to say in specific aside from that it's not great. I guess that was useless though.

The UI isn't the point, it's just a basic control system. I stuck with the game pad like controls because in the original I used gestures and my god those were so terrible I refused to even test the app.

(02-12-2018, 07:25 AM)Ender Wrote: 3. Yes, and yes

Noted.


RE: [OpenSource] iGreed 2 (iOS strategy game) - Blink - 02-24-2018

(02-24-2018, 10:14 PM)phyrrus9 Wrote:
(02-12-2018, 07:25 AM)Ender Wrote: 1. Grids look nicer than a console look (if you want to be a mobile app, be one... if you want to be a terminal program, then do it... but choose one).  I mean like have one number per square in a grid
I don't see how a grid would look any different. It's a fixed font that's always aligned. It's a grid save for the lines that separate the cells, there just simply isn't the screen resolution for that, game play would be seriously impacted if those were added. the original iGreed had that issue.

(02-12-2018, 07:25 AM)Ender Wrote: 2. I'm not sure what to say in specific aside from that it's not great.  I guess that was useless though.

The UI isn't the point, it's just a basic control system. I stuck with the game pad like controls because in the original I used gestures and my god those were so terrible I refused to even test the app.

Looking back at it now, I don't see how a grid would fit, but I'm gonna suggest using a different color scheme.

The controls are fine, maybe replace the letters with arrows. (Especially since not all of us use QWERTY)
The instruction page colors are terrible though.


RE: [OpenSource] iGreed 2 (iOS strategy game) - phyrrus9 - 02-24-2018

(02-24-2018, 11:37 PM)Ender Wrote:
(02-24-2018, 10:14 PM)phyrrus9 Wrote:
(02-12-2018, 07:25 AM)Ender Wrote: 1. Grids look nicer than a console look (if you want to be a mobile app, be one... if you want to be a terminal program, then do it... but choose one).  I mean like have one number per square in a grid
I don't see how a grid would look any different. It's a fixed font that's always aligned. It's a grid save for the lines that separate the cells, there just simply isn't the screen resolution for that, game play would be seriously impacted if those were added. the original iGreed had that issue.

(02-12-2018, 07:25 AM)Ender Wrote: 2. I'm not sure what to say in specific aside from that it's not great.  I guess that was useless though.

The UI isn't the point, it's just a basic control system. I stuck with the game pad like controls because in the original I used gestures and my god those were so terrible I refused to even test the app.

Looking back at it now, I don't see how a grid would fit, but I'm gonna suggest using a different color scheme.

The controls are fine, maybe replace the letters with arrows. (Especially since not all of us use QWERTY)
The instruction page colors are terrible though.

What color scheme would you suggest?

The controls aren't keyboard dependent, they're cardinal directions (N=north, NE=north east, etc).


RE: [OpenSource] iGreed 2 (iOS strategy game) - Blink - 02-24-2018

(02-24-2018, 11:45 PM)phyrrus9 Wrote:
(02-24-2018, 11:37 PM)Ender Wrote:
(02-24-2018, 10:14 PM)phyrrus9 Wrote: I don't see how a grid would look any different. It's a fixed font that's always aligned. It's a grid save for the lines that separate the cells, there just simply isn't the screen resolution for that, game play would be seriously impacted if those were added. the original iGreed had that issue.


The UI isn't the point, it's just a basic control system. I stuck with the game pad like controls because in the original I used gestures and my god those were so terrible I refused to even test the app.

Looking back at it now, I don't see how a grid would fit, but I'm gonna suggest using a different color scheme.

The controls are fine, maybe replace the letters with arrows. (Especially since not all of us use QWERTY)
The instruction page colors are terrible though.

What color scheme would you suggest?

The controls aren't keyboard dependent, they're cardinal directions (N=north, NE=north east, etc).

Something that doesn't need a black background. Even grey works.

I see... Arrows are still nicer