Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: LCS for android.  (Read 3088 times)

HavingPhun

  • Bay Watcher
    • View Profile
LCS for android.
« on: March 08, 2013, 03:22:31 pm »

Is this possible?
Logged

SilverDragon

  • Bay Watcher
  • For glory!
    • View Profile
Re: LCS for android.
« Reply #1 on: March 08, 2013, 04:16:24 pm »

I think so, it is a rather small file, and the .exe only takes up a little of the screen, so I think it'd be plausible. :)
Logged
Apparently coding DF is equivalent to slaying hydras.

Jonathan S. Fox

  • Bay Watcher
    • View Profile
    • http://www.jonathansfox.com/
Re: LCS for android.
« Reply #2 on: March 08, 2013, 04:17:54 pm »

Anything's possible, but it wouldn't be easy. The input and display code would need to be rewritten at the very least.
Logged

HavingPhun

  • Bay Watcher
    • View Profile
Re: LCS for android.
« Reply #3 on: March 09, 2013, 03:16:06 pm »

Anything's possible, but it wouldn't be easy. The input and display code would need to be rewritten at the very least.
I am not a master in programming in any way. But can't android run c++ programs? Then change the display and input codes to work on the touchscreens. I know its not that simple.
Logged

Yannanth

  • Guest
.
« Reply #4 on: March 09, 2013, 08:24:21 pm »

.
« Last Edit: November 21, 2016, 04:45:14 pm by Yannanth »
Logged

a1s

  • Bay Watcher
  • Torchlight Venturer
    • View Profile
Re: LCS for android.
« Reply #5 on: March 09, 2013, 11:15:07 pm »

You would need to rewrite the input, not the display (though maybe that too, if curses won't comiple). Instead of the current way of pressing a key, the android LCS will need to respond to you pressing a command on your screen (since they're always printed there anyway, this won't be much of a graphical redesign).
Logged
I tried to play chess but two of my opponents were playing competitive checkers as a third person walked in with Game of Thrones in hand confused cause they thought this was the book club.

HavingPhun

  • Bay Watcher
    • View Profile
Re: LCS for android.
« Reply #6 on: March 10, 2013, 12:16:48 pm »

So if I want to I can try to make an android port? Just download the source code? I have no android experience. I know that I will most likely fail. But I still want to try.
Logged

Alexhans

  • Bay Watcher
  • This is toodamn shortto write something meaningful
    • View Profile
    • Osteopatia y Neurotonia
Re: LCS for android.
« Reply #7 on: March 10, 2013, 11:46:29 pm »

Why not try first compiling ANYTHING for android?  You'll face enough problems then and there.  Check out the android NDK.
Logged
“Eight years was awesome and I was famous and I was powerful" - George W. Bush.

HavingPhun

  • Bay Watcher
    • View Profile
Re: LCS for android.
« Reply #8 on: March 15, 2013, 10:34:29 am »

Anything's possible, but it wouldn't be easy. The input and display code would need to be rewritten at the very least.
I am not a master in programming in any way. But can't android run c++ programs? Then change the display and input codes to work on the touchscreens. I know its not that simple.
That would mean rewriting the display system from scratch, pretty much. Curses can probably compile under Android (it's ANSI C as far as I know) but consider the player, having to open up their keyboard all the time and fiddle with the weird D-pads that you scroll your thumb over or whatever... it would just feel wrong.

std::cin doesn't work for the mobile form factor, simple as that.
Couldn't I make a ui? It would look much different but could work good. The d pad could be wierd. Or just have arrow keys for direction and use the touch screen for the rest.

Why not try first compiling ANYTHING for android?  You'll face enough problems then and there.  Check out the android NDK.
I will try to make other things first. Since its more work than someone who knows nothing about android programming can do easily. I hope that curses will compile for android. But I think it could be very playable using the touch screen and a new ui. Thats another thing I would have to learn. Thank you all though for the responses. Just to make sure: So I can download the source and use it. But whatever version I make has to open source and free correct? I have no problems with that.
Logged

Soadreqm

  • Bay Watcher
  • I'm okay with this. I'm okay with a lot of things.
    • View Profile
Re: LCS for android.
« Reply #9 on: March 20, 2013, 04:24:55 pm »

So if I want to I can try to make an android port? Just download the source code? I have no android experience. I know that I will most likely fail. But I still want to try.

It's licensed under the GPL, which I think basically says that you can do whatever as long as you keep the source code open and also license any derivative works you release under the GPL. You might want to read the license yourself at some point, but I'm pretty sure you're allowed to make all the ports you want.
Logged