Tic-tac-toe (also known as noughts and crosses or Xs and Os) is a paper-and-pencil game for two players, X and O, who take turns marking the spaces in a 3×3 grid. More information in [Wikipedia] (https://en.wikipedia.org/wiki/Tic-tac-toe).
After release 1.0.0
Coming soon
Coming soon
- Download or clone repository
- Open terminal, go to the folder:
Xs-and-Os-master/src/project/xo/
- Compiling file XO.java:
javac XO.java
- Then, start program with comand:
java XO
- After starting the game you will be given the right to choose the size of the playing field NxN. Field size (N) should not be less than 3, but must not be more than 10.
- Then, you will be prompted to enter the names of the players.
You will be prompted to enter the coordinates for your figure (X and Y).
X - column number
Y - line number
At field NxN, the player who succeeds in placing N of their figures in a horizontal, vertical, or diagonal row wins the game.
- Alexandr ([Alastifer] (https://github.com/Alastifer))
MIT License
Copyright (c) 2016 Alexandr
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.