GithubHelp home page GithubHelp logo

tic-tac-clj's Introduction

tic-tac-clj

My first clojure learning project. A simple client/server tic-tac-toe game.

Instructions:

$ lein run Runs simple server on port 7623 (port number can be specified on command line)

then simply connect to that server as follows: $ telnet localhost 7623

After connection is made, there are a few commands: new : creates a new tic-tac-toe game info: displays the current game board move: a move is specified as follows: move [x y] where x and y are the x and y coordinates of the 3x3 board so if i want to make a move to the center, i would need to issue the command : move [1 1] etc.. quit: doesn't do anything at the moment (to be fixed). You can always quit by issueing a command-c on server. help: displays help.

The order of who goes first is determined at random.

tic-tac-clj's People

Contributors

bass3m avatar

Watchers

James Cloos avatar  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.