iphone game: tic-tac-whoa

Discussion in 'Jailbreaks and iOS Hacks' started by cmaier, Jul 25, 2007.

  1. cmaier macrumors G3

    Joined:
    Jul 25, 2007
    Location:
    California
    #1
    Might be good for a few chuckles. It's like tic-tac-toe, but stuff appears in the boxes which causes various things to happen.

    http://www.tictacwhoa.com
     
  2. cmaier thread starter macrumors G3

    Joined:
    Jul 25, 2007
    Location:
    California
    #3
    Thanks!

    I originally wrote it for Pocket PC in 1997, then again for Palm in 2000. I figured I needed it for my iphone as well :)

    I'm working on vegas solitaire now (i don't like the scoring in the others) and then texas hold 'em.
     
  3. bdj21ya macrumors 6502a

    bdj21ya

    Joined:
    Sep 13, 2006
    #4
    Could use a little tweaking (esp. where it erases the cell borders at times) but a pretty fun variation on what would otherwise be a pretty stupid game. Good work!:)
     
  4. cmaier thread starter macrumors G3

    Joined:
    Jul 25, 2007
    Location:
    California
    #5
    Are you playing on iphone? I've only seen it doing the border-erase stuff on firefox.
     
  5. billchase2 macrumors 68000

    billchase2

    Joined:
    Feb 28, 2006
    Location:
    Ann Arbor
  6. cmaier thread starter macrumors G3

    Joined:
    Jul 25, 2007
    Location:
    California
    #7
    Thanks. I'm almost done with my solitaire game, at which point i've decided i'll take requests for the next project.
     
  7. jecapaga macrumors 601

    jecapaga

    Joined:
    Jul 1, 2007
    Location:
    Southern California
    #8
    texas hold 'em would be nice.

     
  8. cmaier thread starter macrumors G3

    Joined:
    Jul 25, 2007
    Location:
    California
    #9
    Leaning toward that. Just to throw some more suggestions out there:

    - hearts
    - spades
    - blackjack
    - trek (this is an ancient game based on star trek - you warp from square to square, then attack klingons with phasers and photon torpedos and stuff). I've written this one in the past for palm and pocket pc
    - bowling (i have an idea of how to make this work on iphone, but not sure it'll work).
    - a game similar to alchemy (sort of like dominoes, i guess, but more complicated)
     
  9. Virtualball macrumors 6502

    Joined:
    Jun 5, 2006
    #10
    Ooh...Ooh...trek! I don't like Star Trek AT ALL but my dad is a freak about it and owns the arcade game of what you're talking about :)
     
  10. cmaier thread starter macrumors G3

    Joined:
    Jul 25, 2007
    Location:
    California
    #11
    There was an arcade version? I never heard of it. Have a link to a reference about it or something? I'm curious if it's the same thing - the one I know about would be not very arcade-ish.
     
  11. cmaier thread starter macrumors G3

    Joined:
    Jul 25, 2007
    Location:
    California
    #12
    http://en.wikipedia.org/wiki/Star_Trek_(text_game)

    Above is a link to the wikipedia page for the game I'm talking about. The version I wrote for palm and pocket pc is more graphical, uses a GUI instead of text commands, and allows you to earn points to upgrade your ship between rounds (the enemy also upgrades between levels).
     
  12. iLes macrumors member

    Joined:
    Jul 25, 2007
    Location:
    Sunrise, Florida
    #13
    I vote for Star Trek

    Star Trek would be my choice. In fact, it was going to be my first jScript/web game but I decided to try something a little more simpler and thus iBots was born. I'm still going to toy around with a Star Trek-type game but not sure how to fit it within the iPhone display. Probably landscape would be the best way to present it with the right half of the screen showing the stats.

    - Les
     
  13. cmaier thread starter macrumors G3

    Joined:
    Jul 25, 2007
    Location:
    California
    #14

    Okay, star trek it is. I've had a lot of experience fitting it onto a small display, so the giant iphone display will be cake :)

    Now i just have to decide how much logic to put on the client and how much to put on the server; i like to keep everything on the client to avoid people having to have continuous network connectivity, but I'm not sure I can save game state using cookies (max is probably 4KB per cookie? maybe it will work. I'll have to encode carefully.)

    In a couple of weeks I should have it together enough for beta testers to begin playing around with it, I would guess. Main challenge would be drawing phaser blasts using javascript, i would think.
     
  14. cmaier thread starter macrumors G3

    Joined:
    Jul 25, 2007
    Location:
    California
    #15
    Trek progress

    I'm making great progress on trek. In the process, however, I discovered that iphone-safari is very picky about tables and how they interact with scrolling. It even caused the browser to crash sometimes.

    <div>'s are definitely the way to go :)

    Anyway, tonight i'm going to play around with save/load (to cookies - again, trying to avoid a cgi back end on it) - that's probably the only remaining unknown. I've kept the datastructures such that no one chunk should be more than 4kB, and, if need be, they can be compressed.

    Probably still on track for alpha testers in a couple weeks.
     
  15. iLes macrumors member

    Joined:
    Jul 25, 2007
    Location:
    Sunrise, Florida
    #16
    Cool stuff. I've been toying around with it myself but just can't seem to get the layout right. How are you handling inputing of commands? I was going to use buttons across the top of the most useful commands so it would be easy and quick to access them on the iPhone.

    Also, I'm guessing you're making it graphical, yes? Or were you going with a "classic" text type display? If graphical, what are you using for the different objects? And I'm guessing your layout will be landscape?

    I'm anxious to see it.

    - Les
     
  16. cmaier thread starter macrumors G3

    Joined:
    Jul 25, 2007
    Location:
    California
    #17
    I'm doing it portrait (though, after it all gets working, handling rotation should be easy). It's graphical. Commands are done through buttons and touching the "grid." The buttons change depending on context. (for example, if you highlight an empty space you can "move" whereas when you touch an enemy ship you can "fire."

    I'll leave the rest as a surprise :)

    (I'm learning quite a bit about safari-iphone's cookie handling right now. grrr.)
     
  17. iLes macrumors member

    Joined:
    Jul 25, 2007
    Location:
    Sunrise, Florida
    #18
    Sounds good!

    I was approaching it much the same way - button & grid control. It's really the only way to do it on the iPhone.

    Can't wait to see it.

    - Les
     
  18. cmaier thread starter macrumors G3

    Joined:
    Jul 25, 2007
    Location:
    California
    #19
    in a few days i'll put up a pre-alpha so people can comment on the interface and controls. i got the save/load stuff working, so now it should be smooth sailing. (other than the fact that safari is a bit quirky with certain css when combined with scrollTo - i keep running into that.)
     
  19. wrobison macrumors newbie

    Joined:
    Oct 8, 2007
    #20
    Maybe it's just me...

    ... but I can't completely follow the rules to tic tac whoa. Frankly I think the I cheats at times. In a few games it placed two Os before I ever got a turn...
     
  20. wrobison macrumors newbie

    Joined:
    Oct 8, 2007
    #21
    Anyway...

    ... are the rules written down anywhere?
     

Share This Page