8i8 / tictactoe

TicTacToe in the terminal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ticTacToe

A small game built with c for the terminal, I have used c's pointers to design the large glyphs and board as an exercise in passing arrays as pointers, mapping one array into another.

 _   _     _____         _____
| |_(_) __|_   _|_ _  __|_   _|__   ___
| __| |/ __|| |/ _` |/ __|| |/ _ \ / _ \
| |_| | (__ | | (_| | (__ | | (_) |  __/
 \__|_|\___||_|\__,_|\___||_|\___/ \___|


         a     _    b     _    c
              | | __  __ | |  ___
              | | \ \/ / | | / _ \
  1           | |  >  <  | || (_) |
              | | /_/\_\ | | \___/
      ________| |________| |________
     |________   ________   ________|
              | |  ___   | | __  __
              | | / _ \  | | \ \/ /
  2           | || (_) | | |  >  <
              | | \___/  | | /_/\_\
      ________| |________| |________
     |________   ________   ________|     __
              | | __  __ | |  ___        |  |
              | | \ \/ / | | / _ \       |  |
  3           | |  >  <  | || (_) |      |  |
              | | /_/\_\ | | \___/       |  |
              |_|        |_|             |  |   __
                                          P1    P2


It is your move ...

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

About

TicTacToe in the terminal


Languages

Language:C 97.5%Language:Makefile 2.5%