#77917 - blahh - Tue Apr 04, 2006 2:05 am
Tic Tac Toe DS
[Images not permitted - Click here to view it]
Just a simple game I made to test PALIB and to fool around
with the C lang. Yeah, I know tic tac toe is a dumb kids
game, but its a simple concept and good first game. Great for
siblings/kids or whatever.
It's coded really crappy...i'm still new to C and PA_LIB...but it
works :P
Eventually i might add wifi for testing and whatnot...still have
to get the wifi lib and learn it...
Enjoy though :-]
my site: http://blahh.tk/
downoad it here: (new file host)
http://www.savefile.com/files.php?fid=3932749
thanks :P
EDIT: changed file host
Last edited by blahh on Wed Apr 05, 2006 7:57 pm; edited 5 times in total
#77944 - Slosha - Tue Apr 04, 2006 4:05 am
Looks really nice from that picture. I like the paper backround.... but im guessing the computer will always make the same winning moves all the time and will always do the same thing like if u put "X" in the top corner for one game adn the comp goes "O" in the middle then if u put "X" int eh top again.... the comp will put O int he middle again.....
or this was all a waste of time because it'sa two-player game and u just pass the DS to a friend...... dang im dumb.....
#77956 - tepples - Tue Apr 04, 2006 5:43 am
If you want to play two-player, do it in pictochat.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#77989 - blahh - Tue Apr 04, 2006 12:07 pm
No, theres no CPU player, you play against a friend :P
Like I said, I made it to get better in C and get used to PALIB :-]
#78022 - Darkflame - Tue Apr 04, 2006 6:07 pm
Its pretty pointless to make a CPU player
in a 3x3 game anyway.
Its quite easy to reach a point were the game is purely determained by who goes first, both sides playing perfectly.
#78025 - ?hr - Tue Apr 04, 2006 6:26 pm
theres a tictactoe in lua:
http://haggar.pocketheaven.com/index.php?file=7
your tictactoe looks better :D
#78028 - tepples - Tue Apr 04, 2006 6:47 pm
Try 15x15 tic-tac-toe where you need 5 in a row. That's a bit more challenging.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#78031 - ghazi - Tue Apr 04, 2006 6:55 pm
O- Or a 7x6 version where you need 4 in a row? =)
[Images not permitted - Click here to view it]
#78033 - ?hr - Tue Apr 04, 2006 7:08 pm
#78034 - tepples - Tue Apr 04, 2006 7:11 pm
Go != Gomoku != Go Fish.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#78041 - blahh - Tue Apr 04, 2006 8:22 pm
?hr GmbH wrote: |
...your tictactoe looks better :D |
thanks :-]
#78043 - Sausage Boy - Tue Apr 04, 2006 8:27 pm
Or infinitly (well, graph paper) sized big field where you need 5, known as "vagabond chess" in sweden, though tic-tac-toe is also called that. I own at that. Hmm, maybe I ought to make that for the DS...
_________________
"no offense, but this is the gayest game ever"
#78051 - Darkflame - Tue Apr 04, 2006 9:57 pm
Id quite like Go actualy...
Theres a NES version of it..or maybe even two.
(I think theres a 7-up branded one, believe it or not :p)
Still, codeing a computer player for Go would be quite an extream challenge. Good Go playing is harder then chess.
Brute force isnt nearly so usefull.
#78069 - blahh - Tue Apr 04, 2006 11:27 pm
I really want a wifi lib tutorial, then i'd at least try to add wifi or something...
if anyone knows the wifi lib well, pleease make a tutorial. It would benefit everyone... :D
#78149 - ?hr - Wed Apr 05, 2006 1:46 pm
maybe the blubb developer qw3rty can help you, because he uses the wifilib for his app.
msn: dreamflat@hotmail.com
icq: 157831620
#78268 - ghazi - Thu Apr 06, 2006 8:31 am
Quote: |
Id quite like Go actualy... |
Jandujar made one called DSGo, but it's an old release and could use some tweaking, if I remember correctly. I don't recall whether or not the touchpad even worked.
I do know that I'm terrible at the game, so the computer gave me a tough time! I like an occasional game of Go.