Code Monkey home page Code Monkey logo

tick.tack.tow's Introduction

tick.tack.tow

a basic command line game for tic-tac-toe written in C. I should warn you though, the Wumpus you'll face knows his stuff.

It's rather simple, you already know the rules: make 3 Xs in a row or lose trying.

The accompanying executable should work on any x86_64 based linux (compiled on ubuntu 22.04) but the program is cross platform. To compile using gcc:

gcc tick_tack.c -o tick_tack

Then run with

./tick_tack

or, for Windows:

tick_tack.exe

The prompts are straightforward, enter a letter for a setting,, or it chooses a default. Of course, I wouldn't recommend playing any difficulty less than hard (except for my more juvenile audience far less than 10). Use keys 1 - 9 to select the squares, counting from top left (so that 3 means top right).

I should say though, playing hard difficulty and letting Wumpus the Wise go first is the only way it can be worth your while (cause tic-tac-toe).

tick.tack.tow's People

Contributors

notkingsley avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.