BATCH TIC-TAC-TOE BETA

Introduction: BATCH TIC-TAC-TOE BETA

This is a beta of a tic-tac-toe game i made in batch script.

I am working on making the computer player smarter and more likely to win so this beta version, just has the computer player picking spots at random.

You can use this as a base for a tic-tac-toe game you might be programming.

Please comment if you find any glitches/errors/problems in/with the game.

Please comment if you have any ideas on how to improve this game.

HOW TO DOWNLOAD:

1.RIGHT CLICK tic - COPY.bat

2.CLICK SAVE LINK AS

3.SAVE IT

4.OPEN IT

V1.1 BETA UPADTE:

.Fixed mistype which caused errors in certain wins.

.Fix problem which made the game not recognize certain wins.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Be the First to Share

    Recommendations

    • Trash to Treasure Contest

      Trash to Treasure Contest
    • Raspberry Pi Contest 2020

      Raspberry Pi Contest 2020
    • Wearables Contest

      Wearables Contest

    6 Discussions

    0
    tomatoskins
    tomatoskins

    5 years ago on Introduction

    Ha this is great! I love old batch script files. So geeky and awesome! I'm excited to see more from you in the future.

    0
    I_boom5245
    I_boom5245

    3 years ago

    Did you use the "CHOICE" command in this game? If you did, can you show me how? I have tried like a million ways and times . . . .

    0
    KyLeCo0L
    KyLeCo0L

    Reply 7 months ago

    Open cmd, type choice /?. Then follow the instructions. For example:
    @echo off
    Choice /c 1234 /n /m "Press 1, 2, 3."
    If %errorlevel% EQU 0 goto pressed1
    If %errorlevel% EQU 1 goto pressed2
    If %errorlevel% EQU 2 goto pressed3
    :pressed1
    Echo You Pressed 1.
    Pause >nul
    Exit /b
    ;pressed2
    Echo You Pressed 2.
    Pause >nul
    Exit /b
    ;pressed3
    Echo You Pressed 3.
    Pause >nul
    Exit /b

    0
    ismartroman
    ismartroman

    Reply 4 years ago on Introduction

    Never mind, i figured it out in like, 2 seconds