Skip to content

Attempt to make a high-performance simulation of tic-tac-toe using relatively low-level technology (C language was chosen πŸ’€)

License

Notifications You must be signed in to change notification settings

nasccped/tic-tac-low

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Tic Tac Low

Attempt to make a high-performance simulation of tic-tac-toe using relatively low-level technology (C language was chosen πŸ’€)!

How to Use?

First things first, you'll need to check some:

Requirements

  • gcc πŸ€–

    This will compile the C files on which the program was built

  • make 🐐

    Compile-like tool needed to run Makefiles found within the project

  • git 🏷️

    One of the most famous version control system. Needed to run git clone ...

  • IDE πŸ–₯️ (optional)

    Some software that can handle source files, directory-tree and output terminal simultaneously. You can also run all commands / program at your own terminal (optional, of course)

Step by Step

  1. Clone the remote repository πŸ“¦
  • Use git commands inside terminal to clone this repo:
git clone https://github.com/nasccped/tic-tac-low
  1. Enter the new folder πŸšͺ
  • If you're still on terminal, just type:
cd ./tic-tac-toe
  • If you prefer to use some IDE, type:
# enters the folder
cd ./tic-tac-toe

# open current dir within IDE by command
# 'code .' if using vs code
# 'nvim .' if using neovim
# etc...
#
# you can also open the project folder by search inside IDE
  1. Have fun!
  • The program isn't ready to be runned. You can type:
make clean
make build
make run
# the commands above will instantly compile and run the program
# but, you can also just use:

make
# this will display some guide content. We have a `make help` too.
# isn't soo important but it can help you through a bug behaviour!

Warning

Unfortunately, the make clean command does not work with GNU Make for Windows OS.

I don't know exactly why. Maybe I'll fix this soon, but it's not a fatal bug :^D


Also, the GitHub repository is the same for both operating systems (Windows/Unix), but for some reason, when playing against a bot, it may make wrong moves (Windows only). This won't be fixed

About

Attempt to make a high-performance simulation of tic-tac-toe using relatively low-level technology (C language was chosen πŸ’€)

Topics

Resources

License

Stars

Watchers

Forks