User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17

Thread: Undefeated Toe

  1. #1
    Admiral Zim's Avatar
    Join Date
    Oct 2012
    Posts
    388
    Mentioned
    9 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    1,702
    Level
    13
    vBActivity - Bars
    Lv. Percent
    83.73%

    Undefeated Toe

    This is non-beatable Tic-Tac-Toe A.I. at it's annoyingly useless best.

    I'm starting on writing it now, I'll be done in a few minutes to an hour probably.

    Edit: Due to slight rustyness with ZScript and an uncooperative ZC build this is going to take a few more hours.
    Last edited by Zim; 05-29-2014 at 05:27 PM.

  2. #2
    The Time-Loop Continues ZC Developer
    Gleeok's Avatar
    Join Date
    Apr 2007
    Posts
    4,826
    Mentioned
    259 Post(s)
    Tagged
    10 Thread(s)
    vBActivity - Stats
    Points
    12,958
    Level
    33
    vBActivity - Bars
    Lv. Percent
    26.17%
    Heh. Will you add in the ability to specify any arbitrary sized board as well? Also just curious, but how are you doing the AI? I'd imagine it would check for moves based on priority? ie;
    -check win move
    -check block move
    -check move that creates the greatest threat
    -check centers(s)
    This post contains the official Gleeok seal of approval. Look for these and other posts in an area near you.

  3. #3
    Admiral Zim's Avatar
    Join Date
    Oct 2012
    Posts
    388
    Mentioned
    9 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    1,702
    Level
    13
    vBActivity - Bars
    Lv. Percent
    83.73%
    Yes, I will add in a board variation scripting later... That made me think of other things like methods of using other things on screen to play the game with like lighting torches or pushing magic prisms or something. The comp is done, it always wins or cattail draw, never fails...
    In fact, there is no win counter at all, only a loss counter. Press R to reset the board.

    The auto-scaling board is almost done, just need to figure out what to do about the drawing the X's and Os.. Probably use draw functions for that too instead of tiling, it looks nice so far.

    I'll have it posted tomorrow, it's dinner time and I gotta go.
    Last edited by Zim; 05-29-2014 at 10:14 PM.

  4. #4
    Admiral Zim's Avatar
    Join Date
    Oct 2012
    Posts
    388
    Mentioned
    9 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    1,702
    Level
    13
    vBActivity - Bars
    Lv. Percent
    83.73%
    Alright!
    Someone challenge the Toe!
    https://onedrive.live.com/embed?cid=...HlhBzCnfGyhcIY

    Edit: This version IS actually beatable, the one in the post below this one ISN'T.
    Last edited by Zim; 05-30-2014 at 05:07 PM.

  5. #5
    Super Marxio Brother GrantGreif's Avatar
    Join Date
    Sep 2013
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    3 Thread(s)
    vBActivity - Stats
    Points
    556
    Level
    8
    vBActivity - Bars
    Lv. Percent
    42.15%
    I won. It still counted it as a loss, even though the computer goes after you
    Last edited by GrantGreif; 05-30-2014 at 04:23 PM.

  6. #6
    Admiral Zim's Avatar
    Join Date
    Oct 2012
    Posts
    388
    Mentioned
    9 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    1,702
    Level
    13
    vBActivity - Bars
    Lv. Percent
    83.73%
    Quote Originally Posted by GrantGreif View Post
    I won.
    *gasp*


  7. #7
    Super Marxio Brother GrantGreif's Avatar
    Join Date
    Sep 2013
    Posts
    46
    Mentioned
    0 Post(s)
    Tagged
    3 Thread(s)
    vBActivity - Stats
    Points
    556
    Level
    8
    vBActivity - Bars
    Lv. Percent
    42.15%
    Middle, bottom right, top right, middle right

  8. #8
    Admiral Zim's Avatar
    Join Date
    Oct 2012
    Posts
    388
    Mentioned
    9 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    1,702
    Level
    13
    vBActivity - Bars
    Lv. Percent
    83.73%
    Quote Originally Posted by GrantGreif View Post
    Middle, bottom right, top right, middle right
    Hmm... Back to the drawing board!
    Last edited by Zim; 05-30-2014 at 04:36 PM.

  9. #9
    Admiral Zim's Avatar
    Join Date
    Oct 2012
    Posts
    388
    Mentioned
    9 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    1,702
    Level
    13
    vBActivity - Bars
    Lv. Percent
    83.73%
    Okay, okay, the randomness of the AI's move on that one makes that possible. I had a feeling that that was going to happen yesterday when I finished it's script, and didn't take time to fully beta test it.
    This one that's already posted will have to be reduced to 1/3 chance of possibly winning with the right strategy but otherwise non-defeatable tic-tac-toe.

    I'm going to fix that and make an actually non-beatable version.
    This one is really good for a rupee or item racking guy or something since it's slight possibility that someone can win.

  10. #10
    Admiral Zim's Avatar
    Join Date
    Oct 2012
    Posts
    388
    Mentioned
    9 Post(s)
    Tagged
    2 Thread(s)
    vBActivity - Stats
    Points
    1,702
    Level
    13
    vBActivity - Bars
    Lv. Percent
    83.73%
    https://onedrive.live.com/embed?cid=...EzufvC569kjz84

    Here is a new version featuring slightly more randomness and advanced preemptive defense.

    Thanks for testing that out Grant, I am fairly certain that is the only strategy I didn't account for in the scripting.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Armageddon Games is a game development group founded in 1997. We are extremely passionate about our work and our inspirations are mostly drawn from games of the 8-bit and 16-bit era.
Social