07/05/2009, 08:41 PM
|
|
|
Member
![]() ![]() Join Date: Jun 2009
Location: Chicago
Posts: 316
Likes: 0
Thanks: 32
Thanked 166 Times in 26 Posts
|
Here is my tic tac toe program
New Features in 1.6: Rewritten from scratch Removed Two Player Added Single Player Fixed "cheating" Added score keeper Faster reset time todo: (anyone wanna give me advice?) new graphics reset score incorporate mojo more notes: the way I named the app in 1.6 makes webos install it as a separate app. you can choose whether or not to uninstall 1.0 1.0: Two player tic tac toe This is my first program ever! I started to teach myself to program once I got my Pre, and god is it easy. If it wasn't I wouldnt be releasing this with only 5 hours or so of work. The game isn't perfect. But it does the basics. Please report problems and I will try to get them fix. Also, I am open to suggestions on the next game to develop. Make it simple. If any assistance is need installing I can help, but in 1.04 you need to use the sdk. until next time, kmax12 Last edited by Milominderbinder; 08/09/2009 at 06:01 PM. Reason: correct my error-sorry |
|
Thanked by
chux72vette, cmucooper, colona, DJFireman, einnyen, eisnerguy1, HeartofaKing, hrdcamjc, jon96321, kmehr, neeranat, PapaDocta, pogeypre, Shane112358, Testimony179, tman9476
|
07/05/2009, 09:14 PM
|
|
|
Member
![]() ![]() Join Date: Jun 2009
Location: Chicago
Posts: 316
Likes: 0
Thanks: 32
Thanked 166 Times in 26 Posts
|
It will delete as much as other apps do. However I think all apps, even app cat ones, will leave some files on the phone. This app is tiny (11.2kb) so you don't have to worry.
|
|
|
07/05/2009, 09:19 PM
|
#10 (permalink) |
|
Member
![]() Join Date: Sep 2008
Location: Naval Station Norfolk
Posts: 211
Likes: 0
Thanks: 6
Thanked 11 Times in 8 Posts
|
how long would that take... not tryin to rush you just wondering.... still for how short of a time it took you to make the app its pretty bad ***. what tutorials did you study
|
|
|
07/05/2009, 09:24 PM
|
#12 (permalink) |
|
Member
![]() Join Date: Jan 2005
Location: Southern California
Posts: 645
Likes: 0
Thanks: 126
Thanked 43 Times in 22 Posts
|
Can you send me that tutorial as well.. I'd love to learn how to do some programing..
__________________
Remember, this is my opinion ! We all have a right to our own..... Treo's 650-800..NOW, Palm Pre
|
|
|
07/05/2009, 09:24 PM
|
|
|
|
Member
![]() ![]() Join Date: Jun 2009
Location: Chicago
Posts: 316
Likes: 0
Thanks: 32
Thanked 166 Times in 26 Posts
|
Quote:
Java script tutorial for the total non-programmer also it helped that I already new HTML. I think I can have it done tomorrow night or the day after. I am in summer school biology so I gotta do the work I have been putting off all weekend. Also, I am looking for some nice graphics for my next version, if anyone wants to contribute. |
|
|
Thanked By:
davenukem
|
07/05/2009, 09:27 PM
|
|
|
Member
![]() ![]() Join Date: Jun 2009
Location: Chicago
Posts: 316
Likes: 0
Thanks: 32
Thanked 166 Times in 26 Posts
|
another important thing is that I use notepad++ to write my code in.
if anyone wants any specific advice pm me and I can give you my facebook or aim screenname so we could instant message. |
|
|
07/05/2009, 10:32 PM
|
|
|
Member
![]() ![]() Join Date: Jun 2009
Location: Chicago
Posts: 316
Likes: 0
Thanks: 32
Thanked 166 Times in 26 Posts
|
So, I am stumped. I am trying to write the AI for the next version of tic tac toe and I cant figure out how the AI should choose its move. More specifically, how can the AI identify the human player has two out of three in a row and make its next move to block it. If anyone can help me out with Ideas id be happy to send them the code.
I am kind of a noob when it comes to programing so I am not the best problem solver yet. thanks in advance. |
|
|
07/05/2009, 11:07 PM
|
|
|
Member
![]() ![]() Join Date: Jun 2009
Location: Chicago
Posts: 316
Likes: 0
Thanks: 32
Thanked 166 Times in 26 Posts
|
I figured I woudn't get any feedback so I went along and did it brute force. The AI checks every way to win the game, every turn.
Before I release I am gonna look at the switch function to try and accomplish my goal (my brother just told me about this as I type this reply) |
|
|
07/06/2009, 01:19 AM
|
|
|
Member
![]() ![]() Join Date: Jun 2009
Location: Chicago
Posts: 316
Likes: 0
Thanks: 32
Thanked 166 Times in 26 Posts
|
just an update on the next release...
After 265 lines of code, I have a working AI! Now, maybe I'll make the AI a little smarter/make mistakes so the game is more enjoyable. Then I will add in recognition for when the game is finished. Oh and I can't forget to add back in two player mode. Is there even interest in two player mode??? Does anyone know how I could do multiplayer(ie two pres playing or a pre and webpage)?? Well, good night. ugh biology for 6 hours tomorrow I love my pre
Last edited by kmax12; 07/06/2009 at 01:28 AM. |
|
|
















I love my pre
Linear Mode








